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

Re: Search an Array Question

by bobf (Monsignor)
on Nov 10, 2009 at 04:34 UTC ( #806122=note: print w/ replies, xml ) Need Help??

in reply to Search an Array Question

I'd be happy to try to help, but honestly I'm not sure what you are looking for. Please include some sample data and expected output that can be used to verify solutions to your problem.

Also, it's generally not a good idea to hard code authentication credentials into your script (hint, hint). Reading from the command line or accessing an environment variable would be better.

Comment on Re: Search an Array Question
Re^2: Search an Array Question
by rogermills (Initiate) on Nov 10, 2009 at 17:19 UTC
    My bad Here is the data
    15485 88 dbaril1, sthiaga, vgamji1 15500 88 jyoung1 15502 88 deure, sciftci
    What i want is if bug ID 15485 is found store the whole line in a string. The output should be like this with only the name not the number
    dbaril1, sthiaga, vgamji1

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (5)
As of 2015-03-30 01:28 GMT
Find Nodes?
    Voting Booth?

    When putting a smiley right before a closing parenthesis, do you:

    Results (632 votes), past polls