Help for this page
#chomp() EXAMPLES $a = "abcdefghij"; ... $a = "abcdefghij"; $b = chop($a); print $b; #this would return 'j'
$a = "abcdefghij\n"; if ($a =~ /\n$/) { chop $a; } #this could also be \r\n if on windows p +latform