> I am calling a sub with:
>
> &Navigate(%modules, %settings);
>
Drop the C<&> until you know what it is for.
> And reading it like:
>
> sub Navigate {
> (%modules, %settings) = @_;
>
Perl flattens lists automagically, so when it sees your C<%modules,
%settings> it flattens it to on
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,
&Navigate(%modules, %settings);
And reading it like:
sub Navigate {
(%modules, %settings) = @_;
Only the first sub gets passed...
See how tired I am? I ment hash, only the first HASH get passed LOL.
aNc
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PR
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 poi