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.67
  • KDE Software Compilatio...
  • CrunchBang Linux Stable...
  • Elementary OS 0.1 / 0.2...
  • SystemRescueCd 3.6.0
  • Home > Linux > Programming > Perl Modules

    Devel::Examine::Subs 0.13

    Download button

    No screenshots available
    Downloads: 125  Tell us about an update
    User Rating:
    Rated by:
    NOT RATED
    0 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Steve Bertrand | More programs
    Perl Artistic License / FREE
    September 8th, 2012, 20:27 GMT
    ROOT / Programming / Perl Modules

     Read user reviews (0)  Refer to a friend  Subscribe

    Devel::Examine::Subs description

    Get names of subroutines containing certain text

    Devel::Examine::Subs reads into Perl program and module files returning the names of its subroutines, optionally limiting the names returned to subs that contain or do not contain specified text.

    SYNOPSIS

     use Devel::Examine::Subs;

     my $file = 'perl.pl';
     my $find = 'function(';

     # list of sub names where the sub contains the text "function("
     my @has = Devel::Examine::Subs->has({ file => $file, search => $find });
     
     # same as has(), but returns the opposite
     my @missing = Devel::Examine::Subs->missing({ file => $file, search => $find });

     # get all sub names in a file
     my @subs = Devel::Examine::Subs->all({ file => $file });

     # There's also an OO interface to save typing if you will be making
     # multiple calls

     my $des = Devel::Examine::Subs->new();

     $des->has(...);
     $des->missing(...);
     $des->all(...);



    Product's homepage

    Requirements:

    · Perl

      


    TAGS:

    subroutines name | Perl module | Perl | subroutines | name

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

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