Welcome To Snipplr


Everyone's Recent Perl Snippets



« Prev 1 2 3 4
  1. FAV

    Make and test SQLite it working with Perl

    Perl 5 views posted 3 years ago by jacklnorthrup
  2. FAV

    RegEx string substitution

    [The original problem was stated as a SQL (SQL Server 2008) problem. This Perl script demonstrates the desired outcome for the problem statement.] PROBLEM STATEMENT: Please help me with SQL Query and requirement is as below: Below is the Da...
    Perl 8 views posted 4 years ago by bvwatson
  3. FAV

    Send email from gmail account via command line

    This scripts can be used to send email from your gmail account by authenticating. It can be modified to login to any SMTP server.
    Perl saved by 9 people 10 views posted 5 years ago by jsinix
  4. FAV

    Perl inventory management script

    Author: jsinix([email protected] This script can be used to create, delete and update device inventory. This is a basic script that can be modified and improved upon to make it serve better .
    Perl 11 views posted 5 years ago by jsinix
  5. FAV

    Perl get user input with timeout

    Author: jsinix([email protected]) This is a script that demonstrates how to get input from keyboard with a timeout. This can be useful in many places.
    Perl 6 views posted 5 years ago by jsinix
  6. FAV

    Plack maps multiple pages

    Maps multiple apps with mount and URLMap
    Perl 2 views posted 5 years ago by dbiesecke
  7. FAV

    Rename files using perl.

    Renames files in a directory. If no directory is specified, the current directory is used.
    Perl 7 views posted 6 years ago by ff1959
  8. FAV

    Extract TRA configuration for tra file

    Used to extract the various config parameters from the TRA file
    Perl 3 views posted 6 years ago by sukantahazra
  9. FAV

    Recurse through directory and perform action on file

    This is used to recurse through a directory and perform some action on each file
    Perl 8 views posted 6 years ago by sukantahazra
  10. FAV

    OID or IP Address numeric sort

    I love this one. Needed a good way to numerically sort IP addresses or OIDs. Took longer to come up with this than I'm willing to admit. Hope others find it useful.
    Perl 6 views posted 7 years ago by kurtkincaid
  11. FAV

    Perl recursive loop symbolic link final destination using Unix readlink command

    Snippet obtained from Stackoverflow courtesy of [Loki Astari](http://stackoverflow.com/a/130428)
    Perl 5 views posted 7 years ago by symsec
  12. FAV

    Replace number sequentially with grep

    Perl 5 views posted 7 years ago by page_lab
  13. FAV

    Capture Screenshots in Perl

    Capture Web Screenshots easily with the [GrabzIt Perl API](http://grabz.it/api/perl/) You will need the free [GrabzIt Code Library](http://grabz.it/api/perl/download.aspx) to get started.
    Perl 7 views posted 7 years ago by Maximus1983
  14. FAV

    Process quoted text differently

    This Perl snippet shows how to separate quoted parts from a text in order to process quoted and unquoted parts separately. For example, you could expand variables or wildcards only in the unquoted part. Then the different processed parts are put to...
    Perl 6 views posted 7 years ago by deepsoul
  15. FAV

    Using constants in perl

    How to use a constant in perl
    Perl 11 views posted 7 years ago by ff1959
  16. FAV

    EPUB: reorder playorder values in NCX file

    Perl 3 views posted 7 years ago by page_lab
  17. FAV

    BBEdit text filter - increment value by one

    Text filter to increment numbers by one with regex in BBEdit (Mac only)
    Perl 5 views posted 7 years ago by page_lab
  18. FAV

    Iterate through variable line by line.

    Splits on new line, to load array, and cycle through each line in array. In this example, we are loading the holding array "@thing" with data from the "_content" key of the $results hashref.
    Perl 7 views posted 7 years ago by EmbeddedInsanity
  19. FAV

    Perl script working with pngcrush, for 1 level of folder hierarchy

    Wrote this script to work with pngcrush command line based program on Windows system to compress several .png images in multiple folders (with only 1 level of folders, rather than that you have to repeat doing it manually). It's fast, and help doi...
    Perl 4 views posted 8 years ago by haxpor
  20. FAV

    search and replace vi

    Perl 6 views posted 8 years ago by pflangan
  21. FAV

    Space separated values sum

    Program that sums all the values (including big positive/negative integers)
    Perl 2 views posted 8 years ago by apoz
  22. FAV

    list all subdirectories

    Perl 5 views posted 8 years ago by alfirth
  23. FAV

    make a directory tree from the output of find

    Perl 3 views posted 8 years ago by alfirth
  24. FAV

    connect to mysql using a different socket

    Perl saved by 1 person 6 views posted 8 years ago by alfirth
  25. FAV

    check directory is empty

    Perl 5 views posted 8 years ago by alfirth
  26. FAV

    SearchAndDestroy

    Recursive delete of given file or folder, e.g. .svn folder Call : [Program] [SearchPath] [DeleteItem]
    Perl 7 views posted 8 years ago by FazzyX
  27. FAV

    Text::CSV by hashref

    Perl saved by 1 person 6 views posted 8 years ago by alfirth
  28. FAV

    list all files in directory

    list all files in dir
    Perl 6 views posted 9 years ago by yoblob
  29. FAV

    chomp text files and return regex matches by product

    Perl 4 views posted 9 years ago by alfirth
  30. FAV

    Apache Log File Analyzer

    Perl 3 views posted 9 years ago by Affix
« Prev 1 2 3 4