The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Package::Transporter::Generator::Universal::Automatic_Require - Attempt an 'require MODULE' for a missing MODULE::subroutine

SYNOPSIS

        use Package::Transporter sub{eval shift}, sub {
                $_[0]->register_potential('::Automatic_Require', 'FOR_ANY');
        };
        
        print CGI->h1->('Hello World.'), "\n";
        exit(0);

DESCRIPTION

Guesses the module name by looking at $_[0] (class name) for method calls on class names.

ANYTHING ELSE

Please see the documentation of the upstream package Package::Transporter.