Re: passing two hashes into a subroutine

2007-05-12 Thread Mathew Snyder
HEET "\n"; printf TIMESHEET "%18s\n\n", "$env->{$environ}"; } close TIMESHEET; } Does that look right? Mathew Keep up with me and what I'm up to: http://theillien.blogspot.com Chas Owens wrote: > On 5/12/07, Mathew Snyder

Re: passing two hashes into a subroutine

2007-05-11 Thread rcook
> 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 = %$has

Re: passing two hashes into a subroutine

2007-05-11 Thread Chas Owens
On 5/12/07, Mathew Snyder <[EMAIL PROTECTED]> wrote: When passing two hashes into a subroutine how do I use them separately if they are placed into one flat list? Mathew -- Keep up with me and what I'm up to: http://theillien.blogspot.com Use references: func(\%h1, \%h2); sub f

passing two hashes into a subroutine

2007-05-11 Thread Mathew Snyder
When passing two hashes into a subroutine how do I use them separately if they are placed into one flat list? Mathew -- Keep up with me and what I'm up to: http://theillien.blogspot.com -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]