Journal nocomment's Journal: perl gurus 4
I need a little help with this.
I have a script (written a long time ago and not by me that I'm trying to edit). It's supposed to be grabbing files based on the first three characters.
this part here is supposed to skip files that don't:
next if $temp[8] !~
it's grabbing files that are similar though like this one:
STMP.pdnjrnsai
ideas?
brackets (Score:2)
Try: m/^(int|ren|svr|crd|sls|pdn)/;
Saw this on Firehose BTW :)
Re: (Score:2)
Fresh blood to the JE circle.
and that worked btw, thanks! Out of curiosity what did that do?
Re: (Score:2)
Re: (Score:2)