亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? cookbook.pm

?? 視頻監(jiān)控網(wǎng)絡(luò)部分的協(xié)議ddns,的模塊的實現(xiàn)代碼,請大家大膽指正.
?? PM
字號:
package Module::Build::Cookbook;=head1 NAMEModule::Build::Cookbook - Examples of Module::Build Usage=head1 DESCRIPTIONC<Module::Build> isn't conceptually very complicated, but examples arealways helpful.  The following recipes should help developers and/orinstallers put together the pieces from the other parts of thedocumentation.=head1 BASIC RECIPES=head2 Installing modules that use Module::BuildIn most cases, you can just issue the following commands:  perl Build.PL  ./Build  ./Build test  ./Build installThere's nothing complicated here - first you're running a scriptcalled F<Build.PL>, then you're running a (newly-generated) scriptcalled F<Build> and passing it various arguments.The exact commands may vary a bit depending on how you invoke perlscripts on your system.  For instance, if you have multiple versionsof perl installed, you can install to one particular perl's librarydirectories like so:  /usr/bin/perl5.8.1 Build.PL  ./Build  ./Build test  ./Build installIf you're on Windows where the current directory is always searchedfirst for scripts, you'll probably do something like this:  perl Build.PL  Build  Build test  Build installOn the old Mac OS (version 9 or lower) using MacPerl, you candouble-click on the F<Build.PL> script to create the F<Build> script,then double-click on the F<Build> script to run its C<build>, C<test>,and C<install> actions.The F<Build> script knows what perl was used to run F<Build.PL>, soyou don't need to re-invoke the F<Build> script with the complete perlpath each time.  If you invoke it with the I<wrong> perl path, you'llget a warning or a fatal error.=head2 Modifying Config.pm valuesC<Module::Build> relies heavily on various values from perl'sC<Config.pm> to do its work.  For example, default installation pathsare given by C<installsitelib> and C<installvendorman3dir> andfriends, C linker & compiler settings are given by C<ld>,C<lddlflags>, C<cc>, C<ccflags>, and so on.  I<If you're pretty sureyou know what you're doing>, you can tell C<Module::Build> to pretendthere are different values in F<Config.pm> than what's really there,by passing arguments for the C<--config> parameter on the commandline:  perl Build.PL --config cc=gcc --config ld=gccInside the C<Build.PL> script the same thing can be accomplished bypassing values for the C<config> parameter to C<new()>: my $build = Module::Build->new   (    ...    config => { cc => 'gcc', ld => 'gcc' },    ...   );In custom build code, the same thing can be accomplished by callingthe L<Module::Build/config> method: $build->config( cc => 'gcc' );     # Set $build->config( ld => 'gcc' );     # Set ... my $linker = $build->config('ld'); # Get=head2 Installing modules using the programmatic interfaceIf you need to build, test, and/or install modules from within someother perl code (as opposed to having the user type installationcommands at the shell), you can use the programmatic interface.Create a Module::Build object (or an object of a custom Module::Buildsubclass) and then invoke its C<dispatch()> method to run variousactions.  my $build = Module::Build->new    (     module_name => 'Foo::Bar',     license     => 'perl',     requires    => { 'Some::Module'   => '1.23' },    );  $build->dispatch('build');  $build->dispatch('test', verbose => 1);  $build->dispatch('install');The first argument to C<dispatch()> is the name of the action, and anyfollowing arguments are named parameters.This is the interface we use to test Module::Build itself in theregression tests.=head2 Installing to a temporary directoryTo create packages for package managers like RedHat's C<rpm> orDebian's C<deb>, you may need to install to a temporary directoryfirst and then create the package from that temporary installation.To do this, specify the C<destdir> parameter to the C<install> action:  ./Build install --destdir /tmp/my-package-1.003This essentially just prepends all the installation paths with theF</tmp/my-package-1.003> directory.=head2 Installing to a non-standard directoryTo install to a non-standard directory (for example, if you don't havepermission to install in the system-wide directories), you can use theC<install_base> or C<prefix> parameters:  ./Build install --install_base /foo/barSee L<Module::Build/"INSTALL PATHS"> for a much more completediscussion of how installation paths are determined.=head2 Installing in the same location as ExtUtils::MakeMakerWith the introduction of C<--prefix> in Module::Build 0.28 andC<INSTALL_BASE> in ExtUtils::MakeMaker 6.31 its easy to get them bothto install to the same locations.First, ensure you have at least version 0.28 of Module::Buildinstalled and 6.31 of ExtUtils::MakeMaker.  Prior versions havediffering (and in some cases quite strange) installation behaviors.The following installation flags are equivalent betweenExtUtils::MakeMaker and Module::Build.    MakeMaker             Module::Build    PREFIX=...            --prefix ...    INSTALL_BASE=...      --install_base ...    DESTDIR=...           --destdir ...    LIB=...               --install_path lib=...    INSTALLDIRS=...       --installdirs ...    INSTALLDIRS=perl      --installdirs core    UNINST=...            --uninst ...    INC=...               --extra_compiler_flags ...    POLLUTE=1             --extra_compiler_flags -DPERL_POLLUTEFor example, if you are currently installing MakeMaker modules withthis command:    perl Makefile.PL PREFIX=~    make test    make install UNINST=1You can install into the same location with Module::Build using this:    perl Build.PL --prefix ~    ./Build test    ./Build install --uninst 1=head3 C<prefix> vs C<install_base>The behavior of C<prefix> is complicated and depends onhow your Perl is configured.  The resulting installation locationswill vary from machine to machine and even different installations ofPerl on the same machine.  Because of this, it's difficult to documentwhere C<prefix> will place your modules.In contrast, C<install_base> has predictable, easy to explaininstallation locations.  Now that Module::Build and MakeMaker bothhave C<install_base> there is little reason to use C<prefix> otherthan to preserve your existing installation locations.  If you arestarting a fresh Perl installation we encourage you to useC<install_base>.  If you have an existing installation installed viaC<prefix>, consider moving it to an installation structure matchingC<install_base> and using that instead.=head2 Running a single test fileC<Module::Build> supports running a single test, which enables you totrack down errors more quickly.  Use the following format:  ./Build test --test_files t/mytest.tIn addition, you may want to run the test in verbose mode to get moreinformative output:  ./Build test --test_files t/mytest.t --verbose 1I run this so frequently that I define the following shell alias:  alias t './Build test --verbose 1 --test_files'So then I can just execute C<t t/mytest.t> to run a single test.=head1 ADVANCED RECIPES=head2 Making a CPAN.pm-compatible distributionNew versions of CPAN.pm understand how to use a F<Build.PL> script,but old versions don't.  If authors want to help users who have oldversions, some form of F<Makefile.PL> should be supplied.  The easiestway to accomplish this is to use the C<create_makefile_pl> parameter toC<< Module::Build->new() >> in the C<Build.PL> script, which cancreate various flavors of F<Makefile.PL> during the C<dist> action.As a best practice, we recommend using the "traditional" style ofF<Makefile.PL> unless your distribution has needs that can't beaccomplished that way.The C<Module::Build::Compat> module, which is part ofC<Module::Build>'s distribution, is responsible for creating theseF<Makefile.PL>s.  Please see L<Module::Build::Compat> for the details.=head2 Changing the order of the build processThe C<build_elements> property specifies the steps C<Module::Build>will take when building a distribution.  To change the build order,change the order of the entries in that property:  # Process pod files first  my @e = @{$build->build_elements};  my $i = grep {$e[$_] eq 'pod'} 0..$#e;  unshift @e, splice @e, $i, 1;Currently, C<build_elements> has the following default value:  [qw( PL support pm xs pod script )]Do take care when altering this property, since there may benon-obvious (and non-documented!) ordering dependencies in theC<Module::Build> code.=head2 Adding new file types to the build processSometimes you might have extra types of files that you want to installalongside the standard types like F<.pm> and F<.pod> files.  Forinstance, you might have a F<Bar.dat> file containing some datarelated to the C<Foo::Bar> module and you'd like for it to end up asF<Foo/Bar.dat> somewhere in perl's C<@INC> path so C<Foo::Bar> canaccess it easily at runtime.  The following code from a sampleC<Build.PL> file demonstrates how to accomplish this:  use Module::Build;  my $build = Module::Build->new    (     module_name => 'Foo::Bar',     ...other stuff here...    );  $build->add_build_element('dat');  $build->create_build_script;This will find all F<.dat> files in the F<lib/> directory, copy themto the F<blib/lib/> directory during the C<build> action, and installthem during the C<install> action.If your extra files aren't located in the C<lib/> directory in yourdistribution, you can explicitly say where they are, just as you'd dowith F<.pm> or F<.pod> files:  use Module::Build;  my $build = new Module::Build    (     module_name => 'Foo::Bar',     dat_files => {'some/dir/Bar.dat' => 'lib/Foo/Bar.dat'},     ...other stuff here...    );  $build->add_build_element('dat');  $build->create_build_script;If your extra files actually need to be created on the user's machine,or if they need some other kind of special processing, you'll probablywant to subclass C<Module::Build> and create a special method toprocess them, named C<process_${kind}_files()>:  use Module::Build;  my $class = Module::Build->subclass(code => <<'EOF');    sub process_dat_files {      my $self = shift;      ... locate and process *.dat files,      ... and create something in blib/lib/    }  EOF  my $build = $class->new    (     module_name => 'Foo::Bar',     ...other stuff here...    );  $build->add_build_element('dat');  $build->create_build_script;If your extra files don't go in F<lib/> but in some other place, seeL<"Adding new elements to the install process"> for how to actuallyget them installed.Please note that these examples use some capabilities of Module::Buildthat first appeared in version 0.26.  Before that it couldstill be done, but the simple cases took a bit more work.=head2 Adding new elements to the install processBy default, Module::Build creates seven subdirectories of the F<blib>directory during the build process: F<lib>, F<arch>, F<bin>,F<script>, F<bindoc>, F<libdoc>, and F<html> (some of these may bemissing or empty if there's nothing to go in them).  Anything copiedto these directories during the build will eventually be installedduring the C<install> action (see L<Module::Build/"INSTALL PATHS">.If you need to create a new custom type of installable element, e.g. C<conf>,then you need to tell Module::Build where things in F<blib/conf/>should be installed.  To do this, use the C<install_path> parameter tothe C<new()> method:  my $build = Module::Build->new    (     ...other stuff here...     install_path => { conf => $installation_path }    );Or you can call the C<install_path()> method later:  $build->install_path(conf => $installation_path);The user may also specify the path on the command line:  perl Build.PL --install_path conf=/foo/path/etcThe important part, though, is that I<somehow> the install path needsto be set, or else nothing in the F<blib/conf/> directory will getinstalled, and a runtime error during the C<install> action willresult.See also L<"Adding new file types to the build process"> for how tocreate the stuff in F<blib/conf/> in the first place.=head1 EXAMPLES ON CPANSeveral distributions on CPAN are making good use of various featuresof Module::Build.  They can serve as real-world examples for others.=head2 SVN-Notify-MirrorL<http://search.cpan.org/~jpeacock/SVN-Notify-Mirror/>John Peacock, author of the C<SVN-Notify-Mirror> distribution, says:=over 4=item 1. Using C<auto_features>, I check to see whether two optionalmodules are available - SVN::Notify::Config and Net::SSH;=item 2. If the S::N::Config module is loaded, I automaticallygenerate testfiles for it during Build (using the C<PL_files>property).=item 3. If the C<ssh_feature> is available, I ask if the user wishesto perform the ssh tests (since it requires a little preliminarysetup);=item 4. Only if the user has C<ssh_feature> and answers yes to thetesting, do I generate a test file.I'm sure I could not have handled this complexity with EU::MM, but itwas very easy to do with M::B.=back 4=head2 Modifying an actionSometimes you might need an to have an action, say C<./Build install>,do something unusual.  For instance, you might need to change theownership of a file or do something else peculiar to your application.You can subclass C<Module::Build> on the fly using the C<subclass()>method and override the methods that perform the actions.  You mayneed to read through C<Module::Build::Authoring> andC<Module::Build::API> to find the methods you want to override.  All"action" methods are implemented by a method called "ACTION_" followedby the action's name, so here's an example of how it would work forthe C<install> action:  # Build.PL  use Module::Build;  my $class = Module::Build->subclass(      class => "Module::Build::Custom",      code => <<'SUBCLASS' );  sub ACTION_install {      my $self = shift;      # YOUR CODE HERE      $self->SUPER::ACTION_install;  }  SUBCLASS  $class->new(      module_name => 'Your::Module',      # rest of the usual Module::Build parameters  )->create_build_script;=head1 AUTHORKen Williams <kwilliams@cpan.org>=head1 COPYRIGHTCopyright (c) 2001-2006 Ken Williams.  All rights reserved.This library is free software; you can redistribute it and/ormodify it under the same terms as Perl itself.=head1 SEE ALSOperl(1), L<Module::Build>(3), L<Module::Build::Authoring>(3),L<Module::Build::API>(3)=cut

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产色一区二区| 日韩一区二区电影| 午夜精品久久久久久久久| av高清久久久| 一片黄亚洲嫩模| 7777女厕盗摄久久久| 免费成人性网站| 久久久精品免费观看| a亚洲天堂av| 亚洲影视在线观看| 制服丝袜av成人在线看| 精品写真视频在线观看| 国产亚洲欧美日韩日本| 91猫先生在线| 图片区日韩欧美亚洲| 精品国产乱码久久久久久夜甘婷婷| 国产精品一区免费视频| 亚洲图片另类小说| 欧美区在线观看| 国产成人精品三级麻豆| 亚洲色图在线视频| 精品久久久久久久久久久久久久久久久| 国产专区欧美精品| 亚洲精品日韩一| 日韩欧美美女一区二区三区| 成人免费观看视频| 亚洲福利国产精品| 久久九九99视频| 欧美性猛交xxxx黑人交| 国产综合久久久久久鬼色| 亚洲欧美电影一区二区| 日韩精品专区在线影院观看| 91在线视频18| 捆绑变态av一区二区三区| 亚洲视频一区在线| 欧美v日韩v国产v| 在线视频国产一区| 国产精品亚洲人在线观看| 亚洲不卡在线观看| 国产精品麻豆久久久| 欧美一区二区免费视频| 91亚洲国产成人精品一区二三| 日韩精品1区2区3区| 亚洲视频每日更新| 国产日韩精品一区二区三区在线| 欧美日韩精品免费观看视频| 成人在线一区二区三区| 美洲天堂一区二卡三卡四卡视频| 亚洲视频狠狠干| 日本一区二区三区四区| 日韩欧美一区二区免费| 欧美三区在线观看| 91视视频在线观看入口直接观看www | 中文字幕av一区 二区| 7777精品伊人久久久大香线蕉的| www.在线成人| 国产成人在线视频网址| 精品一区二区三区不卡| 爽好多水快深点欧美视频| 一区av在线播放| 亚洲柠檬福利资源导航| 国产精品久久久久桃色tv| 久久久国产一区二区三区四区小说 | www国产亚洲精品久久麻豆| 9191成人精品久久| 欧美亚洲另类激情小说| 91在线观看美女| 国产91精品露脸国语对白| 国产在线精品一区在线观看麻豆| 日韩 欧美一区二区三区| 亚洲一区二区在线免费看| 亚洲欧美另类小说| 亚洲激情综合网| 亚洲综合色网站| 亚洲动漫第一页| 亚洲成人在线网站| 午夜电影一区二区| 日韩av不卡一区二区| 日本va欧美va精品发布| 日韩精品成人一区二区三区| 日本不卡的三区四区五区| 蜜臀va亚洲va欧美va天堂| 久久精品国产99| 国产乱码精品一品二品| 岛国一区二区三区| 99久久er热在这里只有精品66| av中文字幕亚洲| 91麻豆蜜桃一区二区三区| 在线免费观看日韩欧美| 欧美熟乱第一页| 日韩欧美在线影院| 久久这里只有精品6| 中文字幕成人av| 亚洲精品亚洲人成人网在线播放| 亚洲一区二区三区免费视频| 香蕉加勒比综合久久| 老司机午夜精品99久久| 国产一区91精品张津瑜| av激情综合网| 欧美日韩和欧美的一区二区| 日韩一区二区免费电影| 国产亚洲婷婷免费| 亚洲欧美一区二区三区久本道91| 亚洲国产精品尤物yw在线观看| 日本vs亚洲vs韩国一区三区二区| 国产综合色在线| 色吧成人激情小说| 91精品久久久久久久99蜜桃 | 欧洲精品一区二区| 欧美性高清videossexo| 欧美成人一区二区三区片免费 | 亚洲在线观看免费视频| 美日韩一区二区| heyzo一本久久综合| 欧美精品色一区二区三区| 久久久精品蜜桃| 亚洲成人午夜影院| 国产精品一区一区三区| 在线精品观看国产| 久久女同性恋中文字幕| 亚洲亚洲精品在线观看| 国产麻豆精品一区二区| 欧美午夜一区二区| 国产亚洲精品精华液| 性做久久久久久免费观看欧美| 国产精品中文字幕日韩精品| 欧美在线观看一区二区| 2023国产精品| 日韩**一区毛片| 在线观看三级视频欧美| 久久中文字幕电影| 视频一区二区欧美| 91蜜桃网址入口| 国产亚洲欧美日韩日本| 免费成人av在线播放| 91豆麻精品91久久久久久| 欧美国产一区在线| 韩国视频一区二区| 欧美久久久久久久久中文字幕| 日韩毛片在线免费观看| 国产精品99久久久久久有的能看| 欧美日韩一区三区| 一区二区高清视频在线观看| 国产传媒久久文化传媒| 欧美成人精品1314www| 亚洲综合成人在线| 91蝌蚪porny| 国产精品夫妻自拍| 成人综合日日夜夜| 久久久久久久久久电影| 九九精品一区二区| 欧美一级片免费看| 手机精品视频在线观看| 欧美少妇一区二区| 亚洲一区二区欧美激情| 91麻豆免费观看| 亚洲少妇最新在线视频| 成人av免费在线| 国产精品热久久久久夜色精品三区| 国内成人自拍视频| 26uuu另类欧美| 色老汉一区二区三区| 国产精品久久久99| 北条麻妃国产九九精品视频| 国产欧美精品一区二区色综合朱莉| 久久99久国产精品黄毛片色诱| 欧美一区二区视频在线观看 | 91丨九色porny丨蝌蚪| 中文字幕一区二区三中文字幕| 国产精品亚洲视频| 亚洲国产精品二十页| 成人av高清在线| 亚洲欧美视频在线观看视频| 99这里都是精品| 亚洲精品综合在线| 欧美色区777第一页| 亚洲 欧美综合在线网络| 欧美精品亚洲一区二区在线播放| 亚洲成年人影院| 宅男在线国产精品| 国产一区二区三区免费看| 久久日韩粉嫩一区二区三区| 国产成a人亚洲精品| 中文字幕一区二区三区在线不卡 | yourporn久久国产精品| 中文字幕在线观看一区| 在线视频欧美区| 日韩va亚洲va欧美va久久| 国产精品色在线观看| 91精品国产免费| 国内欧美视频一区二区| 国产亚洲一区字幕| 色综合久久99| 青青草原综合久久大伊人精品 | 91美女视频网站| 亚洲影院在线观看| 日韩欧美中文一区二区| 懂色av噜噜一区二区三区av| 亚洲色图第一区| 日韩天堂在线观看|