no strict refs; *{$target_package . "::"} = *{$source_package . "::"};
For example:
*{"main::"} = *{"foo::"};
In reply to Re: How to alias a whole namespace to another namespace (in this case main::)
by simonm
in thread How to alias a whole namespace to another namespace (in this case main::)
by aufflick
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |