Think about Loose Coupling | |
PerlMonks |
Re^5: GLOB reference problemby almut (Canon) |
on Oct 05, 2009 at 12:30 UTC ( [id://799239]=note: print w/replies, xml ) | Need Help?? |
Net::FTP's constructor calls IO::Socket::INET, which calls IO::Socket, which in turn calls IO::Handle. And IO::Handle uses gensym to create the glob. In other words, if you wanted to fake a (totally functionless!) object of same type, you could try:
In Section
Seekers of Perl Wisdom
|
|