Hi, [id://metalfan]. It looks to me as though you're reading the contents of your file into an array (@file) and then you're processing each line of the file one line at a time. If you want the whole file to be read in by <INFO> into a single scalar variable, then I think you need to set $/ (the input record separator) to something other than \n (like ''), and replace @file with $file.
In reply to Re: multi line regex
by ptum
in thread multi line regex
by metalfan
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |