in reply to call a method which print to a handle

or pass the handle to your methods:
sub present { my $class = shift; my $socket = shift; print $socket $class->head, "\n"; } ... $obj->present ($socket);


holli, /regexed monk/