/usr/local/share/man/man3
NameSizeModeActions
App::Prove.3pm105080444editdlrm
App::Prove::State.3pm60050444editdlrm
App::Prove::State::Result.3pm56190444editdlrm
App::Prove::State::Result::Test.3pm50510444editdlrm
AppConfig.3pm352890444editdlrm
AppConfig::Args.3pm79920444editdlrm
AppConfig::CGI.3pm66090444editdlrm
AppConfig::File.3pm126140444editdlrm
AppConfig::Getopt.3pm74440444editdlrm
AppConfig::State.3pm249720444editdlrm
AppConfig::Sys.3pm66950444editdlrm
Archive::Tar.3pm440610444editdlrm
Archive::Tar::File.3pm110830444editdlrm
Archive::Zip.3pm699850444editdlrm
Archive::Zip::FAQ.3pm184370444editdlrm
Archive::Zip::MemberRead.3pm67340444editdlrm
Archive::Zip::Tree.3pm28750444editdlrm
B::COW.3pm51630444editdlrm
Canary::Stability.3pm37270444editdlrm
CDB_File.3pm143180444editdlrm
common::sense.3pm00444editdlrm
Compress::Raw::Bzip2.3pm134630444editdlrm
Compress::Raw::Zlib.3pm420820444editdlrm
Compress::Zlib.3pm387190444editdlrm
CPAN::Meta.3pm159230444editdlrm
CPAN::Meta::Converter.3pm65940444editdlrm
CPAN::Meta::Feature.3pm43220444editdlrm
CPAN::Meta::History.3pm78550444editdlrm
CPAN::Meta::History::Meta_1_0.3pm99730444editdlrm
CPAN::Meta::History::Meta_1_1.3pm124100444editdlrm
CPAN::Meta::History::Meta_1_2.3pm222240444editdlrm
CPAN::Meta::History::Meta_1_3.3pm239740444editdlrm
CPAN::Meta::History::Meta_1_4.3pm245650444editdlrm
CPAN::Meta::Merge.3pm52850444editdlrm
CPAN::Meta::Prereqs.3pm73800444editdlrm
CPAN::Meta::Requirements.3pm123080444editdlrm
CPAN::Meta::Spec.3pm455920444editdlrm
CPAN::Meta::Validator.3pm42150444editdlrm
CPAN::Meta::YAML.3pm42300444editdlrm
Crypt::OpenSSL::Random.3pm56340444editdlrm
Curses.3pm375800444editdlrm
Curses::UI.3pm156190444editdlrm
Curses::UI::Buttonbox.3pm89080444editdlrm
Curses::UI::Calendar.3pm82030444editdlrm
Curses::UI::Checkbox.3pm65090444editdlrm
Curses::UI::Color.3pm59030444editdlrm
Curses::UI::Common.3pm64980444editdlrm
Curses::UI::Container.3pm90410444editdlrm
Curses::UI::Dialog::Basic.3pm52130444editdlrm
Curses::UI::Dialog::Calendar.3pm47610444editdlrm
Curses::UI::Dialog::Dirbrowser.3pm53690444editdlrm
Curses::UI::Dialog::Error.3pm43070444editdlrm
Curses::UI::Dialog::Filebrowser.3pm68890444editdlrm
Curses::UI::Dialog::Progress.3pm57740444editdlrm
Curses::UI::Dialog::Question.3pm52770444editdlrm
Curses::UI::Dialog::Status.3pm47650444editdlrm
Curses::UI::Label.3pm73330444editdlrm
Curses::UI::Listbox.3pm119880444editdlrm
Curses::UI::Menubar.3pm81100444editdlrm
Curses::UI::Notebook.3pm91400444editdlrm
Curses::UI::PasswordEntry.3pm37430444editdlrm
Curses::UI::Popupmenu.3pm74310444editdlrm
Curses::UI::Progressbar.3pm58910444editdlrm
Curses::UI::Radiobuttonbox.3pm40690444editdlrm
Curses::UI::Searchable.3pm66680444editdlrm
Curses::UI::TextEditor.3pm141710444editdlrm
Curses::UI::TextEntry.3pm36230444editdlrm
Curses::UI::TextViewer.3pm36700444editdlrm
Curses::UI::Tutorial.3pm85550444editdlrm
Curses::UI::Widget.3pm256750444editdlrm
Curses::UI::Window.3pm50840444editdlrm
Cwd.3pm71830444editdlrm
Date::Format.3pm72910444editdlrm
Date::Language.3pm38090444editdlrm
Date::Language::Bulgarian.3pm36750444editdlrm
Date::Language::Hungarian.3pm30910444editdlrm
Date::Parse.3pm54020444editdlrm
Digest::SHA.3pm257590444editdlrm
Expect.3pm602290444editdlrm
ExtUtils::CBuilder.3pm119230444editdlrm
ExtUtils::CBuilder::Platform::Windows.3pm31170444editdlrm
ExtUtils::Command.3pm59420444editdlrm
ExtUtils::Command::MM.3pm57230444editdlrm
ExtUtils::Liblist.3pm126790444editdlrm
ExtUtils::MakeMaker.3pm793570444editdlrm
ExtUtils::MakeMaker::Config.3pm25870444editdlrm
ExtUtils::MakeMaker::FAQ.3pm268290444editdlrm
ExtUtils::MakeMaker::Locale.3pm111680444editdlrm
ExtUtils::MakeMaker::Tutorial.3pm83890444editdlrm
ExtUtils::Manifest.3pm119610444editdlrm
ExtUtils::Mkbootstrap.3pm34590444editdlrm
ExtUtils::Mksymlists.3pm66990444editdlrm
ExtUtils::MM.3pm28290444editdlrm
ExtUtils::MM_AIX.3pm30440444editdlrm
ExtUtils::MM_Any.3pm311290444editdlrm
ExtUtils::MM_BeOS.3pm27980444editdlrm
ExtUtils::MM_Cygwin.3pm35690444editdlrm
ExtUtils::MM_Darwin.3pm26880444editdlrm
ExtUtils::MM_DOS.3pm30210444editdlrm
ExtUtils::MM_MacOS.3pm29870444editdlrm
ExtUtils::MM_NW5.3pm32000444editdlrm
ExtUtils::MM_OS2.3pm28860444editdlrm
ExtUtils::MM_QNX.3pm29420444editdlrm
ExtUtils::MM_Unix.3pm214190444editdlrm
ExtUtils::MM_UWIN.3pm30510444editdlrm
ExtUtils::MM_VMS.3pm149000444editdlrm
ExtUtils::MM_VOS.3pm29260444editdlrm
ExtUtils::MM_Win32.3pm59190444editdlrm
ExtUtils::MM_Win95.3pm32760444editdlrm
ExtUtils::MY.3pm27640444editdlrm
ExtUtils::testlib.3pm26900444editdlrm
File::GlobMapper.3pm114470444editdlrm
File::HomeDir.3pm182120444editdlrm
File::HomeDir::Darwin.3pm32320444editdlrm
File::HomeDir::Darwin::Carbon.3pm35170444editdlrm
File::HomeDir::Darwin::Cocoa.3pm34460444editdlrm
File::HomeDir::Driver.3pm31010444editdlrm
File::HomeDir::FreeDesktop.3pm34870444editdlrm
File::HomeDir::MacOS9.3pm34990444editdlrm
File::HomeDir::Test.3pm35340444editdlrm
File::HomeDir::Unix.3pm36380444editdlrm
File::HomeDir::Windows.3pm48910444editdlrm
File::Path.3pm310300444editdlrm
File::Slurp.3pm236260444editdlrm
File::Spec.3pm137840444editdlrm
File::Spec::AmigaOS.3pm28260444editdlrm
File::Spec::Cygwin.3pm39570444editdlrm
File::Spec::Epoc.3pm32510444editdlrm
File::Spec::Functions.3pm37990444editdlrm
File::Spec::Mac.3pm186640444editdlrm
File::Spec::OS2.3pm31180444editdlrm
File::Spec::Unix.3pm98370444editdlrm
File::Spec::VMS.3pm63890444editdlrm
File::Spec::Win32.3pm64510444editdlrm
File::Temp.3pm367990444editdlrm
File::Which.3pm97460444editdlrm
Getopt::Long.3pm526470444editdlrm
HDB.3pm109470444editdlrm
HDB::CMDS.3pm188940444editdlrm
HDB::Encode.3pm78630444editdlrm
HDB::Object.3pm100570444editdlrm
HTML::AsSubs.3pm85860444editdlrm
HTML::Element.3pm707930444editdlrm
HTML::Element::traverse.3pm159840444editdlrm
HTML::Form.3pm281580444editdlrm
HTML::Parse.3pm82770444editdlrm
HTML::Tree.3pm99820444editdlrm
HTML::Tree::AboutObjects.3pm379180444editdlrm
HTML::Tree::AboutTrees.3pm585340444editdlrm
HTML::Tree::Scanning.3pm343850444editdlrm
HTML::TreeBuilder.3pm301380444editdlrm
HTTP::Tiny.3pm277090444editdlrm
IO::AtomicFile.3pm53810444editdlrm
IO::Compress::Base.3pm35060444editdlrm
IO::Compress::Bzip2.3pm232600444editdlrm
IO::Compress::Deflate.3pm267680444editdlrm
IO::Compress::FAQ.3pm267180444editdlrm
IO::Compress::Gzip.3pm344890444editdlrm
IO::Compress::RawDeflate.3pm271340444editdlrm
IO::Compress::Zip.3pm408700444editdlrm
IO::InnerFile.3pm60350444editdlrm
IO::Lines.3pm37830444editdlrm
IO::Pty.3pm85790444editdlrm
IO::Scalar.3pm106790444editdlrm
IO::ScalarArray.3pm105280444editdlrm
IO::Stringy.3pm40490444editdlrm
IO::Tty.3pm83480444editdlrm
IO::Tty::Constant.3pm100120444editdlrm
IO::Uncompress::AnyInflate.3pm328000444editdlrm
IO::Uncompress::AnyUncompress.3pm307670444editdlrm
IO::Uncompress::Base.3pm35180444editdlrm
IO::Uncompress::Bunzip2.3pm291710444editdlrm
IO::Uncompress::Gunzip.3pm317190444editdlrm
IO::Uncompress::Inflate.3pm299150444editdlrm
IO::Uncompress::RawInflate.3pm295630444editdlrm
IO::Uncompress::Unzip.3pm312790444editdlrm
IO::Wrap.3pm106640444editdlrm
IO::WrapTie.3pm149870444editdlrm
JSON::PP.3pm500800444editdlrm
JSON::PP::Boolean.3pm26670444editdlrm
JSON::Syck.3pm80940444editdlrm
JSON::XS.3pm890370444editdlrm
JSON::XS::Boolean.3pm28570444editdlrm
lib::core::only.3pm56470444editdlrm
local::lib.3pm313900444editdlrm
LWP.3pm285060444editdlrm
LWP::Authen::Ntlm.3pm74890444editdlrm
LWP::ConnCache.3pm99670444editdlrm
LWP::Debug.3pm56080444editdlrm
LWP::MemberMixin.3pm48210444editdlrm
LWP::Protocol.3pm83500444editdlrm
LWP::Protocol::https.3pm56840444editdlrm
LWP::RobotUA.3pm90220444editdlrm
LWP::Simple.3pm90160444editdlrm
LWP::UserAgent.3pm481560444editdlrm
lwpcook.3pm148380444editdlrm
lwptut.3pm324410444editdlrm
Module::Build.3pm445630444editdlrm
Module::Build::API.3pm892670444editdlrm
Module::Build::Authoring.3pm173630444editdlrm
Module::Build::Base.3pm51570444editdlrm
Module::Build::Bundling.3pm99990444editdlrm
Module::Build::Compat.3pm108850444editdlrm
Module::Build::ConfigData.3pm73880444editdlrm
Module::Build::Cookbook.3pm259460444editdlrm
Module::Build::Notes.3pm46900444editdlrm
Module::Build::Platform::aix.3pm44720444editdlrm
Module::Build::Platform::cygwin.3pm45050444editdlrm
Module::Build::Platform::darwin.3pm44910444editdlrm
Module::Build::Platform::Default.3pm44900444editdlrm
Module::Build::Platform::MacOS.3pm53980444editdlrm
Module::Build::Platform::os2.3pm44740444editdlrm
Module::Build::Platform::Unix.3pm44810444editdlrm
Module::Build::Platform::VMS.3pm78850444editdlrm
Module::Build::Platform::VOS.3pm44770444editdlrm
Module::Build::Platform::Windows.3pm45290444editdlrm
Module::Build::PPMMaker.3pm48860444editdlrm
Mozilla::CA.3pm35710444editdlrm
Net::CIDR::Lite.3pm95620444editdlrm
Net::Cmd.3pm115450444editdlrm
Net::Config.3pm81000444editdlrm
Net::Domain.3pm38350444editdlrm
Net::FTP.3pm273410444editdlrm
Net::FTP::dataconn.3pm39790444editdlrm
Net::HTTP.3pm163750444editdlrm
Net::HTTP::NB.3pm53940444editdlrm
Net::HTTPS.3pm54380444editdlrm
Net::IP.3pm276970444editdlrm
Net::libnetFAQ.3pm147460444editdlrm
Net::Netrc.3pm67290444editdlrm
Net::NNTP.3pm231930444editdlrm
Net::POP3.3pm122590444editdlrm
Net::SMTP.3pm188800444editdlrm
Net::SSLeay.3pm3493500444editdlrm
Net::SSLeay::Handle.3pm91270444editdlrm
Net::Time.3pm45240444editdlrm
ok.3pm28510444editdlrm
Parse::CPAN::Meta.3pm101870444editdlrm
POD2::DE::local::lib.3pm228790444editdlrm
POD2::PT_BR::local::lib.3pm227620444editdlrm
Socket.3pm340780444editdlrm
Sub::Identify.3pm50870444editdlrm
SUPER.3pm73940444editdlrm
Switch.3pm190140444editdlrm
TAP::Base.3pm34010444editdlrm
TAP::Formatter::Base.3pm62330444editdlrm
TAP::Formatter::Color.3pm37170444editdlrm
TAP::Formatter::Console.3pm27220444editdlrm
TAP::Formatter::Console::ParallelSession.3pm30650444editdlrm
TAP::Formatter::Console::Session.3pm28320444editdlrm
TAP::Formatter::File.3pm26930444editdlrm
TAP::Formatter::File::Session.3pm28470444editdlrm
TAP::Formatter::Session.3pm36030444editdlrm
TAP::Harness.3pm213000444editdlrm
TAP::Harness::Beyond.3pm191180444editdlrm
TAP::Harness::Env.3pm54670444editdlrm
TAP::Object.3pm44970444editdlrm
TAP::Parser.3pm422100444editdlrm
TAP::Parser::Aggregator.3pm80230444editdlrm
TAP::Parser::Grammar.3pm86470444editdlrm
TAP::Parser::Iterator.3pm49930444editdlrm
TAP::Parser::Iterator::Array.3pm37710444editdlrm
TAP::Parser::Iterator::Process.3pm46010444editdlrm
TAP::Parser::Iterator::Stream.3pm37120444editdlrm
TAP::Parser::IteratorFactory.3pm69040444editdlrm
TAP::Parser::Multiplexer.3pm46460444editdlrm
TAP::Parser::Result.3pm75120444editdlrm
TAP::Parser::Result::Bailout.3pm32930444editdlrm
TAP::Parser::Result::Comment.3pm31180444editdlrm
TAP::Parser::Result::Plan.3pm41730444editdlrm
TAP::Parser::Result::Pragma.3pm30730444editdlrm
TAP::Parser::Result::Test.3pm71140444editdlrm
TAP::Parser::Result::Unknown.3pm29730444editdlrm
TAP::Parser::Result::Version.3pm31540444editdlrm
TAP::Parser::Result::YAML.3pm30860444editdlrm
TAP::Parser::ResultFactory.3pm55230444editdlrm
TAP::Parser::Scheduler.3pm81130444editdlrm
TAP::Parser::Scheduler::Job.3pm43010444editdlrm
TAP::Parser::Scheduler::Spinner.3pm33460444editdlrm
TAP::Parser::Source.3pm81700444editdlrm
TAP::Parser::SourceHandler.3pm75590444editdlrm
TAP::Parser::SourceHandler::Executable.3pm52970444editdlrm
TAP::Parser::SourceHandler::File.3pm45670444editdlrm
TAP::Parser::SourceHandler::Handle.3pm44250444editdlrm
TAP::Parser::SourceHandler::Perl.3pm62620444editdlrm
TAP::Parser::SourceHandler::RawTAP.3pm44340444editdlrm
TAP::Parser::YAMLish::Reader.3pm39950444editdlrm
TAP::Parser::YAMLish::Writer.3pm48790444editdlrm
Template.3pm279090444editdlrm
Template::Base.3pm81490444editdlrm
Template::Config.3pm86870444editdlrm
Template::Constants.3pm78150444editdlrm
Template::Context.3pm266370444editdlrm
Template::Directive.3pm48210444editdlrm
Template::Document.3pm118290444editdlrm
Template::Exception.3pm67630444editdlrm
Template::FAQ.3pm145640444editdlrm
Template::Filters.3pm98170444editdlrm
Template::Grammar.3pm50390444editdlrm
Template::Iterator.3pm114130444editdlrm
Template::Manual.3pm63170444editdlrm
Template::Manual::Config.3pm795040444editdlrm
Template::Manual::Credits.3pm82460444editdlrm
Template::Manual::Directives.3pm772930444editdlrm
Template::Manual::Filters.3pm208100444editdlrm
Template::Manual::Internals.3pm234330444editdlrm
Template::Manual::Intro.3pm140920444editdlrm
Template::Manual::Plugins.3pm137800444editdlrm
Template::Manual::Syntax.3pm145490444editdlrm
Template::Manual::Variables.3pm331100444editdlrm
Template::Manual::Views.3pm259530444editdlrm
Template::Manual::VMethods.3pm281950444editdlrm
Template::Modules.3pm98270444editdlrm
Template::Namespace::Constants.3pm60020444editdlrm
Template::Parser.3pm99170444editdlrm
Template::Plugin.3pm109370444editdlrm
Template::Plugin::Assert.3pm54460444editdlrm
Template::Plugin::CGI.3pm61880444editdlrm
Template::Plugin::Datafile.3pm66010444editdlrm
Template::Plugin::Date.3pm95380444editdlrm
Template::Plugin::Directory.3pm119790444editdlrm
Template::Plugin::Dumper.3pm60780444editdlrm
Template::Plugin::File.3pm130090444editdlrm
Template::Plugin::Filter.3pm129360444editdlrm
Template::Plugin::Format.3pm48950444editdlrm
Template::Plugin::HTML.3pm78230444editdlrm
Template::Plugin::Image.3pm119500444editdlrm
Template::Plugin::Iterator.3pm50610444editdlrm
Template::Plugin::Math.3pm66230444editdlrm
Template::Plugin::Pod.3pm47840444editdlrm
Template::Plugin::Procedural.3pm56310444editdlrm
Template::Plugin::Scalar.3pm50320444editdlrm
Template::Plugin::String.3pm172630444editdlrm
Template::Plugin::Table.3pm111450444editdlrm
Template::Plugin::URL.3pm80800444editdlrm
Template::Plugin::View.3pm54790444editdlrm
Template::Plugin::Wrap.3pm64330444editdlrm
Template::Plugins.3pm97330444editdlrm
Template::Provider.3pm146780444editdlrm
Template::Service.3pm148130444editdlrm
Template::Stash.3pm119830444editdlrm
Template::Stash::Context.3pm71300444editdlrm
Template::Stash::XS.3pm66440444editdlrm
Template::Test.3pm155240444editdlrm
Template::Toolkit.3pm92270444editdlrm
Template::Tools.3pm50010444editdlrm
Template::Tools::tpage.3pm58060444editdlrm
Template::Tools::ttree.3pm165670444editdlrm
Template::Tutorial.3pm45660444editdlrm
Template::Tutorial::Datafile.3pm195390444editdlrm
Template::Tutorial::Web.3pm341180444editdlrm
Template::View.3pm126180444editdlrm
Template::VMethods.3pm46880444editdlrm
Term::ReadKey.3pm130290444editdlrm
Test2.3pm95560444editdlrm
Test2::API.3pm304240444editdlrm
Test2::API::Breakage.3pm49880444editdlrm
Test2::API::Context.3pm175740444editdlrm
Test2::API::Instance.3pm124040444editdlrm
Test2::API::Stack.3pm65680444editdlrm
Test2::Event.3pm91890444editdlrm
Test2::Event::Bail.3pm34700444editdlrm
Test2::Event::Diag.3pm33380444editdlrm
Test2::Event::Exception.3pm35200444editdlrm
Test2::Event::Generic.3pm76620444editdlrm
Test2::Event::Info.3pm42610444editdlrm
Test2::Event::Note.3pm33230444editdlrm
Test2::Event::Ok.3pm42550444editdlrm
Test2::Event::Plan.3pm39070444editdlrm
Test2::Event::Skip.3pm36650444editdlrm
Test2::Event::Subtest.3pm35730444editdlrm
Test2::Event::Waiting.3pm31070444editdlrm
Test2::Formatter.3pm52080444editdlrm
Test2::Formatter::TAP.3pm92550444editdlrm
Test2::Hub.3pm167550444editdlrm
Test2::Hub::Interceptor.3pm29370444editdlrm
Test2::Hub::Interceptor::Terminator.3pm29800444editdlrm
Test2::Hub::Subtest.3pm38030444editdlrm
Test2::IPC.3pm33240444editdlrm
Test2::IPC::Driver.3pm95120444editdlrm
Test2::IPC::Driver::Files.3pm38220444editdlrm
Test2::Transition.3pm184060444editdlrm
Test2::Util.3pm51230444editdlrm
Test2::Util::ExternalMeta.3pm55940444editdlrm
Test2::Util::HashBase.3pm74630444editdlrm
Test2::Util::Trace.3pm55770444editdlrm
Test::Builder.3pm269150444editdlrm
Test::Builder::Formatter.3pm36560444editdlrm
Test::Builder::IO::Scalar.3pm97400444editdlrm
Test::Builder::Module.3pm55670444editdlrm
Test::Builder::Tester.3pm115500444editdlrm
Test::Builder::Tester::Color.3pm31310444editdlrm
Test::Builder::TodoDiag.3pm31290444editdlrm
Test::Fatal.3pm93030444editdlrm
Test::HACKING.3pm92530444editdlrm
Test::Harness.3pm110280444editdlrm
Test::LeakTrace.3pm100220444editdlrm
Test::LeakTrace::JA.3pm123280444editdlrm
Test::LeakTrace::Script.3pm51400444editdlrm
Test::MockModule.3pm108180444editdlrm
Test::More.3pm432150444editdlrm
Test::More::UTF8.3pm36020444editdlrm
Test::RequiresInternet.3pm39440444editdlrm
Test::Simple.3pm91190444editdlrm
Test::Tester.3pm157810444editdlrm
Test::Tester::Capture.3pm29020444editdlrm
Test::Tester::CaptureRunner.3pm26730444editdlrm
Test::Tutorial.3pm242610444editdlrm
Test::use::ok.3pm38410444editdlrm
Test::Warnings.3pm142310444editdlrm
Text::Glob.3pm61060444editdlrm
Text::Template.3pm654990444editdlrm
Text::Template::Preprocess.3pm62700444editdlrm
Time::Zone.3pm34130444editdlrm
TimeDate.3pm23970444editdlrm
Try::Tiny.3pm203430444editdlrm
Types::Serialiser.3pm114730444editdlrm
Types::Serialiser::Error.3pm27050444editdlrm
version.3pm139370444editdlrm
version::Internals.3pm302870444editdlrm
WWW::Mechanize.3pm681960444editdlrm
WWW::Mechanize::Cookbook.3pm71590444editdlrm
WWW::Mechanize::Examples.3pm224900444editdlrm
WWW::Mechanize::FAQ.3pm243590444editdlrm
WWW::Mechanize::Image.3pm64900444editdlrm
WWW::Mechanize::Link.3pm65180444editdlrm
XML::NamespaceSupport.3pm130520444editdlrm
XML::Parser.3pm262960444editdlrm
XML::Parser::Expat.3pm267990444editdlrm
XML::Parser::Style::Debug.3pm44080444editdlrm
XML::Parser::Style::Objects.3pm48880444editdlrm
XML::Parser::Style::Stream.3pm59250444editdlrm
XML::Parser::Style::Subs.3pm48630444editdlrm
XML::Parser::Style::Tree.3pm55290444editdlrm
XML::SAX.3pm92290444editdlrm
XML::SAX::Base.3pm137040444editdlrm
XML::SAX::BuildSAXBase.3pm137000444editdlrm
XML::SAX::DocumentLocator.3pm52390444editdlrm
XML::SAX::Exception.3pm56220444editdlrm
XML::SAX::Expat.3pm64040444editdlrm
XML::SAX::Intro.3pm202200444editdlrm
XML::SAX::ParserFactory.3pm79190444editdlrm
XML::SAX::PurePerl.3pm61720444editdlrm
XML::SAX::PurePerl::Reader.3pm41030444editdlrm
XML::Simple.3pm655890444editdlrm
XML::Simple::FAQ.3pm272230444editdlrm
YAML.3pm299800444editdlrm
YAML::Any.3pm74870444editdlrm
YAML::Dumper.3pm47760444editdlrm
YAML::Dumper::Base.3pm46420444editdlrm
YAML::Error.3pm46810444editdlrm
YAML::Loader.3pm47660444editdlrm
YAML::Loader::Base.3pm46420444editdlrm
YAML::Marshall.3pm46400444editdlrm
YAML::Node.3pm67430444editdlrm
YAML::Syck.3pm108060444editdlrm
YAML::Tag.3pm44990444editdlrm
YAML::Types.3pm47160444editdlrm
Edit: /usr/local/share/man/man3/ExtUtils::MakeMaker::FAQ.3pm (26829B)
.\" Automatically generated by Pod::Man 2.27 (Pod::Simple 3.28) .\" .\" Standard preamble: .\" ======================================================================== .de Sp \" Vertical space (when we can't use .PP) .if t .sp .5v .if n .sp .. .de Vb \" Begin verbatim text .ft CW .nf .ne \\$1 .. .de Ve \" End verbatim text .ft R .fi .. .\" Set up some character translations and predefined strings. \*(-- will .\" give an unbreakable dash, \*(PI will give pi, \*(L" will give a left .\" double quote, and \*(R" will give a right double quote. \*(C+ will .\" give a nicer C++. Capital omega is used to do unbreakable dashes and .\" therefore won't be available. \*(C` and \*(C' expand to `' in nroff, .\" nothing in troff, for use with C<>. .tr \(*W- .ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p' .ie n \{\ . ds -- \(*W- . ds PI pi . if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch . if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\" diablo 12 pitch . ds L" "" . ds R" "" . ds C` "" . ds C' "" 'br\} .el\{\ . ds -- \|\(em\| . ds PI \(*p . ds L" `` . ds R" '' . ds C` . ds C' 'br\} .\" .\" Escape single quotes in literal strings from groff's Unicode transform. .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" .\" If the F register is turned on, we'll generate index entries on stderr for .\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index .\" entries marked with X<> in POD. Of course, you'll have to process the .\" output yourself in some meaningful fashion. .\" .\" Avoid warning from groff about undefined register 'F'. .de IX .. .nr rF 0 .if \n(.g .if rF .nr rF 1 .if (\n(rF:(\n(.g==0)) \{ . if \nF \{ . de IX . tm Index:\\$1\t\\n%\t"\\$2" .. . if !\nF==2 \{ . nr % 0 . nr F 2 . \} . \} .\} .rr rF .\" ======================================================================== .\" .IX Title "ExtUtils::MakeMaker::FAQ 3" .TH ExtUtils::MakeMaker::FAQ 3 "2016-08-20" "perl v5.16.3" "User Contributed Perl Documentation" .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l .nh .SH "NAME" ExtUtils::MakeMaker::FAQ \- Frequently Asked Questions About MakeMaker .SH "DESCRIPTION" .IX Header "DESCRIPTION" FAQs, tricks and tips for \f(CW\*(C`ExtUtils::MakeMaker\*(C'\fR. .SS "Module Installation" .IX Subsection "Module Installation" .IP "How do I install a module into my home directory?" 4 .IX Item "How do I install a module into my home directory?" If you're not the Perl administrator you probably don't have permission to install a module to its default location. Ways of handling this with a \fBlot\fR less manual effort on your part are perlbrew and local::lib. .Sp Otherwise, you can install it for your own use into your home directory like so: .Sp .Vb 2 \& # Non\-unix folks, replace ~ with /path/to/your/home/dir \& perl Makefile.PL INSTALL_BASE=~ .Ve .Sp This will put modules into \fI~/lib/perl5\fR, man pages into \fI~/man\fR and programs into \fI~/bin\fR. .Sp To ensure your Perl programs can see these newly installed modules, set your \f(CW\*(C`PERL5LIB\*(C'\fR environment variable to \fI~/lib/perl5\fR or tell each of your programs to look in that directory with the following: .Sp .Vb 1 \& use lib "$ENV{HOME}/lib/perl5"; .Ve .Sp or if \f(CW$ENV\fR{\s-1HOME\s0} isn't set and you don't want to set it for some reason, do it the long way. .Sp .Vb 1 \& use lib "/path/to/your/home/dir/lib/perl5"; .Ve .IP "How do I get MakeMaker and Module::Build to install to the same place?" 4 .IX Item "How do I get MakeMaker and Module::Build to install to the same place?" Module::Build, as of 0.28, supports two ways to install to the same location as MakeMaker. .Sp We highly recommend the install_base method, its the simplest and most closely approximates the expected behavior of an installation prefix. .Sp 1) Use \s-1INSTALL_BASE / \s0\f(CW\*(C`\-\-install_base\*(C'\fR .Sp MakeMaker (as of 6.31) and Module::Build (as of 0.28) both can install to the same locations using the \*(L"install_base\*(R" concept. See \&\*(L"\s-1INSTALL_BASE\*(R"\s0 in ExtUtils::MakeMaker for details. To get \s-1MM\s0 and \s-1MB\s0 to install to the same location simply set \s-1INSTALL_BASE\s0 in \s-1MM\s0 and \&\f(CW\*(C`\-\-install_base\*(C'\fR in \s-1MB\s0 to the same location. .Sp .Vb 2 \& perl Makefile.PL INSTALL_BASE=/whatever \& perl Build.PL \-\-install_base /whatever .Ve .Sp This works most like other language's behavior when you specify a prefix. We recommend this method. .Sp 2) Use \s-1PREFIX / \s0\f(CW\*(C`\-\-prefix\*(C'\fR .Sp Module::Build 0.28 added support for \f(CW\*(C`\-\-prefix\*(C'\fR which works like MakeMaker's \s-1PREFIX.\s0 .Sp .Vb 2 \& perl Makefile.PL PREFIX=/whatever \& perl Build.PL \-\-prefix /whatever .Ve .Sp We highly discourage this method. It should only be used if you know what you're doing and specifically need the \s-1PREFIX\s0 behavior. The \&\s-1PREFIX\s0 algorithm is complicated and focused on matching the system installation. .IP "How do I keep from installing man pages?" 4 .IX Item "How do I keep from installing man pages?" Recent versions of MakeMaker will only install man pages on Unix-like operating systems. .Sp For an individual module: .Sp .Vb 1 \& perl Makefile.PL INSTALLMAN1DIR=none INSTALLMAN3DIR=none .Ve .Sp If you want to suppress man page installation for all modules you have to reconfigure Perl and tell it 'none' when it asks where to install man pages. .IP "How do I use a module without installing it?" 4 .IX Item "How do I use a module without installing it?" Two ways. One is to build the module normally... .Sp .Vb 3 \& perl Makefile.PL \& make \& make test .Ve .Sp \&...and then use blib to point Perl at the built but uninstalled module: .Sp .Vb 2 \& perl \-Mblib script.pl \& perl \-Mblib \-e \*(Aq...\*(Aq .Ve .Sp The other is to install the module in a temporary location. .Sp .Vb 4 \& perl Makefile.PL INSTALL_BASE=~/tmp \& make \& make test \& make install .Ve .Sp And then set \s-1PERL5LIB\s0 to \fI~/tmp/lib/perl5\fR. This works well when you have multiple modules to work with. It also ensures that the module goes through its full installation process which may modify it. Again, local::lib may assist you here. .IP "How can I organize tests into subdirectories and have them run?" 4 .IX Item "How can I organize tests into subdirectories and have them run?" Let's take the following test directory structure: .Sp .Vb 3 \& t/foo/sometest.t \& t/bar/othertest.t \& t/bar/baz/anothertest.t .Ve .Sp Now, inside of the \f(CW\*(C`WriteMakeFile()\*(C'\fR function in your \fIMakefile.PL\fR, specify where your tests are located with the \f(CW\*(C`test\*(C'\fR directive: .Sp .Vb 1 \& test => {TESTS => \*(Aqt/*.t t/*/*.t t/*/*/*.t\*(Aq} .Ve .Sp The first entry in the string will run all tests in the top-level \fIt/\fR directory. The second will run all test files located in any subdirectory under \&\fIt/\fR. The third, runs all test files within any subdirectory within any other subdirectory located under \fIt/\fR. .Sp Note that you do not have to use wildcards. You can specify explicitly which subdirectories to run tests in: .Sp .Vb 1 \& test => {TESTS => \*(Aqt/*.t t/foo/*.t t/bar/baz/*.t\*(Aq} .Ve .IP "\s-1PREFIX\s0 vs \s-1INSTALL_BASE\s0 from Module::Build::Cookbook" 4 .IX Item "PREFIX vs INSTALL_BASE from Module::Build::Cookbook" The behavior of \s-1PREFIX\s0 is complicated and depends closely on how your Perl is configured. The resulting installation locations will vary from machine to machine and even different installations of Perl on the same machine. Because of this, its difficult to document where prefix will place your modules. .Sp In contrast, \s-1INSTALL_BASE\s0 has predictable, easy to explain installation locations. Now that Module::Build and MakeMaker both have \s-1INSTALL_BASE\s0 there is little reason to use \s-1PREFIX\s0 other than to preserve your existing installation locations. If you are starting a fresh Perl installation we encourage you to use \s-1INSTALL_BASE.\s0 If you have an existing installation installed via \s-1PREFIX,\s0 consider moving it to an installation structure matching \s-1INSTALL_BASE\s0 and using that instead. .ie n .IP "Generating *.pm files with substitutions eg of $VERSION" 4 .el .IP "Generating *.pm files with substitutions eg of \f(CW$VERSION\fR" 4 .IX Item "Generating *.pm files with substitutions eg of $VERSION" If you want to configure your module files for local conditions, or to automatically insert a version number, you can use \s-1EUMM\s0's \f(CW\*(C`PL_FILES\*(C'\fR capability, where it will automatically run each \fI*.PL\fR it finds to generate its basename. For instance: .Sp .Vb 10 \& # Makefile.PL: \& require \*(Aqcommon.pl\*(Aq; \& my $version = get_version(); \& my @pms = qw(Foo.pm); \& WriteMakefile( \& NAME => \*(AqFoo\*(Aq, \& VERSION => $version, \& PM => { map { ($_ => "\e$(INST_LIB)/$_") } @pms }, \& clean => { FILES => join \*(Aq \*(Aq, @pms }, \& ); \& \& # common.pl: \& sub get_version { \*(Aq0.04\*(Aq } \& sub process { my $v = get_version(); s/_\|_VERSION_\|_/$v/g; } \& 1; \& \& # Foo.pm.PL: \& require \*(Aqcommon.pl\*(Aq; \& $_ = join \*(Aq\*(Aq, ; \& process(); \& my $file = shift; \& open my $fh, \*(Aq>\*(Aq, $file or die "$file: $!"; \& print $fh $_; \& _\|_DATA_\|_ \& package Foo; \& our $VERSION = \*(Aq_\|_VERSION_\|_\*(Aq; \& 1; .Ve .Sp You may notice that \f(CW\*(C`PL_FILES\*(C'\fR is not specified above, since the default of mapping each .PL file to its basename works well. .Sp If the generated module were architecture-specific, you could replace \&\f(CW\*(C`$(INST_LIB)\*(C'\fR above with \f(CW\*(C`$(INST_ARCHLIB)\*(C'\fR, although if you locate modules under \fIlib\fR, that would involve ensuring any \f(CW\*(C`lib/\*(C'\fR in front of the module location were removed. .SS "Common errors and problems" .IX Subsection "Common errors and problems" .ie n .IP """No rule to make target `/usr/lib/perl5/CORE/config.h', needed by `Makefile'""" 4 .el .IP "``No rule to make target `/usr/lib/perl5/CORE/config.h', needed by `Makefile'''" 4 .IX Item "No rule to make target `/usr/lib/perl5/CORE/config.h', needed by `Makefile'" Just what it says, you're missing that file. MakeMaker uses it to determine if perl has been rebuilt since the Makefile was made. It's a bit of a bug that it halts installation. .Sp Some operating systems don't ship the \s-1CORE\s0 directory with their base perl install. To solve the problem, you likely need to install a perl development package such as perl-devel (CentOS, Fedora and other Redhat systems) or perl (Ubuntu and other Debian systems). .SS "Philosophy and History" .IX Subsection "Philosophy and History" .IP "Why not just use ?" 4 .IX Item "Why not just use ?" Why did MakeMaker reinvent the build configuration wheel? Why not just use autoconf or automake or ppm or Ant or ... .Sp There are many reasons, but the major one is cross-platform compatibility. .Sp Perl is one of the most ported pieces of software ever. It works on operating systems I've never even heard of (see perlport for details). It needs a build tool that can work on all those platforms and with any wacky C compilers and linkers they might have. .Sp No such build tool exists. Even make itself has wildly different dialects. So we have to build our own. .IP "What is Module::Build and how does it relate to MakeMaker?" 4 .IX Item "What is Module::Build and how does it relate to MakeMaker?" Module::Build is a project by Ken Williams to supplant MakeMaker. Its primary advantages are: .RS 4 .IP "\(bu" 8 pure perl. no make, no shell commands .IP "\(bu" 8 easier to customize .IP "\(bu" 8 cleaner internals .IP "\(bu" 8 less cruft .RE .RS 4 .Sp Module::Build was long the official heir apparent to MakeMaker. The rate of both its development and adoption has slowed in recent years, though, and it is unclear what the future holds for it. That said, Module::Build set the stage for \fIsomething\fR to become the heir to MakeMaker. MakeMaker's maintainers have long said that it is a dead end and should be kept functioning, while being cautious about extending with new features. .RE .SS "Module Writing" .IX Subsection "Module Writing" .ie n .IP "How do I keep my $VERSION up to date without resetting it manually?" 4 .el .IP "How do I keep my \f(CW$VERSION\fR up to date without resetting it manually?" 4 .IX Item "How do I keep my $VERSION up to date without resetting it manually?" Often you want to manually set the \f(CW$VERSION\fR in the main module distribution because this is the version that everybody sees on \s-1CPAN\s0 and maybe you want to customize it a bit. But for all the other modules in your dist, \f(CW$VERSION\fR is really just bookkeeping and all that's important is it goes up every time the module is changed. Doing this by hand is a pain and you often forget. .Sp Probably the easiest way to do this is using \fIperl-reversion\fR in Perl::Version: .Sp .Vb 1 \& perl\-reversion \-bump .Ve .Sp If your version control system supports revision numbers (git doesn't easily), the simplest way to do it automatically is to use its revision number (you are using version control, right?). .Sp In \s-1CVS, RCS\s0 and \s-1SVN\s0 you use \f(CW$Revision\fR$ (see the documentation of your version control system for details). Every time the file is checked in the \f(CW$Revision\fR$ will be updated, updating your \f(CW$VERSION\fR. .Sp \&\s-1SVN\s0 uses a simple integer for \f(CW$Revision\fR$ so you can adapt it for your \&\f(CW$VERSION\fR like so: .Sp .Vb 1 \& ($VERSION) = q$Revision$ =~ /(\ed+)/; .Ve .Sp In \s-1CVS\s0 and \s-1RCS\s0 version 1.9 is followed by 1.10. Since \s-1CPAN\s0 compares version numbers numerically we use a \fIsprintf()\fR to convert 1.9 to 1.009 and 1.10 to 1.010 which compare properly. .Sp .Vb 1 \& $VERSION = sprintf "%d.%03d", q$Revision$ =~ /(\ed+)\e.(\ed+)/g; .Ve .Sp If branches are involved (ie. \f(CW$Revision:\fR 1.5.3.4$) it's a little more complicated. .Sp .Vb 2 \& # must be all on one line or MakeMaker will get confused. \& $VERSION = do { my @r = (q$Revision$ =~ /\ed+/g); sprintf "%d."."%03d" x $#r, @r }; .Ve .Sp In \s-1SVN,\s0 \f(CW$Revision\fR$ should be the same for every file in the project so they would all have the same \f(CW$VERSION\fR. \s-1CVS\s0 and \s-1RCS\s0 have a different \&\f(CW$Revision\fR$ per file so each file will have a different \f(CW$VERSION\fR. Distributed version control systems, such as \s-1SVK,\s0 may have a different \&\f(CW$Revision\fR$ based on who checks out the file, leading to a different \f(CW$VERSION\fR on each machine! Finally, some distributed version control systems, such as darcs, have no concept of revision number at all. .IP "What's this \fI\s-1META\s0.yml\fR thing and how did it get in my \fI\s-1MANIFEST\s0\fR?!" 4 .IX Item "What's this META.yml thing and how did it get in my MANIFEST?!" \&\fI\s-1META\s0.yml\fR is a module meta-data file pioneered by Module::Build and automatically generated as part of the 'distdir' target (and thus \&'dist'). See \*(L"Module Meta-Data\*(R" in ExtUtils::MakeMaker. .Sp To shut off its generation, pass the \f(CW\*(C`NO_META\*(C'\fR flag to \f(CW\*(C`WriteMakefile()\*(C'\fR. .IP "How do I delete everything not in my \fI\s-1MANIFEST\s0\fR?" 4 .IX Item "How do I delete everything not in my MANIFEST?" Some folks are surprised that \f(CW\*(C`make distclean\*(C'\fR does not delete everything not listed in their \s-1MANIFEST \s0(thus making a clean distribution) but only tells them what they need to delete. This is done because it is considered too dangerous. While developing your module you might write a new file, not add it to the \s-1MANIFEST,\s0 then run a \f(CW\*(C`distclean\*(C'\fR and be sad because your new work was deleted. .Sp If you really want to do this, you can use \&\f(CW\*(C`ExtUtils::Manifest::manifind()\*(C'\fR to read the \s-1MANIFEST\s0 and File::Find to delete the files. But you have to be careful. Here's a script to do that. Use at your own risk. Have fun blowing holes in your foot. .Sp .Vb 1 \& #!/usr/bin/perl \-w \& \& use strict; \& \& use File::Spec; \& use File::Find; \& use ExtUtils::Manifest qw(maniread); \& \& my %manifest = map {( $_ => 1 )} \& grep { File::Spec\->canonpath($_) } \& keys %{ maniread() }; \& \& if( !keys %manifest ) { \& print "No files found in MANIFEST. Stopping.\en"; \& exit; \& } \& \& find({ \& wanted => sub { \& my $path = File::Spec\->canonpath($_); \& \& return unless \-f $path; \& return if exists $manifest{ $path }; \& \& print "unlink $path\en"; \& unlink $path; \& }, \& no_chdir => 1 \& }, \& "." \& ); .Ve .IP "Which tar should I use on Windows?" 4 .IX Item "Which tar should I use on Windows?" We recommend ptar from Archive::Tar not older than 1.66 with '\-C' option. .IP "Which zip should I use on Windows for '[ndg]make zipdist'?" 4 .IX Item "Which zip should I use on Windows for '[ndg]make zipdist'?" We recommend InfoZIP: .SS "\s-1XS\s0" .IX Subsection "XS" \fIHow do I prevent \*(L"object version X.XX does not match bootstrap parameter Y.YY\*(R" errors?\fR .IX Subsection "How do I prevent object version X.XX does not match bootstrap parameter Y.YY errors?" .PP \&\s-1XS\s0 code is very sensitive to the module version number and will complain if the version number in your Perl module doesn't match. If you change your module's version # without rerunning Makefile.PL the old version number will remain in the Makefile, causing the \s-1XS\s0 code to be built with the wrong number. .PP To avoid this, you can force the Makefile to be rebuilt whenever you change the module containing the version number by adding this to your \&\fIWriteMakefile()\fR arguments. .PP .Vb 1 \& depend => { \*(Aq$(FIRST_MAKEFILE)\*(Aq => \*(Aq$(VERSION_FROM)\*(Aq } .Ve .PP \fIHow do I make two or more \s-1XS\s0 files coexist in the same directory?\fR .IX Subsection "How do I make two or more XS files coexist in the same directory?" .PP Sometimes you need to have two and more \s-1XS\s0 files in the same package. There are three ways: \f(CW\*(C`XSMULTI\*(C'\fR, separate directories, and bootstrapping one \s-1XS\s0 from another. .PP \s-1XSMULTI\s0 .IX Subsection "XSMULTI" .PP Structure your modules so they are all located under \fIlib\fR, such that \&\f(CW\*(C`Foo::Bar\*(C'\fR is in \fIlib/Foo/Bar.pm\fR and \fIlib/Foo/Bar.xs\fR, etc. Have your top-level \f(CW\*(C`WriteMakefile\*(C'\fR set the variable \f(CW\*(C`XSMULTI\*(C'\fR to a true value. .PP Er, that's it. .PP Separate directories .IX Subsection "Separate directories" .PP Put each \s-1XS\s0 files into separate directories, each with their own \&\fIMakefile.PL\fR. Make sure each of those \fIMakefile.PL\fRs has the correct \&\f(CW\*(C`CFLAGS\*(C'\fR, \f(CW\*(C`INC\*(C'\fR, \f(CW\*(C`LIBS\*(C'\fR etc. You will need to make sure the top-level \&\fIMakefile.PL\fR refers to each of these using \f(CW\*(C`DIR\*(C'\fR. .PP Bootstrapping .IX Subsection "Bootstrapping" .PP Let's assume that we have a package \f(CW\*(C`Cool::Foo\*(C'\fR, which includes \&\f(CW\*(C`Cool::Foo\*(C'\fR and \f(CW\*(C`Cool::Bar\*(C'\fR modules each having a separate \s-1XS\s0 file. First we use the following \fIMakefile.PL\fR: .PP .Vb 1 \& use ExtUtils::MakeMaker; \& \& WriteMakefile( \& NAME => \*(AqCool::Foo\*(Aq, \& VERSION_FROM => \*(AqFoo.pm\*(Aq, \& OBJECT => q/$(O_FILES)/, \& # ... other attrs ... \& ); .Ve .PP Notice the \f(CW\*(C`OBJECT\*(C'\fR attribute. MakeMaker generates the following variables in \fIMakefile\fR: .PP .Vb 7 \& # Handy lists of source code files: \& XS_FILES= Bar.xs \e \& Foo.xs \& C_FILES = Bar.c \e \& Foo.c \& O_FILES = Bar.o \e \& Foo.o .Ve .PP Therefore we can use the \f(CW\*(C`O_FILES\*(C'\fR variable to tell MakeMaker to use these objects into the shared library. .PP That's pretty much it. Now write \fIFoo.pm\fR and \fIFoo.xs\fR, \fIBar.pm\fR and \fIBar.xs\fR, where \fIFoo.pm\fR bootstraps the shared library and \&\fIBar.pm\fR simply loading \fIFoo.pm\fR. .PP The only issue left is to how to bootstrap \fIBar.xs\fR. This is done from \fIFoo.xs\fR: .PP .Vb 1 \& MODULE = Cool::Foo PACKAGE = Cool::Foo \& \& BOOT: \& # boot the second XS file \& boot_Cool_\|_Bar(aTHX_ cv); .Ve .PP If you have more than two files, this is the place where you should boot extra \s-1XS\s0 files from. .PP The following four files sum up all the details discussed so far. .PP .Vb 3 \& Foo.pm: \& \-\-\-\-\-\-\- \& package Cool::Foo; \& \& require DynaLoader; \& \& our @ISA = qw(DynaLoader); \& our $VERSION = \*(Aq0.01\*(Aq; \& bootstrap Cool::Foo $VERSION; \& \& 1; \& \& Bar.pm: \& \-\-\-\-\-\-\- \& package Cool::Bar; \& \& use Cool::Foo; # bootstraps Bar.xs \& \& 1; \& \& Foo.xs: \& \-\-\-\-\-\-\- \& #include "EXTERN.h" \& #include "perl.h" \& #include "XSUB.h" \& \& MODULE = Cool::Foo PACKAGE = Cool::Foo \& \& BOOT: \& # boot the second XS file \& boot_Cool_\|_Bar(aTHX_ cv); \& \& MODULE = Cool::Foo PACKAGE = Cool::Foo PREFIX = cool_foo_ \& \& void \& cool_foo_perl_rules() \& \& CODE: \& fprintf(stderr, "Cool::Foo says: Perl Rules\en"); \& \& Bar.xs: \& \-\-\-\-\-\-\- \& #include "EXTERN.h" \& #include "perl.h" \& #include "XSUB.h" \& \& MODULE = Cool::Bar PACKAGE = Cool::Bar PREFIX = cool_bar_ \& \& void \& cool_bar_perl_rules() \& \& CODE: \& fprintf(stderr, "Cool::Bar says: Perl Rules\en"); .Ve .PP And of course a very basic test: .PP .Vb 9 \& t/cool.t: \& \-\-\-\-\-\-\-\- \& use Test; \& BEGIN { plan tests => 1 }; \& use Cool::Foo; \& use Cool::Bar; \& Cool::Foo::perl_rules(); \& Cool::Bar::perl_rules(); \& ok 1; .Ve .PP This tip has been brought to you by Nick Ing-Simmons and Stas Bekman. .PP An alternative way to achieve this can be seen in Gtk2::CodeGen and Glib::CodeGen. .SH "DESIGN" .IX Header "DESIGN" .SS "MakeMaker object hierarchy (simplified)" .IX Subsection "MakeMaker object hierarchy (simplified)" What most people need to know (superclasses on top.) .PP .Vb 9 \& ExtUtils::MM_Any \& | \& ExtUtils::MM_Unix \& | \& ExtUtils::MM_{Current OS} \& | \& ExtUtils::MakeMaker \& | \& MY .Ve .PP The object actually used is of the class \s-1MY\s0 which allows you to override bits of MakeMaker inside your Makefile.PL by declaring \&\fIMY::foo()\fR methods. .SS "MakeMaker object hierarchy (real)" .IX Subsection "MakeMaker object hierarchy (real)" Here's how it really works: .PP .Vb 10 \& ExtUtils::MM_Any \& | \& ExtUtils::MM_Unix \& | \& ExtUtils::Liblist::Kid ExtUtils::MM_{Current OS} (if necessary) \& | | \& ExtUtils::Liblist ExtUtils::MakeMaker | \& | | | \& | | |\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\- \& ExtUtils::MM \& | | \& ExtUtils::MY MM (created by ExtUtils::MM) \& | | \& MY (created by ExtUtils::MY) | \& . | \& (mixin) | \& . | \& PACK### (created each call to ExtUtils::MakeMaker\->new) .Ve .PP \&\s-1NOTE:\s0 Yes, this is a mess. See for some history. .PP \&\s-1NOTE:\s0 When ExtUtils::MM is loaded it chooses a superclass for \s-1MM\s0 from amongst the ExtUtils::MM_* modules based on the current operating system. .PP \&\s-1NOTE:\s0 ExtUtils::MM_{Current \s-1OS\s0} represents one of the ExtUtils::MM_* modules except ExtUtils::MM_Any chosen based on your operating system. .PP \&\s-1NOTE:\s0 The main object used by MakeMaker is a PACK### object, *not* ExtUtils::MakeMaker. It is, effectively, a subclass of \s-1MY,\s0 ExtUtils::Makemaker, ExtUtils::Liblist and ExtUtils::MM_{Current \s-1OS\s0} .PP \&\s-1NOTE:\s0 The methods in \s-1MY\s0 are simply copied into PACK### rather than \&\s-1MY\s0 being a superclass of PACK###. I don't remember the rationale. .PP \&\s-1NOTE:\s0 ExtUtils::Liblist should be removed from the inheritence hiearchy and simply be called as functions. .PP \&\s-1NOTE:\s0 Modules like File::Spec and Exporter have been omitted for clarity. .SS "The MM_* hierarchy" .IX Subsection "The MM_* hierarchy" .Vb 9 \& MM_Win95 MM_NW5 \& \e / \& MM_BeOS MM_Cygwin MM_OS2 MM_VMS MM_Win32 MM_DOS MM_UWIN \& \e | | | / / / \& \-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\- \& | | \& MM_Unix | \& | | \& MM_Any .Ve .PP \&\s-1NOTE:\s0 Each direct MM_Unix subclass is also an MM_Any subclass. This is a temporary hack because MM_Unix overrides some MM_Any methods with Unix specific code. It allows the non-Unix modules to see the original MM_Any implementations. .PP \&\s-1NOTE:\s0 Modules like File::Spec and Exporter have been omitted for clarity. .SH "PATCHING" .IX Header "PATCHING" If you have a question you'd like to see added to the \s-1FAQ \s0(whether or not you have the answer) please either: .IP "\(bu" 2 make a pull request on the MakeMaker github repository .IP "\(bu" 2 raise a issue on the MakeMaker github repository .IP "\(bu" 2 file an \s-1RT\s0 ticket .IP "\(bu" 2 email makemaker@perl.org .SH "AUTHOR" .IX Header "AUTHOR" The denizens of makemaker@perl.org. .SH "SEE ALSO" .IX Header "SEE ALSO" ExtUtils::MakeMaker .SH "POD ERRORS" .IX Header "POD ERRORS" Hey! \fBThe above document had some coding errors, which are explained below:\fR .IP "Around line 547:" 4 .IX Item "Around line 547:" =back without =over