Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re^3: What is the * postfix operator, pre-'feature postderef'?

by GrandFather (Saint)
on Sep 10, 2014 at 21:28 UTC ( [id://1100216]=note: print w/replies, xml ) Need Help??


in reply to Re^2: What is the * postfix operator, pre-'feature postderef'?
in thread What is the * postfix operator, pre-'feature postderef'?

If you want the first numeric field I'd use:

($uptime) = $uptime =~ /(\d+)/;

which makes the intent much clearer. What's with the ref(\$uptime)?

Perl is the programming world's equivalent of English

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others having a coffee break in the Monastery: (6)
As of 2024-03-28 11:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found