Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re^2: Idiomatic Perl?

by Marshall (Canon)
on Mar 21, 2018 at 01:45 UTC ( [id://1211387]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    sub prompt_read 
    {
    ...
    
    $response =~ s/^\s*//;  # these 2 statements do the same
    $response =~ s/\s*$//;  # but slightly slower
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others studying the Monastery: (5)
As of 2024-04-19 05:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found