Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: Random RedWolf OneLiners

by broquaint (Abbot)
on Feb 20, 2002 at 11:01 UTC ( [id://146549]=note: print w/replies, xml ) Need Help??


in reply to Random RedWolf OneLiners

Check out perl -h or perlrun and read up on some of the neat switches that are available on the command line e.g.
perl -lne 'chomp; print "*** $_ ***"; chdir "$_"; system "mp32ogg --maxbitrate 128 *.mp3"'
The -n sticks a while(<>){ } around the code and -l (by default) sets $\ to $/.
HTH

broquaint

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others learning in the Monastery: (4)
As of 2024-03-28 15:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found