Perl Monk, Perl Meditation | |
PerlMonks |
With substr, index the offset don't get proper start positionby Oskym (Initiate) |
on Mar 21, 2019 at 10:26 UTC ( [id://1231527]=perlquestion: print w/replies, xml ) | Need Help?? |
Oskym has asked for the wisdom of the Perl Monks concerning the following question: Hi PerlMonkeys!I'd made a simple script trying to get the final part from a line from the 4th space occurrence. The Output should be like this: "GetCertificate](3) Returning context. ID=PTWEBSERVER, Lang=ENG" Instead of that I'm getting this: "(6) 01/02/19 06:30:30 GetCertificate(3) Returning context. ID=PTWEBSERVER, Lang=ENG"
Can I ask for help to any expert?
Here is the code:
Thanks for your help!!
Back to
Seekers of Perl Wisdom
|
|