RE: How to pass two hashes to a sub

2001-11-15 Thread Tomasi, Chuck
o: 'Tomasi, Chuck'; '[EMAIL PROTECTED]' > Subject: RE: How to pass two hashes to a sub > > > > -Original Message- > > From: Tomasi, Chuck [mailto:[EMAIL PROTECTED]] > > Sent: Thursday, November 15, 2001 2:26 PM > > To: '[EMAIL PRO

RE: How to pass two hashes to a sub

2001-11-15 Thread Bob Showalter
> -Original Message- > From: Tomasi, Chuck [mailto:[EMAIL PROTECTED]] > Sent: Thursday, November 15, 2001 2:26 PM > To: '[EMAIL PROTECTED]' > Cc: '[EMAIL PROTECTED]' > Subject: RE: How to pass two hashes to a sub > > > Arg, I was hoping

RE: How to pass two hashes to a sub

2001-11-15 Thread Tomasi, Chuck
PM > To: Tomasi, Chuck > Cc: '[EMAIL PROTECTED]' > Subject: Re: How to pass two hashes to a sub > > > Unfortunately you HAVE to use references to pass more than > one hash or more > than one array for that matter ... perl flattens the list that are in > arg

Re: How to pass two hashes to a sub

2001-11-15 Thread register
Alternatively just read them all in as one big hash inyour sub if you know the keys are unique to each other .. On Thu, Nov 15, 2001 at 11:53:47AM -0600, Tomasi, Chuck shaped the electrons to read: > Perl 5.6.0 > Sun Solaris 2.7 > > I'd like to send two or more associative arrays (hashes) to a s

Re: How to pass two hashes to a sub

2001-11-15 Thread register
Unfortunately you HAVE to use references to pass more than one hash or more than one array for that matter ... perl flattens the list that are in arguments so it is impossible to tell where one list starts and the other begins etc. I dont get the setting up of temp hashes though ... what u could

Re: How to pass two hashes to a sub

2001-11-15 Thread Jeff 'japhy' Pinyan
On Nov 15, Tomasi, Chuck said: >I'd like to send two or more associative arrays (hashes) to a sub. It looks >like the first one makes it but the values of the second never get passed. >Am I doing something wrong or is there a better way to do this (I'm hoping >you don't say by reference or I'll

Re: How to pass two hashes to a sub

2001-11-15 Thread Andrea Holstein
Chuck Tomasi wrote: > > I'd like to send two or more associative arrays (hashes) to a sub. It looks > like the first one makes it but the values of the second never get passed. > Am I doing something wrong or is there a better way to do this (I'm hoping > you don't say by reference or I'll have

How to pass two hashes to a sub

2001-11-15 Thread Tomasi, Chuck
Perl 5.6.0 Sun Solaris 2.7 I'd like to send two or more associative arrays (hashes) to a sub. It looks like the first one makes it but the values of the second never get passed. Am I doing something wrong or is there a better way to do this (I'm hoping you don't say by reference or I'll have to