Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things

RFC: Some Reflections on Becoming a New CPAN Author

by oko1 (Deacon)
on Jan 08, 2011 at 01:24 UTC ( #881186=perlmeditation: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download

  1. or download this
    # Typical invocation: create a pure Perl module (no C code) called
    # 'Amazing::Perl::Extension", omit AutoLoader
    #  You can even declare it as backward-compatible - e.g., w/Perl 5.7.1
    h2xs -XA -b 5.7.1 Amazing::Perl::Extension
  2. or download this
    lib/Amazing/Perl/   # This is the boilerplate for your mod
    t/Amazing-Perl-Extension.t      # The Test::More-based test for loadin
    +g it
    Makefile.PL                     # ExtUtils::MakeMaker-based makefile m
    MANIFEST                        # Listing of all of the above
    README                          # Intro/installation instructions
  3. or download this
    tar cvzf Amazing-Perl-Extension-0.01.tgz Amazing-Perl-Extension
  4. or download this
    # This is in a separate file in t/*.t - e.g., 't/OS_test.t'
    use Test::More tests => 1;
    ok($^O !~ /^(?:MSWin|VMS|dos|MacOS|os2|epoc|cygwin)/i) or BAIL_OUT("OS
    + unsupported");
  5. or download this
    use Test::More tests => 1;
    ok($^O eq 'linux');
  6. or download this
    =head1 ABSTRACT
    =end text

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: perlmeditation [id://881186]
Approved by planetscape
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (3)
As of 2018-01-20 03:35 GMT
Find Nodes?
    Voting Booth?
    How did you see in the new year?

    Results (226 votes). Check out past polls.