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 > Libraries

    Module::Recursive::Require 0.04

    Download button

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

    License / Price:

    Last Updated:

    Category:
    Masahiro Funakoshi | More programs
    Perl Artistic License / FREE
    May 12th, 2007, 08:05 GMT
    ROOT / Programming / Libraries

     Read user reviews (0)  Refer to a friend  Subscribe

    Module::Recursive::Require description

    Module::Recursive::Require is a Perl class that requires module recursively.

    Module::Recursive::Require is a Perl class that requires module recursive.

    # ************************************** before
    use MyApp::Foo;
    use MyApp::Foo::CGI;
    use MyApp::Foo::Mail;
    use MyApp::Foo::Mail::Send;

    # use use use use use !!

    use MyApp::Foo::Hoge::Orz;

    # ************************************** after
    use Module::Recursive::Require;
    use MyApp::Foo;

    my @required_packages
    = Module::Recursive::Require->new()->require_by('MyApp::Foo');

    SYNOPSIS

    use Module::Recursive::Require;

    my $r = Module::Recursive::Require->new();
    $r->first_loads(
    qw/
    MyApp::Foo::Boo
    /
    ); # * It loads first.
    $r->add_filter(qr/^Hoge/); # * Don't loaded qr/^Hoge/
    $r->add_filter(qr/Base.pm$/); # * Don't loaded qr/Base.pm$/

    my @packages = $r->require_of('MyApp::Foo');

    # * or

    my $packages_array_ref
    = $r->require_of('MyApp::Foo');
    METHOD ^
    new( %args )
    %args = (
    path => '/var/www/my/lib', # * default $INC[0]
    extensions => 'pm' , # * default "pm" and "pl"
    );
    first_loads( @package_names );
    add_filter(qr/regexp/)
    require_of( 'MyApp::Foo' );
    require_by( 'MyApp::Foo' );

    Deprecated. For backwards compatibility only.

    Product's homepage

    Requirements:

    · Perl

      


    TAGS:

    module recursive | require module | Perl module | Module::Recursive::R | module | recursive

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

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