Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: Cropping the output of the pattern matcher split

by mandog (Curate)
on Sep 24, 2001 at 07:28 UTC ( [id://114240] : note . print w/replies, xml ) Need Help??


in reply to Re: Re: Cropping the output of the pattern matcher
in thread Cropping the output of the pattern matcher

The only thing I might add to hopes fine reply to jerrygarciuh's question about split

is that changing the final print might make the point clearer.....

print "numboer of array elements==". scalar(@bits_and_pieces)."\n"; print join("\n",@bits_and_pieces);