[Buildroot] [pkg-perl infra v11 6/6] scancpan: a new script

Peter Korsgaard jacmet at uclibc.org
Sun Feb 23 21:41:14 UTC 2014


>>>>> "Francois" == Francois Perrad <fperrad at gmail.com> writes:

 > which creates Perl/CPAN package files
 > Signed-off-by: Francois Perrad <francois.perrad at gadz.org>
 > Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout at mind.be>
 > ---
 >  support/scripts/scancpan |  741 ++++++++++++++++++++++++++++++++++++++++++++++
 >  1 file changed, 741 insertions(+)
 >  create mode 100755 support/scripts/scancpan

 > diff --git a/support/scripts/scancpan b/support/scripts/scancpan
 > new file mode 100755
 > index 0000000..24474ff
 > --- /dev/null
 > +++ b/support/scripts/scancpan
 > @@ -0,0 +1,741 @@
 > +#!/usr/bin/env perl
 > +
 > +# This chunk of stuff was generated by App::FatPacker. To find the original
 > +# file's code, look for the end of this BEGIN block or the string 'FATPACK'
 > +BEGIN {
 > +my %fatpacked;
 > +
 > +$fatpacked{"MetaCPAN/API/Tiny.pm"} = <<'METACPAN_API_TINY';
 > +  package MetaCPAN::API::Tiny;
 > +  {
 > +    $MetaCPAN::API::Tiny::VERSION = '1.131730';
 > +  }
 > +  use strict;
 > +  use warnings;
 > +  # ABSTRACT: A Tiny API client for MetaCPAN
 > +  
 > +  use Carp;
 > +  use JSON::PP 'encode_json', 'decode_json';
 > +  use HTTP::Tiny;
 > +  
 > +  
 > +  sub new {
 > +      my ($class, @args) = @_;
 > +  
 > +      $#_ % 2 == 0
 > +          or croak 'Arguments must be provided as name/value pairs';
 > +      

There's a bunch of trailing spaces here which I have stripped.

-- 
Bye, Peter Korsgaard



More information about the buildroot mailing list