It is possible to store an array in a hash by using references

#foreach $destination (@dest_users) {  # NO NEED FOR THIS
          #print "==>$destination\n";                              

push( @{$aliases{$alias}}, @dest_users );

foreach $key ( keys %aliases ){
   print "$key: @{$aliases{$key}}\n";
}


HTH

--
Ankur


-- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>




Reply via email to