Think about Loose Coupling | |
PerlMonks |
Re^2: How to write a program to read stdin or command line?by ikegami (Patriarch) |
on Oct 02, 2007 at 15:27 UTC ( [id://642138]=note: print w/replies, xml ) | Need Help?? |
I don't see why -i is required. If it's not on the command line, then it must be on STDIN, so there's no reason to use -i.
That's the approach <ARGV> uses.
In Section
Seekers of Perl Wisdom
|
|