Perl array chop() and chomp() function - Quick Tutorial - About Perl
chop(@ARRAY); chomp(@ARRAY); Perl's chop and chomp functions can often be a source of confusion. Not only do they sound similar, they do similar things. Unfortunately, there is a critical difference - chop removes the last character of the string complete...