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
In reply to Re: match and regex
by Zaxo
in thread match and regex
by splitOnce
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |