suekawar has asked for the wisdom of the Perl Monks concerning the following question:
Hi monks,
I need to get some files under a spicific dir
DIR = local;the files under DIR are tim1 , tim2, tim3 .... tim50
I want to only get the files from tim15 to tim50 and applay some command in each one , so put them inside an array
I am trying somthing like
foreach $vob (@vobs) { # get all files under each vob my @names = grep -f, <c:/testFolder/local/*tim>; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: getting files from Dir
by Zaxo (Archbishop) on Jan 24, 2003 at 05:40 UTC | |
|
Re: getting files from Dir
by jepri (Parson) on Jan 24, 2003 at 05:32 UTC | |
by davis (Vicar) on Jan 24, 2003 at 10:01 UTC | |
by Aristotle (Chancellor) on Jan 24, 2003 at 16:55 UTC | |
|
Re: getting files from Dir
by jdporter (Paladin) on Jan 24, 2003 at 14:29 UTC | |
|
Re: getting files from Dir
by vek (Prior) on Jan 24, 2003 at 13:47 UTC | |
by Coruscate (Sexton) on Jan 25, 2003 at 01:37 UTC | |
by vek (Prior) on Jan 25, 2003 at 15:49 UTC |