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
www.com | www.net | www.org
https://www.perlmonks.com https://perlmonks.com https://www.perlmonks.net https://perlmonks.net https://www.perlmonks.org https://perlmonks.org https://66.39.54.27 https://216.92.34.251 https://X.pair.com, for some X One of the above, but including "/index.pl" Other (please comment)
Results (95 votes). Check out past polls.