"be consistent" | |
PerlMonks |
Re^2: need to read/write from/to an external programby Sidhekin (Priest) |
on Feb 21, 2007 at 16:16 UTC ( [id://601358]=note: print w/replies, xml ) | Need Help?? |
You have the syntax for close wrong. It takes just one argument, so Reader is parsed as a bareword and not a filehandle. Simply:
... instead of trying to close both with one statement.
print "Just another Perl ${\(trickster and hacker)},"
In Section
Seekers of Perl Wisdom
|
|