in reply to creating dynamically named 'my' variables

Perhaps what I need to do is to create all my variables within a namespace, enter that namespace, then destroy the namespace when I'm finished with it.

Can anyone point me to docs for namespaces?
  • Comment on Re: creating dynamically named 'my' variables

Replies are listed 'Best First'.
Re: Re: creating dynamically named 'my' variables
by chromatic (Archbishop) on Mar 01, 2002 at 06:11 UTC
    See do FILE, and return a reference to a hash. That's much safer than eval STRING.