|XP is just a number
I will definitely take it under advisement and look into the modules others have developed for this porpoise,
but in the spirit of learning please advise me on using split. I am now trying your code Trantor like so:
Done this way the out put is the same as $line was originally:
a whole lotta shakin >pattern here< goin on
But if I use
my $line = "a whole lotta shakin ><pattern here>< goin on";
Then my output is: a whole lotta shakin pattern here goin on
The only thing that happened was my delimiters were deleted.
Would some kind soul explain why split did that.
I read perlfunc:split but I'm afraid I am no wiser.
In reply to Re: Re: Cropping the output of the pattern matcher