Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Named captures or positional variables

by MidLifeXis (Monsignor)
on Dec 10, 2014 at 19:44 UTC ( [id://1109947]=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my $re_foo = qr{
      ...
    ...
        return { %+ };
    }
    ...
    
  2. or download this
    my $re_foo = qr{
      ...
    ...
        return { type => $2, name2 => $1 };
    }
    ...
    

Log In?
Username:
Password:

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

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

    No recent polls found