joe has asked for the wisdom of the Perl Monks concerning the following question:
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::
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Packagename as a variable?
by rpc (Monk) on Nov 23, 2000 at 03:56 UTC | |
by joe (Acolyte) on Nov 23, 2000 at 04:01 UTC | |
by merlyn (Sage) on Nov 23, 2000 at 06:11 UTC | |
by rpc (Monk) on Nov 23, 2000 at 04:31 UTC |