[Chicago-talk] A CLUE @ARGV while(<>)
Ted Zlatanov
tzz at lifelogs.com
Wed Jan 9 11:28:20 PST 2008
On Wed, 9 Jan 2008 11:18:25 -0800 (PST) Richard Reina <richard at rushlogistics.com> wrote:
RR> Thank you very much for the suggested rewrite for the subroutine.
RR> So far it has not hung (fingers crossed). However, the lines with
RR> espf[ in them are not being removed with:
RR> next if $line =~ m/espf\[/;
RR> For example, if the $in_file contains the line:
RR> ^epsf[cs.45]{../rush_graphics/truck_slogan5.eps}
RR> it does not get removed. Did I do something wrong?
I think so, the regular expression uses `espf' and your data has `epsf'
so they won't match.
Ted
More information about the Chicago-talk
mailing list