Do you know where your variables are? | |
PerlMonks |
Re^3: Split tags and words nicelyby johngg (Canon) |
on Dec 29, 2006 at 10:37 UTC ( [id://592197]=note: print w/replies, xml ) | Need Help?? |
You have a slight glitch in that you are losing any text after the space, e.g. "and more" comes out as "and". Fix:
Also it is probably a good idea to avoid $a and $b for variable names because of their special status with regard to sort. Cheers, JohnGG
In Section
Seekers of Perl Wisdom
|
|