Are you looking for push?
while( <FILE> ) { push @array, $_ if /Run as/ .. /^ /; }
Dave
In reply to Re: Assign Output of Regex to Array (newbie)
by davido
in thread Assign Output of Regex to Array (newbie)
by justsomeguy
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |