Fully qualify a variable by adding the package it belongs to to any instances of its use.
Note that any variables declared with my don't belong to any package and so could not be accessed like this.$package::varname $DBI::errstr $main::var
In reply to Re: Inheritance and package variables
by dsb
in thread Inheritance and package variables
by submersible_toaster
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |