M
Matt Taylor
I have this piece of code:
$/ = ' ';
$test = "abc ";
chomp $test;
print $test;
which prints spaces at the end of the line. Shouldn't chomp strip the spaces
off the end of my scalar $test?
-Matt
$/ = ' ';
$test = "abc ";
chomp $test;
print $test;
which prints spaces at the end of the line. Shouldn't chomp strip the spaces
off the end of my scalar $test?
-Matt