Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: mkdir in a loop?

by murugu (Curate)
on Apr 05, 2006 at 09:46 UTC ( #541321=note: print w/ replies, xml ) Need Help??


in reply to mkdir in a loop?

open (FILE, "all_controls.txt") or die "can't open file $!"; my @file=<FILE>; chomp @file; foreach my $file (@file) { mkdir "$file"; }

Regards,
Murugesan Kandasamy
use perl for(;;);


Comment on Re: mkdir in a loop?
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (5)
As of 2015-07-01 23:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (24 votes), past polls