Clear questions and runnable code
get the best and fastest answer
deferencing an hash in a subroutineby saintex (Scribe)
|on Aug 20, 2010 at 14:59 UTC||Need Help??|
saintex has asked for the wisdom of the Perl Monks concerning the following question:
I have a problem, when I try to use a refernce to an hash in a subroutine.
But I need to modify the orginal values, not a copy through "my" .
doesn't work, because I have:
Any suggestion about I can solve that?
On a suggestion below I write all my code:
I would like to creare a Simply SQL wrapper.
But I need to modify the original %q, not a copy...
I think that in object orientend code, I will have a better result, but I'm not yet able to create OO Perl code.
Finally I don't want to modify the global %q, but only the %q passed through argument list.