[Israel.pm] Changing a my variable

Peter Gordon peter at pg-consultants.com
Mon Mar 1 23:18:26 PST 2010

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?



More information about the Perl mailing list