Re: problams with IO::Socket::INET
Mark Mielke (markm@nortel.ca)
28 Jan 1998 10:05 EST
In message "Re: problams with IO::Socket::INET",
'tchrist@jhereg.perl.com' writes:
>This:
> print STDERR "stuff\n";
>is *not* a method call, and cannot be coerced to be such.
This is not so obvious to the user who sees that if they say:
use FileHandle;
STDERR->print("stuff\n");
It does the same thing.
The fact that FileHandle (used to anywayz?) implemented print() in terms of
print() is completely unknown to the user. (In fact my first assumption the
first time i saw it was YES they finally moved filehandles into proper first
class objects.... and then later "ohhh... that sucks" hehe)
mark
-- _________________________
. . _ ._ . . .__ . . ._. .__ . . . .__ | Northern Telecom Ltd. |
|\/| |_| |_| |/ |_ |\/| | |_ | |/ |_ | Box 3511, Station 'C' |
| | | | | \ | \ |__ . | | .|. |__ |__ | \ |__ | Ottawa, ON K1Y 4H7 |
markm@nortel.ca / al278@freenet.carleton.ca |_______________________|