Hello everyone,
I would like to know if there is a cleaner way of Merging Hash Keys with Arrays
and what the correct terminology is for describing this merging.
I find the syntax somewhat confusing since @ usually refers to an Array while
% refers to a Hash


@array = qw(1 2 3 4 5);

#Hash Key and Array Merging...
@[EMAIL PROTECTED];
#OR.... @[EMAIL PROTECTED] = "";
#.......fin

print join(" ",sort keys %VALS),"\n";
#1 2 3 4 5

TIA,
-gohaku


-- 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