Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: Getting a list of captures in Perl 5.10

by BrowserUk (Patriarch)
on May 24, 2008 at 15:52 UTC ( [id://688307]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    $string = 'bla bla [[en:English]][[de:German]][[ga:Irish]] bla bla';
    
    ...
    pp $var;
    
    { lang => ["en", "ga", "de"] }
    
  2. or download this
    my $string = 'bla bla [[en:English]][[de:German]][[ga:Irish]] bla bla'
    +;
    
    ...
    pp $var;
    
    { lang => ["en", "de", "ga"] }
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others sharing their wisdom with the Monastery: (3)
As of 2024-04-25 23:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found