Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: Re: Re: Forcing array context

by broquaint (Abbot)
on Nov 22, 2002 at 11:14 UTC ( [id://215060]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    print map("[$_]", "foo bar baz quux" =~ /b\w+ /g), $/;
    
    __output__
    
    [bar ][baz ]
    
  2. or download this
    print map("[$_]", "foo bar baz quux" =~ /(b\w+) /g), $/;
    
    __output__
    
    [bar][baz]
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others cooling their heels in the Monastery: (3)
As of 2024-04-20 05:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found