Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: Stream and Atom flexibility

by hipowls (Curate)
on Mar 15, 2008 at 01:29 UTC ( #674327=note: print w/replies, xml ) Need Help??


in reply to Stream and Atom flexibility

You could do something like

if (@ARGV) { process($_) for @ARGV; } else { while (<>) { process($_); } }
where sub process does the real work.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://674327]
help
Chatterbox?
[LanX]: whats the best way to restrict a MySQL Text Column to alphanums + underscore ?
[LanX]: CHARACTER SET?

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (12)
As of 2017-03-30 14:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should Pluto Get Its Planethood Back?



    Results (360 votes). Check out past polls.