Welcome To Snipplr
Everyone's Recent Perl Snippets Tagged perl
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
[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...
0
771
posted 8 years ago by bvwatson
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 .
0
1069
posted 9 years ago by jsinix
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.
0
1097
posted 9 years ago by jsinix
Renames files in a directory. If no directory is specified, the current directory is used.
0
707
posted 10 years ago by ff1959
Used to extract the various config parameters from the TRA file
0
712
posted 10 years ago by sukantahazra
This is used to recurse through a directory and perform some action on each file
0
769
posted 10 years ago by sukantahazra
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.
0
832
posted 11 years ago by kurtkincaid
Snippet obtained from Stackoverflow courtesy of [Loki Astari](http://stackoverflow.com/a/130428)
0
838
posted 11 years ago by symsec
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.
0
772
posted 11 years ago by Maximus1983
Text filter to increment numbers by one with regex in BBEdit (Mac only)
0
1196
posted 11 years ago by page_lab
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...
0
879
posted 12 years ago by haxpor
Program that sums all the values (including big positive/negative integers)
0
597
posted 12 years ago by apoz
Recursive delete of given file or folder, e.g. .svn folder
Call : [Program] [SearchPath] [DeleteItem]
0
638
posted 12 years ago by FazzyX
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.
0
1196
posted 13 years ago by numberwhun
This is a handy little bit that will show you all of the installed modules on the system.
0
457
posted 13 years ago by numberwhun
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...
1
789
posted 14 years ago by rareyman
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
0
599
posted 14 years ago by spreelanka
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>...
1
824
posted 14 years ago by ptepper