in reply to Odd problem with referencing


Well, for starters you're trying to use a string as a variable name under strict. That's not allowed. There are security issues with allowing strings as variable names, so strict croaks telling you that it doesn't like it.

Personally, unless i'm trying to write a namespace-polluting import function, i stay away from using strings as variable names (and namespace-polluting is frowned upon). My guess is that you're doing this to try to be lazy with variable names. My advise is to not be lazy if that is the case. You'll probably create more problems than you'll solve.

Hope This Helps,
jynx

Replies are listed 'Best First'.
Re: Re: Odd problem with referencing
by frag (Hermit) on Mar 15, 2001 at 02:50 UTC