in reply to Scope, package, and 'my' variables
BEGIN { use Exporter(); @ISA=qw(Exporter); @EXPORT=qw(&print_hidden_param_fields $host_name $db_name $userid $passwd $table $pkey); } use vars qw($host_name $db_name $userid $passwd $table $pkey);
Take a look at Steven Holzner, "Exporting Symbols from Modules by Default", Perl Black Book, Coriolis Open Press, 1999, p. 846-847.
|
|---|