I tried assigning $x in a BEGIN block, but that didn't work either. All I get is:$x = "joe"; package $x; #do lots of stuff in joe:: package main; # stuff in main::
In reply to Packagename as a variable? by joe
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |