in reply to Re: Perl script to match a regexp in the prior line and other multiple lines
in thread Perl script to match a regexp in the prior line and other multiple lines
Hi tybalt89 ,
Thanks for your help! I have tried the script but there is one problem , I am getting the below stated errors ,
Bareword found where operator expected at script.pl line 13, near "tr//\0/cr"
Bareword found where operator expected at script.pl line 14, near "tr/\0//dr"
I am using perl version 5.10 and cant change it to the other latest version since I dont have administrator right Can we tweak the provided solution to make it work 5.10 ?
Thanks and Regards
Kshitij Kulshreshtha
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Perl script to match a regexp in the prior line and other multiple lines
by afoken (Chancellor) on Dec 15, 2019 at 17:04 UTC | |
|
Re^3: Perl script to match a regexp in the prior line and other multiple lines
by tybalt89 (Monsignor) on Dec 18, 2019 at 16:27 UTC | |
|
Re^3: Perl script to match a regexp in the prior line and other multiple lines
by Anonymous Monk on Dec 15, 2019 at 09:44 UTC | |
by kshitij (Sexton) on Dec 15, 2019 at 14:31 UTC | |
by AnomalousMonk (Archbishop) on Dec 15, 2019 at 19:14 UTC |