Hi all, Please bear with me while I try to explain my problem...
I'd like to figure out how to access package variables at runtime. In other words, I may have a variable $class that contains the classname, and I want to set a value to the package reference by this variable. It'll be something like: $class::Message = "It works"; The problem now is that the package name is not known until runtime. I may either be writing to $Package1::Message or $Package2::Message. Can anyone enlighten me on the proper syntax to use to do this? To complicate matters, what happens if I also want to assign values of variables which are known only at runtime? For example (pseudocode): $class::$variable = "It works"; Thanks for your help. _______________________________________________ Perl-Win32-Users mailing list Perl-Win32-Users@listserv.ActiveState.com To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs