Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: Is there a more functional regex syntax?

by AnomalousMonk (Archbishop)
on Sep 18, 2012 at 16:54 UTC ( [id://994313]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    >perl -wMstrict -le
    "my @ranges = ('15', '28-31', '3-4', '40', '17-19');
    ...
     print qq{total between $total_min and $total_max};
    "
    total between 103 and 109
    
  2. or download this
    perl -wMstrict -le
    "my @ranges = qw(15 28-31 3-4 40 17-19  99- -99 -99- x x-x);
    ...
     print qq{total between $total_min and $total_max};
    "
    total between 103 and 109
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://994313]
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: (4)
As of 2024-04-26 00:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found