|
|
| Welcome to the Monastery | |
| PerlMonks |
Re: How do I close a pipeby f00li5h (Chaplain) |
| on Dec 14, 2008 at 04:58 UTC ( #730250=note: print w/ replies, xml ) | Need Help?? |
|
open (TELNET, '-|', "telnet 192.168.1.1 6088"); close FH; These refer to different file handles. If you use lexical file handles (open my $telnet, ...) your file handle will be closed by magic when it drops out of scope
@_=qw; ask f00li5h to appear and remain for a moment of pretend better than a lifetime;;s;;@_[map hex,split'',B204316D8C2A4516DE];;y/05/os/&print;
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||