package foo; use bar; #more code here 1;
And furthermore I wished for package bar.pm to call in Modern::Perl (alongside doing what it does) such that I don't need to add that to each script as well as having to add use bar... how would I would I go about doing it?
As in I'd rather write the above than write this:
package foo; use bar; use Modern::Perl; #code 1;
My first thought was of exporter but it doesn't seem quite right for the task.
In reply to Module mechanics question by Logicus
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |