[Chicago-talk] A CLUE @ARGV while(<>)

Richard Reina richard at rushlogistics.com
Wed Jan 9 11:34:16 PST 2008


Sorry for the careless oversight.  Thanks again.

Ted Zlatanov <tzz at lifelogs.com> wrote: On Wed, 9 Jan 2008 11:18:25 -0800 (PST) Richard Reina  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
_______________________________________________
Chicago-talk mailing list
Chicago-talk at pm.org
http://mail.pm.org/mailman/listinfo/chicago-talk



Your beliefs become your thoughts.  Your thoughts become your words.  Your words become your actions.  Your actions become your habits.  Your habits become your values.  Your values become your destiny.  -- Mahatma Gandhi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.pm.org/pipermail/chicago-talk/attachments/20080109/2c98ce2e/attachment.html 


More information about the Chicago-talk mailing list