Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re^3: using grep to find a word

by Laurent_R (Canon)
on Jun 24, 2013 at 11:55 UTC ( #1040418=note: print w/replies, xml ) Need Help??


in reply to Re^2: using grep to find a word
in thread using grep to find a word

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

Not working because you are looking for two double quotes instead of one double quote. If you want a double quote at the start of your string:

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

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1040418]
help
Chatterbox?
[mz2255]: I'm trying to post a question to "seekers of perl wisdom" but always getting a permission denied when I want to submit. There are no links in my post...
[ambrus]: again? someone complained about this just a few days ago (although eventually they could post)
[choroba]: Can you post the question in mz2255's scratchpad?
[ambrus]: Corion, if you're here, can you check the spam filter logs to see what's triggering this time?

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (9)
As of 2017-10-19 15:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My fridge is mostly full of:

















    Results (255 votes). Check out past polls.

    Notices?