in reply to Re: Re: Re: Re: Dynamically allocating variables
in thread Dynamically allocating variables

I have a feeling that you and Fastolfe are talking past each other.

The answer is that you can. He is using anonymous hashes as structs (which is usually the right native Perl data structure to use for that, even though it is not perfect). What strict.pm stops you from doing is making the assumptions that these anonymous things have concrete names in your main namespace - names which you might accidentally use to have one of them override another. (This would be bad.)

  • Comment on Re (tilly) 5: Dynamically allocating variables