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

inc::Beer - Load Bundled External Extension Rules (BEERs)

VERSION

This document describes version 0.11 of inc::Beer, released February 28, 2003.

SYNOPSIS

In your Makefile.PL:

    use inc::Beer;
    WriteMakefile();

DESCRIPTION

This module bootstraps the Beer::Admin installation with the following steps:

  • First, if inc/Beer.pm does not exist, loads Beer::Admin to copy this module to inc/. This should only happen on the author's side, never on the end-user side.

  • Reload inc/Beer.pm if the current file is somewhere else. This ensures that the bundled version of inc/Beer.pm is always preferred over the installed version.

  • Look at inc/Beer/*.pm and load all of them.

  • Set up a main::AUTOLOAD function to delegate missing function calls to Beer::Admin::drink -- again, this should only happen at the author's side.

  • Provide a inc::Beer::purge_self function for removing bundled files under inc/.

SEE ALSO

Beer::Admin

AUTHORS

Autrijus Tang <autrijus@autrijus.org>

COPYRIGHT

Copyright 2003 by Autrijus Tang <autrijus@autrijus.org>.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

See http://www.perl.com/perl/misc/Artistic.html