(inserted '^' and '$' to mark start and end)my @arr; while (<FILE>) { push @arr, $1 if /^\$FILES(.*?)\$$/; }
In reply to Re: Re: taking sections out of a file and put it in an array
by Chief of Chaos
in thread taking sections out of a file and put it in an array
by juo
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |