Do you know where your variables are? | |
PerlMonks |
Re: one-line split file sequence checkerby jwkrahn (Abbot) |
on Jan 22, 2008 at 21:09 UTC ( [id://663692]=note: print w/replies, xml ) | Need Help?? |
"tighter" sure, change grep(s/^.+?([0-9]+)$/$1/, to map(/.([0-9]+)$/, and change `ls *[0-9]` to <*[0-9]> and change grep(s/$/\n/, to map("$_\n",.
In Section
Cool Uses for Perl
|
|