How do you expect a subroutine that is after the __END__ token to ever be compiled, let alone exported?
__END__ sub get_file_name { ... }
This looks like a throwback to the bad old days of AutoSplit -- which was a hinky trick at the best of times, and these days really doesn't make sense -- but if you really have a good reason to defer compilation, then you would need to be using the AutoSplit module.
In reply to Re: Subroutines not exporting? Why?
by BrowserUk
in thread Subroutines not exporting? Why?
by no21
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |