I know there must be an easy way to do this but the solution evades me
and I'm hoping someone here either knows the answer or can point me in
the right direction so I can figure it out myself ... on to the
question;
I have two scalars, each contain a comma-seperated list of values;
$scaOne = "1,2,3,4,5";
$scaTwo = "label one,labelTwo,label,label4,label five";
I want to put these into a hash where the end result would be this;
%hashOne = ( 1 => 'label one',
2 => 'labelTwo',
3 => 'label',
4 => 'label4',
5 => 'label five',);
Can anyone throw me a bone here? =)
Glenn
Glenn Tillema [EMAIL PROTECTED]
ADC Telecommunications, Inc.
PO Box 1101, MS 508
Minneapolis, MN 55440-1101
Learn about ADC - The Broadband Company - www.adc.com
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]