How about importing a constructor?
use Local::Some::Real::Cool::Module qw( gimme );"gimme" would be something like this:
package Local::Some::Real::Cool::Module; sub gimme { __PACKAGE__->new( @_ ) }
In reply to Re: use, require, and constructors
by fglock
in thread use, require, and constructors
by YuckFoo
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |