Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re^3: Idiomatic Perl?

by Corion (Patriarch)
on Mar 20, 2018 at 14:47 UTC ( [id://1211339]=note: print w/replies, xml ) Need Help??


in reply to Re^2: Idiomatic Perl?
in thread Idiomatic Perl?

Depends on what you want to have in $str. Read chomp to learn about the return value of chomp.

Replies are listed 'Best First'.
Re^4: Idiomatic Perl?
by choroba (Cardinal) on Mar 20, 2018 at 15:03 UTC
    perl -we 'chomp <>'

    > Can't modify <HANDLE> in chomp at -e line 1, at EOF

    ($q=q:Sq=~/;[c](.)(.)/;chr(-||-|5+lengthSq)`"S|oS2"`map{chr |+ord }map{substrSq`S_+|`|}3E|-|`7**2-3:)=~y+S|`+$1,++print+eval$q,q,a,

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others about the Monastery: (3)
As of 2024-04-25 16:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found