On Tuesday 02 Mar 2010 09:18:26 Peter Gordon wrote: > I am using a class provided as one of the Perl standard modules. It > defines a "my" variable as a global, which I need to change from the > calling program. (Another example where global variables are not a > brilliant idea). > > I don't particularly want to change the class or file to add an > accessor, so are there any tricks for doing this? > > Thanks, > > Peter
Hi Peter! Maybe http://search.cpan.org/dist/PadWalker/ will work for you. But please consider restructuring your code in a better way. Regards, Shlomi Fish -- ----------------------------------------------------------------- Shlomi Fish http://www.shlomifish.org/ My Aphorisms - http://www.shlomifish.org/humour.html Deletionists delete Wikipedia articles that they consider lame. Chuck Norris deletes deletionists whom he considers lame. Please reply to list if it's a mailing list post - http://shlom.in/reply . _______________________________________________ Perl mailing list [email protected] http://mail.perl.org.il/mailman/listinfo/perl
