require returns the last evaluated expression of a required file
No, that is only true the /first/ time that a file is required. I agree that it would be very nice if Perl allowed require (and use) to return something useful (in particular, a 'factory' that defaults to just the package name). But that isn't the case yet, even though it may appear that way if you do incomplete testing.
- tye
In reply to Re: Follow up to RFC: Templating without a System (required)
by tye
in thread Follow up to RFC: Templating without a System
by shmem
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |