Welcome To Snipplr


Everyone's Recent Perl Snippets Tagged perl



« Prev 1 2
  1. FAV

    Make and test SQLite it working with Perl

    Perl 7 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 12 views posted 4 years ago by bvwatson
  3. 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
  4. 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 16 views posted 5 years ago by jsinix
  5. FAV

    Plack maps multiple pages

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

    Rename files using perl.

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

    Extract TRA configuration for tra file

    Used to extract the various config parameters from the TRA file
    Perl 10 views posted 6 years ago by sukantahazra
  8. 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 16 views posted 6 years ago by sukantahazra
  9. 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 11 views posted 7 years ago by kurtkincaid
  10. 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 14 views posted 7 years ago by symsec
  11. FAV

    Replace number sequentially with grep

    Perl 11 views posted 7 years ago by page_lab
  12. 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 10 views posted 7 years ago by Maximus1983
  13. FAV

    Using constants in perl

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

    EPUB: reorder playorder values in NCX file

    Perl 9 views posted 7 years ago by page_lab
  15. FAV

    BBEdit text filter - increment value by one

    Text filter to increment numbers by one with regex in BBEdit (Mac only)
    Perl 13 views posted 7 years ago by page_lab
  16. 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 11 views posted 8 years ago by haxpor
  17. FAV

    Space separated values sum

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

    SearchAndDestroy

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

    list all files in directory

    list all files in dir
    Perl 11 views posted 9 years ago by yoblob
  20. FAV

    Print Current Month

    This is a script that simply prints the current month. I produced this a couple years ago and use it as a reference for using the localtime() function.
    Perl 18 views posted 9 years ago by numberwhun
  21. FAV

    Find Installed Modules

    This is a handy little bit that will show you all of the installed modules on the system.
    Perl 4 views posted 9 years ago by numberwhun
  22. FAV

    send SMS via SMS Gateway by www.smsmatrix.com

    send SMS to any mobile phone number (or a list) worldwide.
    Perl 9 views posted 9 years ago by smsmatrix
  23. FAV

    perl grep find multiple filetypes

    Perl 10 views posted 9 years ago by joe-bbb
  24. FAV

    rename recursive file extensions

    This replaces all .pngx files with .png
    Perl 8 views posted 10 years ago by joe-bbb
  25. FAV

    FHTML (for TextMate)

    I modified this excellent Perl script, created by John Watson (http://www.watson-net.com) to be used with TextMate to reformat your HTML for easier readability. Here's how to use it: 1. In TextMate > Bundles > Bundle Editor > Show Bundle Editor...
    Perl saved by 3 people 18 views posted 10 years ago by rareyman
  26. FAV

    CLI/Shell spacing with Template--Toolkit (TT) without looping

    Perl 11 views posted 10 years ago by awnstudio
  27. FAV

    remove sensitive info from a subversion repository

    I recently had to remove some files from a svn repo. should work pretty much out of the box, just fill in blatantly exampleish text and read the comments
    Perl 6 views posted 10 years ago by spreelanka
  28. FAV

    run 'linkcheck' on bookmarks 2 of 2

    source for perl file that is step 2
    Perl saved by 1 person 8 views posted 10 years ago by rowntreerob
  29. FAV

    Process PHP-style array (square brackets) from HTML form in Perl CGI

    This is inspired by this http://www.cgi101.com/book/ch5/text.html so I'm using a similar example. In PHP you can combine a set of checkboxes into an array using square brackets like this: <form> <input> Red<br> <input> Green<br>...
    Perl saved by 4 people 13 views posted 10 years ago by ptepper
  30. FAV

    CPAN module to install Perl

    on cygwin, run 'CPAN' to manage module installs
    Perl 4 views posted 10 years ago by rowntreerob
« Prev 1 2