Help for this page

Select Code to Download


  1. or download this
    $ perl
    use strict;
    my $o= new My::Module;
    ...
    ^D
    Can't locate object method "new" via package "My::Module"
    $
    
  2. or download this
    use autouse My::Module => qw(new);
  3. or download this
    sub My::Module::new {
        require My::Module;
        undef &My::Module::new;
        goto &My::Module::new;
    }