is equivalent touse Package LIST;
so, you can use Reporting::import for that sort of thing:BEGIN { require Package; Package->import LIST; }
package Reporting; my @sendtasks; sub import { my $class = shift; for my $task (@_) { .. do the things you want to do .. } }
In reply to Re: Pragma-like package
by akho
in thread Pragma-like package
by dbw
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |