Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: accessing the result of a match as an array

by ikegami (Pope)
on Dec 24, 2009 at 23:44 UTC ( #814311=note: print w/replies, xml ) Need Help??


in reply to accessing the result of a match as an array

The question is wrong. Don't use two captures if you're only need one.
print "hello awesome" =~ /el.*(om)/;

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (4)
As of 2021-05-14 00:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Perl 7 will be out ...





    Results (145 votes). Check out past polls.

    Notices?