Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

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?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (9)
As of 2014-07-11 06:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    When choosing user names for websites, I prefer to use:








    Results (220 votes), past polls