in reply to call a method which print to a handle

if i try print $socket $obj->present i get the good message but on STDOUT
Your present method should just return the data rather than printing it out itself, ie both present() and the thing calling it are trying to do a print.

Dave.

  • Comment on Re: call a method which print to a handle

Replies are listed 'Best First'.
Re^2: call a method which print to a handle
by Ang-st (Novice) on Mar 23, 2005 at 22:43 UTC
    Thanks a lot Dave :-)