Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: Is there a more functional regex syntax?

by kennethk (Abbot)
on Sep 18, 2012 at 15:54 UTC ( [id://994307]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
      $range =~ /^(\d+)(?:-(\d+))?$/;
      $total_min += $1;
      $total_min += $2//$1;
    

Log In?
Username:
Password:

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

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

    No recent polls found