Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: Random RedWolf OneLiners

by broquaint (Abbot)
on Feb 20, 2002 at 11:01 UTC ( #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
Node Status?
node history
Node Type: note [id://146549]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (3)
As of 2021-05-09 08:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Perl 7 will be out ...





    Results (100 votes). Check out past polls.

    Notices?