in reply to Re^2: Chop command that removes the first character
in thread Chop command that removes the first character
Because you have quoted it we know what was there. As a minor pedant chomp will remove any char that corresponds to $/ aka the $INPUT_RECORD_SEPARATOR. For example if you undef $/ but don't localise (or restore) it chomp will mysteriously fail. Not only that it is a global.....
cheers
tachyon
|
|---|