Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
Thanks in advance....foreach $filelist(@filelist) { if ($filelist =~ /FRAUD-REPORT\d+\.CSV/i) { $newfile = $1; push(@curr, $newfile); } sort(@curr); } print "@curr";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: reg expression
by Zaxo (Archbishop) on Jun 14, 2006 at 15:54 UTC | |
by Anonymous Monk on Jun 14, 2006 at 16:02 UTC | |
|
Re: reg expression
by ikegami (Patriarch) on Jun 14, 2006 at 16:04 UTC | |
|
Re: reg expression
by wazoox (Prior) on Jun 14, 2006 at 15:54 UTC | |
|
Re: reg expression
by ysth (Canon) on Jun 14, 2006 at 18:56 UTC | |
by graff (Chancellor) on Jun 15, 2006 at 03:46 UTC |