in reply to Re: Dynamic Packages in Perl
in thread Dynamic Packages in Perl
Whoops!
This assigns the string 'Bla::Dee' to the scalar ${""} in package main.
To do what you intend, say
${$package_name.'::PARENT'} = "Bla::Dee";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Dynamic Packages in Perl
by Joost (Canon) on Nov 15, 2008 at 09:37 UTC |