Beefy Boxes and Bandwidth Generously Provided by pair Networks DiBona
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

repellent's scratchpad

by repellent (Priest)
on Sep 25, 2008 at 20:43 UTC ( #713740=scratchpad: print w/ replies, xml ) Need Help??

A bare-bones, Kwalitee-compliant, semantic-versioned module starter (xxx_module.pl):
#!/usr/bin/perl # Creates 'XXX-Module-1.001001.tar.gz' in the current directory. # This is a boiler plate for making a CPAN package. # # Start here: # tar -zxvf XXX-Module-1.001001.tar.gz; grep -R XXX XXX-Module-1.00100 +1; # # Version: 20120114 # URL: http://www.perlmonks.org/?viewmode=public;node_id=713740 use MIME::Base64 qw(decode_base64); open(my $TARGZ, ">", "XXX-Module-1.001001.tar.gz") or die $!; local $/; print $TARGZ decode_base64(scalar <DATA>); __END__ H4sIAGsREk8AA+1aa3PaRhTN5/0Vt3KmsVsbJCGhDCRpHKwktDZQII0701Yjo8VWLbSqVt +hhmva3 964kQBAM7piSabtnAEn7Xu3ecx/L+fn50RnzxgE90kqqquGn/GjLUFXVMk1Ir9XsqupGds +0Bmmap hqGphl4FVatYuvEIzG0PZBXGPHFjHMpl4PrrymGx4XBNfj6P2fVfgvMV69+4csNLyrfWB7 +6PqmHc vf5a1crWv2KplUoF19/UdfMRqFsbwRr8z9e/S2987rMQrnyesHgCQxYDbopaLdsVhEy3BY +CuanoZ 94dmEJjiCJqhn/huAPG0pXEYUJdTD/DeFY98zCM6SPzwEm5ZHHglQj73tCVyrJJ/+sEdRQ +Hl21IE 9+Z/lH/DFPxvmqYu+X8XWLX+gX+xVRvg76x/RTNw/Q3Dqsj13wVWrf9ps2G3evbW+tik/3 +XTmK9/ Vci/YRm61P+7wHz9CWm0Oz92m2/e9uG4dQL5LsBkFk1i//Iqgf3GAXzLrkJhIMAJwyp9NB +tglNYH vBvGlAJnw+TWjWkdJmwMI3eCpoGH1kXsX4wTLJagVeCV0czAev5wQjBhHHo0huQKK7sjCg +mNRxxc Dh0aB1iB02AojYZ/BKvk/8y9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n9D /skr+02zlcckP5Xzo+y05sYsPS09/Xom3SUlj2EKWf4ZnqVh1KqD76hO7mxpMc5cEzFm5T +6x5j9m g8yaFazCRZs6YNYeDDDtloKY2dxJ/SadaeBfgFIqicNvpLFpK5gjyGYxNg2/3e4PGTs4qI +tWfb5f 9EJrNQfz9g8O4clbiv7lIbwX/3n54gkm4Fi5oD8xrCewjfDtg3HX+b8I6W2rj3v7fxXLrG +TxX3yS /t8usG79ZyHdB/axgf+1SkVbWv+qZcr4/04QuYNrQUkFBsupv3AqSNZoiaJSyDkf7A8pcc +f1NPUr fyQe4Tn89OU0p1bLEnMdwMYxPJ4etQGWVKabUanPCry0zzvtbt9pf4cFcgpOKV+MRxyPic +QBXoVp yMcXIIgYOXyJhwVni9w0M21c1IGMtaEEyk+hkjarYTPEcezWieMQ8hwNUPy9oq6npeeXi/ +HSI3iP 74eDe8HGCXA2osmVsGf9EGeb2bYizpfX7/3Yand6zZ6YvRh9saXZzADwk46qDnvp6+fLc5 +m3eGL3 Gt1mJwt8ptHZQsR1+U+dxZG8e9Vtv+s3WyJcmabpaZ9wQEjjWXb3Iu98wsYlaCYiNszSdl +FhT4Bm S+qVioMpBkEXzAKsO7MMCGkxCFmIfmY8Vcb4BvG+UGTa5kKE9O7TVVFhME6kb3BPrP3/Z+ +Gc7yF9 bNL/mqUt/v9TF6mS/3eBvS/KYx6XL/ywLE491lL9p2YyuZO8yCbi+twTl5CQkJCQkJCQkJ +CQkJCQ kJCQkJCQkJCQkJCQkPiP4S9L40hAAFAAAA==

After modifications to XXX-Module-1.001001/*, one can create the dist package with the following commands:
cd XXX-Module-1.001001; perl Makefile.PL; make disttest tardist; ls -l XXX-Module-1.001001.tar.gz; # submit this to PAUSE
Log In?
Username:
Password:

What's my password?
Create A New User
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (5)
As of 2014-04-20 11:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (485 votes), past polls