Problems? Is your data what you think it is? | |
PerlMonks |
Re^2: how to chop last character from a stringby bioMan (Beadle) |
on Jan 04, 2006 at 15:26 UTC ( [id://520937]=note: print w/replies, xml ) | Need Help?? |
Rather than chopping twice a safer way would be to chomp first then chop. But, I like the regex solutions better than chopping Mike
In Section
Seekers of Perl Wisdom
|
|