http://www.perlmonks.org?node_id=1025363


in reply to Re^2: Chomp doesn't work
in thread Chomp doesn't work

$start_input =~ s/\r\n//d;

/d is not a valid option for s///.    Perhaps you meant tr/\r\n//d?

Replies are listed 'Best First'.
Re^4: Chomp doesn't work
by choroba (Cardinal) on Mar 25, 2013 at 23:49 UTC
    /d was added in 5.14.
    لսႽ† ᥲᥒ⚪⟊Ⴙᘓᖇ Ꮅᘓᖇ⎱ Ⴙᥲ𝇋ƙᘓᖇ