eliminate ticket on older version
[andk-cpan-tools.git] / CPAN-Blame / script / cpan_blame_test.pl
blobfc5f264945752540ae17db25b6383a6481dda92e
1 #!/usr/bin/env perl
3 use strict;
4 use warnings;
5 use Getopt::Long;
6 use Pod::Usage;
7 use FindBin;
8 use lib "$FindBin::Bin/../lib";
9 use Catalyst::Test 'CPAN::Blame';
11 my $help = 0;
13 GetOptions( 'help|?' => \$help );
15 pod2usage(1) if ( $help || !$ARGV[0] );
17 print request($ARGV[0])->content . "\n";
21 =head1 NAME
23 cpan_blame_test.pl - Catalyst Test
25 =head1 SYNOPSIS
27 cpan_blame_test.pl [options] uri
29 Options:
30 -help display this help and exits
32 Examples:
33 cpan_blame_test.pl http://localhost/some_action
34 cpan_blame_test.pl /some_action
36 See also:
37 perldoc Catalyst::Manual
38 perldoc Catalyst::Manual::Intro
40 =head1 DESCRIPTION
42 Run a Catalyst action from the command line.
44 =head1 AUTHORS
46 Catalyst Contributors, see Catalyst.pm
48 =head1 COPYRIGHT
50 This library is free software. You can redistribute it and/or modify
51 it under the same terms as Perl itself.
53 =cut