#!/usr/bin/perl -w use strict; my $pkgname = "Foobar"; eval qq{ package $pkgname; print "lots of stuff.\n"; }; package main; print "more stuff.\n";
In reply to Re: Packagename as a variable?
by rpc
in thread Packagename as a variable?
by joe
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |