Help for this page

Select Code to Download


  1. or download this
    $ cat 1.list.cpan |perl -lpe "s{^}{requires '};s{$}{', 'undef';};" >cp
    +anfile
    $ cat cpanfile
    requires 'App::cpanminus', 'undef';
    ...
    requires 'Perl::Tidy', 'undef';
    requires 'YAML', 'undef';
    $
    
  2. or download this
    $ ./3.cpan_dir.sh 
    mkdir: cannot create directory ‘logs’: File exists
    ...
    duration=298
    Tue Feb 11 12:37:58 PST 2020
    $
    
  3. or download this
    #!/usr/bin/perl -w
    use 5.016;
    use ExtUtils::Installed;
    ...
          print $module . "\n";
    }
    __END__