ewhitt has asked for the wisdom of the Perl Monks concerning the following question:
Once I pass them over to processAmazonQuery, the Dumper for $conf is blank.print Dumper %amazonResults; print Dumper $conf; &processAmazonQuery(%amazonResults, $conf);
Thanks in advance!sub processAmazonQuery { my (%hash, $conf) = @_; print "hash\n"; print Dumper %hash; print "conf\n"; print Dumper $conf; |
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Passing hash and hashref to sub
by davorg (Chancellor) on Jul 27, 2008 at 10:17 UTC | |
by ewhitt (Scribe) on Jul 27, 2008 at 13:11 UTC | |
|
Re: Passing hash and hashref to sub
by FunkyMonk (Bishop) on Jul 27, 2008 at 10:33 UTC | |
|
Re: Passing hash and hashref to sub
by dHarry (Abbot) on Jul 27, 2008 at 10:09 UTC | |
|
Re: Passing hash and hashref to sub
by toolic (Bishop) on Jul 27, 2008 at 12:40 UTC | |
|
Re: Passing hash and hashref to sub
by chrism01 (Friar) on Jul 28, 2008 at 09:41 UTC |