in reply to Re: Re: Re: Re: Re: Dereferencing an array of hash references
in thread Dereferencing an array of hash references

I should probably mention that my script is actually a package using the CGI::Application base module. That alone will probably clarify some of the scope issues you're referring to.

I've read Coping With Scoping before, and I think I have a relatively adequate understanding of the differences. Of course, I know I'm not perfect (or anything resembling it), so it's quite possible I've made some errors in my scoping. Unfortunately, I generally use the "code-n-patch" method to my code... write some code, test it, fix, write some more code, etc. This usually means that I start off with a lexical value and only create a local version of the variable when it's necessary to allow scoping across to another sub. Make sense? Broken ideology? Probably. ;-)

I've uploaded the entire script to my scratchpad. If you 've got the time and/or inclination, I would greatly appreciate your criticisms.

Thanks,
-fuzzyping
  • Comment on Re: Re: Re: Re: Re: Re: Dereferencing an array of hash references