> When passing two hashes into a subroutine how do I use them separately if
> they
> are placed into one flat list?


use strict;


my $hashref1 = \%hash1;
my $hashref2 = \%hash2;

go2sub ($hashref1,$hashref2);

sub go2sub{

my $hashref1 = shift;
my $hashref2 = shift;

my %hash1 = %$hashref1;
my %hash2 = %$hashref2;

}



Owen



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


Reply via email to