Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: Get variables from if with regex

by TomDLux (Vicar)
on Mar 09, 2013 at 19:29 UTC ( [id://1022615]=note: print w/replies, xml ) Need Help??


in reply to Get variables from if with regex

named captures.

From the perlre page ...

" ... as of Perl 5.10.0 you may use named capture buffers .... The notation is (?<name>...) to declare ..." (and $+{name} to access the captured value in code.

As Occam said: Entia non sunt multiplicanda praeter necessitatem.

Log In?
Username:
Password:

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

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

    No recent polls found