Softpedia
 


LINUX CATEGORIES:



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

    Manip::END 0.08

    Download button

    No screenshots available
    Downloads: 365  View global page NEW!  Tell us about an update
    User Rating:
    Rated by:
    Excellent (5.0/5)
    1 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Fergal Daly | More programs
    Perl Artistic License / FREE
    October 31st, 2007, 22:05 GMT
    ROOT / Programming / Perl Modules

     Read user reviews (0)  Refer to a friend  Subscribe

    Manip::END description

    Manip::END is a Perl module that can mess around with END blocks.

    Manip::END is a Perl module that can mess around with END blocks.

    SYNOPSIS

    use Manip::END qw( clear_end_array set_end_array );

    clear_end_array();

    set_end_array(sub {...}, sub {...});

    $ends = Manip::END->new;

    $ends->unshift(sub {...}, sub {...});

    $ends->remove_class("My::Class");

    $ends->remove_isa("My::Base::Class");

    $ends->remove_pat("^My::Modules");

    $ends->filter_sub(&thing_about_it));

    HOW TO USE IT

    The most useful thing you can do with it is to remove certain END blocks based on the package they belong to. You can do something like

    my $ends = Manip::END->new;

    $ends->filter_sub(&think_hard_about);

    Where think_hard_about is a function that takes in a package name and returns a true or false value depending on whether you want to keep or remove the END blocks in that package.

    There are prebuilt convenience methods for removing the END blocks for a specific package, all packages matching a pattern or all packages inheriting from a certain package.

    Product's homepage

    Requirements:

    · Perl

      


    TAGS:

    END blocks | manipulate blocks | Perl module | manipulate | END | blocks

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

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