Hi:
Unfamiliar with 'associative arrays', I need to place the following (data extracted from user files in a for..loop) in an associative array (%data) where the key is $user:
($a, $b, $c) = split (/\|/, $data);
Then having done that, how do I extract the array elements singly? For example, extract the value for $b for a particular user.
Dan
Unfamiliar with 'associative arrays', I need to place the following (data extracted from user files in a for..loop) in an associative array (%data) where the key is $user:
($a, $b, $c) = split (/\|/, $data);
Then having done that, how do I extract the array elements singly? For example, extract the value for $b for a particular user.
Dan