in reply to using a regex to determine if a string is the start of the FILE

untested:
qr/(??{$.==1 ? '"99","END"' : "\n\n"})/
  • Comment on Re: using a regex to determine if a string is the start of the FILE
  • Download Code