App-cpanoutdated-coro

 view release on metacpan or  search on metacpan

Changes  view on Meta::CPAN

Revision history for Perl extension App-cpanoutdated-coro

0.06 2015-06-26T13:15:49Z
    - tune performance
    - fix pod's typo

0.05 2015-06-21T04:09:37Z
    - fix pod

0.04 2015-06-20T08:06:12Z
    - refactor code without Coro(against perl 5.22)

0.03 2014-09-13T08:42:58Z

	- fix new-line to LF

0.02 2014-09-07T11:18:33Z

	- fix bad shebang line in cpan-outdated-coro
	- fix pre-filtering mismatch on specific OS(e.g. Win32, Cygwin)
	- fix too many dependencies missing in cpanfile
	- fix pod's typo

0.01 2014-09-05T16:23:00Z

    - original version

MANIFEST  view on Meta::CPAN

Build.PL
Changes
LICENSE
META.json
README.md
cpanfile
lib/App/cpanoutdated/coro.pm
script/cpan-outdated-coro
t/00_compile.t
META.yml
MANIFEST

META.json  view on Meta::CPAN

   ],
   "dynamic_config" : 0,
   "generated_by" : "Minilla/v2.1.1",
   "license" : [
      "perl_5"
   ],
   "meta-spec" : {
      "url" : "http://search.cpan.org/perldoc?CPAN::Meta::Spec",
      "version" : "2"
   },
   "name" : "App-cpanoutdated-coro",
   "no_index" : {
      "directory" : [
         "t",
         "xt",
         "inc",
         "share",
         "eg",
         "examples",
         "author",
         "builder"

META.json  view on Meta::CPAN

            "LWP" : "0",
            "Module::CoreList" : "0",
            "Module::Metadata" : "1.000007",
            "local::lib" : "1.006008",
            "perl" : "5.008001",
            "version" : "0"
         }
      }
   },
   "provides" : {
      "App::cpanoutdated::coro" : {
         "file" : "lib/App/cpanoutdated/coro.pm",
         "version" : "0.06"
      }
   },
   "release_status" : "stable",
   "version" : "0.06",
   "x_authority" : "cpan:KPEE",
   "x_contributors" : [
      "KPEE <kpee.cpan@gmail.com>",
      "KPEE <kpee.cpanx@gmail.com>"
   ],

META.yml  view on Meta::CPAN

  - KPEE.
build_requires: {}
configure_requires:
  Module::Build::Tiny: '0.035'
dynamic_config: 0
generated_by: 'Minilla/v2.1.1, CPAN::Meta::Converter version 2.150005'
license: perl
meta-spec:
  url: http://module-build.sourceforge.net/META-spec-v1.4.html
  version: '1.4'
name: App-cpanoutdated-coro
no_index:
  directory:
    - t
    - xt
    - inc
    - share
    - eg
    - examples
    - author
    - builder
provides:
  App::cpanoutdated::coro:
    file: lib/App/cpanoutdated/coro.pm
    version: '0.06'
requires:
  AnyEvent: '0'
  CPAN::DistnameInfo: '0.1'
  File::Find::Rule: '0.20'
  IO::Zlib: '0'
  LWP: '0'
  Module::CoreList: '0'
  Module::Metadata: '1.000007'
  local::lib: '1.006008'

README.md  view on Meta::CPAN

# NAME

App::cpanoutdated::coro - faster `cpan-outdated`

# DESCRIPTION

see [cpan-outdated-coro](https://metacpan.org/pod/cpan-outdated-coro)

# LICENSE

Copyright (C) 2014 KPEE.

This library is free software; you can redistribute it and/or modify
it under the same terms as Perl itself.

# AUTHOR

lib/App/cpanoutdated/coro.pm  view on Meta::CPAN

package App::cpanoutdated::coro;
use 5.008001;
use strict;
use warnings;

our $VERSION = "0.06";

1;
__END__

=encoding utf-8

=head1 NAME

App::cpanoutdated::coro - faster C<cpan-outdated>

=head1 DESCRIPTION

see L<cpan-outdated-coro>

=head1 LICENSE

Copyright (C) 2014 KPEE.

This library is free software; you can redistribute it and/or modify
it under the same terms as Perl itself.

=head1 AUTHOR

script/cpan-outdated-coro  view on Meta::CPAN

    }
    else {
        return @INC;
    }
}

__END__

=head1 NAME

cpan-outdated-coro - faster C<cpan-outdated>

=head1 SYNOPSIS

    # usage is the same:=)

    # print the list of distribution that contains outdated modules
    % cpan-outdated-coro

    # print the list of outdated modules in packages
    % cpan-outdated-coro -p

    # verbose
    % cpan-outdated-coro --verbose

    # alternate mirrors
    % cpan-outdated-coro --mirror file:///home/user/minicpan/

    # additional module path(same as cpanminus)
    % cpan-outdated-coro -l extlib/
    % cpan-outdated-coro -L extlib/

    # install with cpan
    % cpan-outdated-coro | xargs cpan -i

    # install with cpanm
    % cpan-outdated-coro    | cpanm
    % cpan-outdated-coro -p | cpanm

=head1 DESCRIPTION

( version 0.04 and later not use Coro, but never change the name of this distribution. )

This script works the same as C<cpan-outdated>(prints the list of outdated CPAN modules in your machine), but fast.

This script also can be integrated with L<cpanm> command.

=head1 USAGE

Using this script, only type with C<cpan-outdated-coro>
instead of C<cpan-outdated>.

Functions and options are completely the same as C<cpan-outdated>.
See C<cpan-outdated> for more details.

=head1 PERFORMANCE AND TRADE-OFF

This script is faster than C<cpan-outdated> 423%.

Use less memory - about 23%(39.01MB -> 30.06MB on MS-Win32.

t/00_compile.t  view on Meta::CPAN

use strict;
use Test::More 0.98;

use_ok $_ for qw(
    App::cpanoutdated::coro
);

done_testing;



( run in 0.301 second using v1.01-cache-2.11-cpan-3cd7ad12f66 )