No such thing as a small change | |
PerlMonks |
Re: Larry vs. Joel vs. Ovidby perrin (Chancellor) |
on Nov 21, 2001 at 02:22 UTC ( [id://126665]=note: print w/replies, xml ) | Need Help?? |
Here's an example of a nice implementation of liberal input acceptance in perl (no offense, conservatives): the magic <> filehandle that is created from the command-line args which will be either STDIN or the file named on the command-line. It's really handy for quick scripts, and if you don't want ambiguous behavior in a large project, you can just not use it.
In Section
Meditations
|
|