Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: Search an Array Question

by bobf (Monsignor)
on Nov 10, 2009 at 04:34 UTC ( [id://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.

Replies are listed 'Best First'.
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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://806122]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others exploiting the Monastery: (6)
As of 2024-03-28 20:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found