Welcome To Snipplr


Everyone's Recent Perl Snippets Tagged perl



1 2 Next »
0 83 posted 10 years ago by hacker
0 118 posted 10 years ago by hacker
0 123 posted 11 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 84 posted 11 years ago by myhd
Just to list perl environment variables.
1 91 posted 11 years ago by suibhne
1 132 posted 11 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 174 posted 11 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 175 posted 11 years ago by paramah
0 101 posted 11 years ago by archlight
Used for converting, compiling, and reversing tiff files from the Book Center's digital library.
0 96 posted 12 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 120 posted 12 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 127 posted 12 years ago by amosshapira
Yes, this is valid code. Designed by myself, unless otherwise noted.
0 200 posted 12 years ago by darkphotn
Just a test
0 91 posted 12 years ago by realgeeky
Don't use the -l switch if you don't want a new line.
1 168 posted 12 years ago by 0xced
0 89 posted 12 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 133 posted 13 years ago by wolfie
Retrieves gif page images from RIFIAS on-line archive and combines them into a single pdf file
0 84 posted 13 years ago by iblis
0 169 posted 13 years ago by micmath
0 124 posted 13 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 275 posted 13 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 134 posted 13 years ago by wolfie
Courtesy of Michael Mathews
0 129 posted 13 years ago by wolfie
0 119 posted 13 years ago by wolfie
0 100 posted 13 years ago by whitetiger
1 2 Next »