B
bill
If I try STDOUT->foo("bar") in the debugger I get:
DB<1> STDOUT->foo("bar")
Can't locate object method "foo" via package "IO::Handle" (perhaps you forgot to load "IO::Handle"?) at (eval 25)[/usr/share/perl/5.6.1/perl5db.pl:1521] line 2.
....but
DB<2> p ref STDOUT
DB<3> p ref *STDOUT
DB<4>
How come Perl treats STDOUT as an IO::Handle object in <1>, but
ref does not report any class in <2> or <3>?
TIA,
-bill
DB<1> STDOUT->foo("bar")
Can't locate object method "foo" via package "IO::Handle" (perhaps you forgot to load "IO::Handle"?) at (eval 25)[/usr/share/perl/5.6.1/perl5db.pl:1521] line 2.
....but
DB<2> p ref STDOUT
DB<3> p ref *STDOUT
DB<4>
How come Perl treats STDOUT as an IO::Handle object in <1>, but
ref does not report any class in <2> or <3>?
TIA,
-bill