Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Trying to convert shell script to Perl

by DS (Acolyte)
on Aug 05, 2002 at 19:54 UTC ( [id://187798]=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
     
    for DIR in `ls -d [a-k]* lts mon [n-z]*`
       do
    ...
            cd ../..
        fi
       done
    
  2. or download this
    my $DIR;
    for $DIR in `ls -d [a-k]* lts mon [n-z]*`
    ...
            system (qq(cd ../..));
        }
       done
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://187798]
Approved by Rex(Wrecks)
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (8)
As of 2024-04-23 07:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found