Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re^3: pattern matching in array

by torres09 (Acolyte)
on Jun 24, 2013 at 08:28 UTC ( #1040400=note: print w/ replies, xml ) Need Help??


in reply to Re^2: pattern matching in array
in thread pattern matching in array

hey

now i am trying to work to find words starting with "" in array and I am doing this

 @foo_d = grep(/""/, @arr);  

but it is not working , @foo_d always holds 1


Comment on Re^3: pattern matching in array
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (5)
As of 2015-08-27 21:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The oldest computer book still on my shelves (or on my digital media) is ...













    Results (332 votes), past polls