From: Peter Korsgaard Date: Sun, 23 Feb 2014 22:41:14 +0100 Subject: [Buildroot] [pkg-perl infra v11 6/6] scancpan: a new script In-Reply-To: <1393165041-21015-7-git-send-email-francois.perrad@gadz.org> (Francois Perrad's message of "Sun, 23 Feb 2014 15:17:20 +0100") References: <1393165041-21015-1-git-send-email-francois.perrad@gadz.org> <1393165041-21015-7-git-send-email-francois.perrad@gadz.org> Message-ID: <8761o5o6bp.fsf@dell.be.48ers.dk> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net >>>>> "Francois" == Francois Perrad writes: > which creates Perl/CPAN package files > Signed-off-by: Francois Perrad > Acked-by: Arnout Vandecappelle (Essensium/Mind) > --- > 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