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

    File::Locate 0.61

    Download button

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

    License / Price:

    Last Updated:

    Category:
    Tassilo von Parseval | More programs
    Perl Artistic License / FREE
    November 11th, 2006, 11:05 GMT
    ROOT / Programming / Libraries

     Read user reviews (0)  Refer to a friend  Subscribe

    File::Locate description

    File::Locate is a Perl module to search the (s)locate-database from Perl.

    File::Locate is a Perl module to search the (s)locate-database from Perl.

    SYNOPSIS

    use File::Locate;

    print join "n", locate "mp3", "/usr/var/locatedb";

    # or only test of something is in the database

    if (locate("mp3", "/usr/var/locatedb")) {
    print "yep...sort of mp3 there";
    }

    # do regex search
    print join "n", locate "^/usr", -rex => 1, "/usr/var/locatedb";

    ABSTRACT

    Search the (s)locate-database from Perl

    File::Locate provides the locate() function that scans the locate database for a given substring or POSIX regular expression. The module can handle both plain old locate databases as well as the more hip slocate format.

    Product's homepage

    Requirements:

    · Perl

      


    TAGS:

    search locate-database | search database | Perl module | File::Locate | search | locate-database

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

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