Whoops!
This assigns the string 'Bla::Dee' to the scalar ${""} in package main.
To do what you intend, say
${$package_name.'::PARENT'} = "Bla::Dee";In reply to Re^2: Dynamic Packages in Perl
by Narveson
in thread Dynamic Packages in Perl
by barvin
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |