X-Git-Url: http://dxcluster.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=perl%2FMsg.pm;h=52f0efd477aefbee6d622f0c708d92875b31eeca;hb=bb0a21bec37d41fe3ac70e173b70cc685155b8b6;hp=dcc3c812d1ac77763c3e41bd47439a17a4589885;hpb=6e858487b4db7054748d3d82830249bb134265b4;p=spider.git diff --git a/perl/Msg.pm b/perl/Msg.pm index dcc3c812..52f0efd4 100644 --- a/perl/Msg.pm +++ b/perl/Msg.pm @@ -466,6 +466,12 @@ sub set_event_handler dbg("Msg::set_event_handler called from ${pkg}::${fn} line $line doing $s"); } +sub echo +{ + my $conn = shift; + return defined $_[0] ? $conn->{echo} = $_[0] : $_[0]; +} + sub DESTROY { my $conn = shift;