in reply to Please advice
You can get the arguments passed into your script via $ARGV[#] (e.g. $first = $ARGV[0];). Then use opendir() and readdir() to find all the files in each of the subdirectories. After that, it's just loops and print statements.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Please advice
by ashish_sun123 (Initiate) on Aug 10, 2011 at 14:17 UTC | |
by runrig (Abbot) on Aug 10, 2011 at 15:14 UTC | |
by duelafn (Parson) on Aug 10, 2011 at 14:34 UTC | |
by cdarke (Prior) on Aug 10, 2011 at 19:41 UTC | |
by ashish_sun123 (Initiate) on Aug 11, 2011 at 00:38 UTC | |
by pemungkah (Priest) on Aug 12, 2011 at 07:56 UTC |