in reply to match and regex

Do you mean next rather than last? Also, the OUT handle, while possible, looks fishy being read. A non-# character class will take care of the rest:

while (<OUT>) { push(@hold1, $1) && next if (m/(\w+\.bld):\d+:[^#]*$/); } my $hold11 = join(' ', @hold1);

After Compline,
Zaxo

Replies are listed 'Best First'.
Re: Re: match and regex
by splitOnce (Acolyte) on Aug 13, 2002 at 19:49 UTC
    thanks all :)