in reply to Re^3: using a regex to determine if a string is the start of the FILE
in thread using a regex to determine if a string is the start of the FILE

Thanks for that. I used:

/(??{ $. == 1 ? '"99","END"' : 'FOOBAR' })/

Which also didn't work due to tainting. However, I managed to get the code to be changed, but not in the regex area which might have broken something (it's very old and no test packs), to have

<code>use re 'eval';<code>

Which works well, so, thank you all for your time

John
  • Comment on Re^4: using a regex to determine if a string is the start of the FILE
  • Download Code