Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re^3: Chomp doesn't work

by jwkrahn (Monsignor)
on Mar 25, 2013 at 18:53 UTC ( #1025363=note: print w/ replies, xml ) Need Help??


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?


Comment on Re^3: Chomp doesn't work
Select or Download Code
Re^4: Chomp doesn't work
by choroba (Abbot) on Mar 25, 2013 at 23:49 UTC
    /d was added in 5.14.
    لսႽ ᥲᥒ⚪⟊Ⴙᘓᖇ Ꮅᘓᖇ⎱ Ⴙᥲ𝇋ƙᘓᖇ

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1025363]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (6)
As of 2014-11-21 03:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My preferred Perl binaries come from:














    Results (104 votes), past polls