Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re^3: Is there a more functional regex syntax?

by tobyink (Canon)
on Sep 18, 2012 at 16:57 UTC ( [id://994315]=note: print w/replies, xml ) Need Help??


in reply to Re^2: Is there a more functional regex syntax?
in thread Is there a more functional regex syntax?

Some regexes will work inside those parentheses.

$totals[$_] += ($range =~ /(\d+)/g)[$_] for 0, -1;
perl -E'sub Monkey::do{say$_,for@_,do{($monkey=[caller(0)]->[3])=~s{::}{ }and$monkey}}"Monkey say"->Monkey::do'

Log In?
Username:
Password:

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

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

    No recent polls found