Welcome To Snipplr


Everyone's Recent Perl Snippets Tagged perl



1 2 Next »
0 974 posted 15 years ago by hacker
0 975 posted 15 years ago by hacker
0 916 posted 15 years ago by joe-bbb
This example demonstrates a way to control Adobe InDesign from Perl. Tested on MacOS X 10.5.7 and INDD.
0 982 posted 15 years ago by myhd
1 964 posted 16 years ago by cshaiku
# useful links: # (WMI space definition) http://msdn.microsoft.com/en-us/library/aa394084(VS.85).aspx # (OLE usage on CPAN) http://cpan.uwinnipeg.ca/htdocs/Win32-OLE/Win32/OLE.html#Object_methods_and_properties
1 1330 posted 16 years ago by vinocui
For database inserts must be made some site on "http://redirect_host:port/.../" with nice getip function: http://snipplr.com/view/10946/
0 1127 posted 16 years ago by paramah
0 829 posted 16 years ago by archlight
Used for converting, compiling, and reversing tiff files from the Book Center's digital library.
0 838 posted 16 years ago by rubinsta
This Perl one-liner will remove all newline characters from a text file, replacing them with a space. In the source, all newline characters in the file gear_list.xml are replaced with spaces, and the original file is saved as gear_list.xml.bak
0 1164 posted 16 years ago by retry
In response to a very simplistic solution suggestion using Shell, here is a basic version of what I use. The advantage of the solution below is that it is supposed to be much faster on directories with many files (I regularly use its full-blown versi...
0 1011 posted 17 years ago by amosshapira
Yes, this is valid code. Designed by myself, unless otherwise noted.
0 1487 posted 17 years ago by darkphotn
Just a test
0 989 posted 17 years ago by realgeeky
Don't use the -l switch if you don't want a new line.
1 1327 posted 17 years ago by 0xced
0 887 posted 17 years ago by mandric
This shows how to use a module that normally needs a 'qw' attachment to the use statement (hint: its the = sign). You can add others by using comma separated values.
0 1040 posted 17 years ago by wolfie
Retrieves gif page images from RIFIAS on-line archive and combines them into a single pdf file
0 870 posted 17 years ago by iblis
0 1263 posted 17 years ago by micmath
0 1182 posted 17 years ago by micmath
This code will validate not only the four octets contain between 1 and 3 numbers each, but also that the number they contain is between 0 and 255. In all, there are 3 different regex's that I tried and all seem to work fine. The three regex's a...
0 2852 posted 18 years ago by numberwhun
Use this to display a file properly if you are reading it from another location and wish to direct it to the user's browser
0 1056 posted 18 years ago by wolfie
Courtesy of Michael Mathews
0 1107 posted 18 years ago by wolfie
0 1085 posted 18 years ago by wolfie
0 1020 posted 18 years ago by whitetiger
1 2 Next »