Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: Larry vs. Joel vs. Ovid

by perrin (Chancellor)
on Nov 21, 2001 at 02:22 UTC ( [id://126665]=note: print w/replies, xml ) Need Help??


in reply to Larry vs. Joel vs. Ovid

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.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://126665]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others exploiting the Monastery: (6)
As of 2024-04-24 10:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found