in reply to search a string in a non-regular file

Hi guys, Thank you for all the replies. It did not work yesterday for some reason, but it works now using /*/s.

  • Comment on Re: search a string in a non-regular file

Replies are listed 'Best First'.
Re^2: search a string in a non-regular file
by shmem (Chancellor) on Jul 19, 2017 at 18:26 UTC
    but it works now using /*/s.

    Again a Quantifier follows nothing in regex; marked by <-- HERE in m/* <-- HERE / - did you read the answers above?

    perl -le'print map{pack c,($-++?1:13)+ord}split//,ESEL'