If you have two hashes, you are probably better off passing by reference, otherwise the first hash will slurp up the second hash on the [EMAIL PROTECTED]

Something like
&Navigate(\%modules,\%settings);

sub Navigate {
        my ($module_ref,$settings_ref)[EMAIL PROTECTED];

Sean

On Oct 14, 2004, at 4:55 PM, Andre Cameron wrote:

I am calling a sub with:

&Navigate(%modules, %settings);

And reading it like:

sub Navigate {
       (%modules, %settings) = @_;

Only the first sub gets passed...

Been a while and I cant figure out what I am doing wrong. To tired to screw arround with it so I would love if some kind soul could point out what I am forgetting. Thanks!

aNc

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



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