Nick Chettle wrote: > Wagner, David --- Senior Programmer Analyst --- WGO wrote: > >> Then concatenate in something like: >> $msgids{"$1"} .= $msgarray[$_]; >> Wags ;) > > Thanks for the speedy response. > > Sorry, but I don't understand how to use that. Surely that would be > trying to index an array but a great long string ($_) which wouldn't > work as it needs to be a number?
I took a quick look at some of the earlier emails and Charles Clarkson's email is what you are after. Using the push on your hash to create the array. Just a note. Instead of having a file and not providing any data for the list to see, start with a program that uses __DATA__. So you have: while ( <DATA> ) { } __DATA__ rcd1 rcd2 rcd3 rcd4 ... rcdx You do not have to open DATA, but now the list has what your data looks like and they can easily copy into a script and then provide back to you some code. They see the data and are able to operate on it. Makes it easy for others to help, but without seeing some type of related data, it can hard to give the individual what they are looking for. Try it ( use of DATA ) and you will like it. Wags ;) ******************************************************* This message contains information that is confidential and proprietary to FedEx Freight or its affiliates. It is intended only for the recipient named and for the express purpose(s) described therein. Any other use is prohibited. ******************************************************* -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>