Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.3 / 3....
  • LibreOffice 3.6.6 / 4.0.3
  • MPlayer 1.1.1
  • systemd 204
  • Arch Linux 2013.05.01
  • Blender 2.67a
  • KDE Software Compilatio...
  • CrunchBang Linux Stable...
  • Elementary OS 0.1 / 0.2...
  • SystemRescueCd 3.6.0
  • Home > Linux > Programming > Perl Modules

    WWW::PAUSE::CleanUpHomeDir 0.001

    Download button

    No screenshots available
    Downloads: 291  View global page NEW!  Tell us about an update
    User Rating:
    Rated by:
    NOT RATED
    0 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Zoffix Znet | More programs
    Perl Artistic License / FREE
    July 14th, 2008, 11:11 GMT
    ROOT / Programming / Perl Modules

     Read user reviews (0)  Refer to a friend  Subscribe

    WWW::PAUSE::CleanUpHomeDir description

    A Perl module to clean up old dists from your PAUSE home directory.

    WWW::PAUSE::CleanUpHomeDir is a Perl module to clean up old dists from your PAUSE home directory.

    SYNOPSIS

    use strict;
    use warnings;

    use WWW::PAUSE::CleanUpHomeDir;

    my $pause = WWW::PAUSE::CleanUpHomeDir->new( 'PAUSE_ID', PASSWORD' );

    $pause->fetch_list
    or die $pause->error;

    my @old_files = $pause->list_old;
    die "No old files were foundn"
    unless @old_files;

    print @old_files . " old files were found:n" .
    join "n", @old_files, '';

    print "nEnter dist names you want to delete or just hit ENTER to delete"
    . " delete all of themn";

    my @to_delete = split ' ', ;
    my $deleted_ref = $pause->clean_up(@to_delete)
    or die $pause->error;

    print "Deleted:n" . join "n", @$deleted_ref, '';

    print "nWould you like to undelete any of these files? "
    . "If not, just hit ENTERn";

    my @to_undelete = split ' ', ;
    die "Terminating..n"
    unless @to_undelete;

    $pause->undelete(@to_undelete)
    or die $pause->error;

    print "Success..n";


    Product's homepage

    Requirements:

    · Perl

      


    TAGS:

    dists cleaner | home directory | Perl module | dists | cleaner | Perl

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM