On Nov 16, jonathan vandine said:
>%h1 = ("key1" => value1);
>%h2 = ("key2" => value2);
>$rnew = &mergehash(\%h1, \%h2);
> sub mergehash{
> %h3 = @_;
Here, %h3 consists of ONE key and ONE value -- the key is \%h1, and the
value is \%h2.
Merging hashes is probably too much work for a function.
%both = (%this, %that);
is more than enough.
--
Jeff "japhy" Pinyan [EMAIL PROTECTED] http://www.pobox.com/~japhy/
RPI Acacia brother #734 http://www.perlmonks.org/ http://www.cpan.org/
** Look for "Regular Expressions in Perl" published by Manning, in 2002 **
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]