in reply to Question about new()
use as; # activate 'use' magic use Very::Long::Module::Name as => 'Foo'; use Other::Long::Module::Name qw(parameters being passed), as => ' +Bar'; my $foo = Foo->new; # blessed as Very::Long::Module::Name my $bar = Bar->new; # blessed as Other::Long::Module::Name
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Question about new()
by sman (Beadle) on Jan 23, 2010 at 02:14 UTC | |
by Anonymous Monk on Jan 23, 2010 at 02:21 UTC | |
by sman (Beadle) on Jan 23, 2010 at 02:52 UTC |