in reply to multi line regex
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.
|
|---|