Module::Optimize man page on Mageia

Man page or keyword search:  
man Server   17783 pages
apropos Keyword Search (all sections)
Output format
Mageia logo
[printable version]

Module::Optimize(3)   User Contributed Perl Documentation  Module::Optimize(3)

NAME
       Module::Optimize - Perl Module Optimization

SYNOPSIS
	   package Foo;
	   use Module::Optimize -base;

	   sub pmc_optimize {
	       my ($self, $source) = @_;
	       # Convert perl5 $source into semantically equivalent $compiled_output
	       return $compiled_output;
	   }

       In Bar.pm:

	   package Bar;

	   use Foo;

       or lexically:

	   package Bar;

	   {
	       use Foo;
	       ...
	   }

       To compile Bar.pm into Bar.pmc:

	   perl -c Bar.pm

DESCRIPTION
       This module provides a system for writing modules that compile other
       Perl modules.

       Modules that use these compilation modules get compiled into some
       altered form the first time they are run. The result is cached into
       ".pmc" files.

       Perl has native support for ".pmc" files. It always checks for them,
       before loading a ".pm" file.

       You get the following benefits:

SEE ALSO
       Module::Compile

AUTHOR
       Audrey Tang <autrijus@autrijus.org>

COPYRIGHT AND LICENSE
       Copyright (c) 2006, 2011. Audrey Tang.

       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

perl v5.18.1			  2011-06-13		   Module::Optimize(3)
[top]

List of man pages available for Mageia

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net