in reply to Re^3: Can't use string ("") as a HASH ref while "strict refs"
in thread Can't use string ("") as a HASH ref while "strict refs"

You wrote: Are you sure both %config are the same variable? Both %config and what? are the same variable?
  • Comment on Re^4: Can't use string ("") as a HASH ref while "strict refs"

Replies are listed 'Best First'.
Re^5: Can't use string ("") as a HASH ref while "strict refs"
by ikegami (Patriarch) on Nov 26, 2005 at 05:15 UTC

    The %config in the first snippet and %config in the second snippet.

    • Maybe they are both package (our) variables, but in different packages.
    • Maybe one is a package (our) variable, and the other is a lexical (my) variable.
    • Maybe they are both lexical (my) variables, but different lexical varibbles (i.e. in different scopes). [There's an our in one of the snippets.]