in reply to Is there a better way.
6 of one...my $caseNumber = $ARGV[0]; my $dir="directory"; my @files=`ls $dir/*$caseNumber*`; # will leave newlines
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Is there a better way.
by jwkrahn (Abbot) on Feb 23, 2009 at 23:44 UTC | |
by Lawliet (Curate) on Feb 24, 2009 at 01:47 UTC | |
by graff (Chancellor) on Feb 24, 2009 at 03:28 UTC | |
by jwkrahn (Abbot) on Feb 24, 2009 at 03:21 UTC | |
by k0d3Monkee (Initiate) on Feb 25, 2009 at 00:08 UTC |