Welcome To Snipplr


Everyone's Recent Snippets Tagged perl



« Prev 1 2 3
  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

    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 6 views posted 5 years ago by jsinix
  5. FAV

    Plack maps multiple pages

    Maps multiple apps with mount and URLMap
    Perl 2 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 7 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 3 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 8 views posted 6 years ago by sukantahazra
  9. FAV

    Template for perl module with debian package

    This is the template for a basic project in Perl language with a minimal Debian package build. I always use the I parameter with Perl for use the more updated version of the modules in the debug process.
    Makefile 6 views posted 7 years ago by VictorMoral
  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

    Batch file content replace from template.php

    Find and replace contents of files ending in .php with nothing. then append contents of template.php to all files in directory
    Bash 5 views posted 7 years ago by zlincoln
  13. FAV

    Replace number sequentially with grep

    Perl 5 views posted 7 years ago by page_lab
  14. 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
  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

    Batch remove whitespace in all the files in directory and replace with a dash "-"

    Add this to your .profile or .bash_rc file, source the file, navigate to the directory and call "rm_whitespace" Based on: http://snipplr.com/view/4468/batch-rename-files-in-directory/
    Bash saved by 3 people 15 views posted 8 years ago by licensetoil
  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

    PERL & JQuery Product Animation

    This was for a "Sport Landing Page" where people can select their outfits. There is intial intro box that gets cleared on the first selection. The thumbnails popout on hover. And there is a clear function that takes out all the products selected to j...
    jQuery 5 views posted 8 years ago by cpres
  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

    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
  23. FAV

    list all files in directory

    list all files in dir
    Perl 6 views posted 9 years ago by yoblob
  24. 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 4 views posted 9 years ago by numberwhun
  25. FAV

    Find Installed Modules

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

    Perl in-place substitution as an alternative to sed

    Pseudocode 2 views posted 9 years ago by axolx
  27. FAV

    send SMS via SMS Gateway by www.smsmatrix.com

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

    Example Virtual Host Configuration (Weblication on XAMPP)

    Apache saved by 4 people 3 views posted 9 years ago by iroybot
  29. FAV

    Make translation for Zend_translate via Perl script

    Other 0 views posted 9 years ago by paramah
  30. FAV

    perl grep find multiple filetypes

    Perl 3 views posted 9 years ago by joe-bbb
« Prev 1 2 3