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 ( #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
Node Status?
node history
Node Type: note [id://126665]
help
Chatterbox?
[shmem]: protloose? can't parse that
[choroba]: neither can I
[choroba]: and the first Google hit is tagged "human feces" :-o
[choroba]: oh, missed the double o
[shmem]: "brotlos"?
[shmem]: heavy protein discharge?

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (10)
As of 2017-08-17 10:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Who is your favorite scientist and why?



























    Results (286 votes). Check out past polls.

    Notices?