Welcome To Snipplr


Everyone's Recent Snippets Tagged perl



1 2 3 Next »
test with echo instead of mv example removes spaces after dots, replaces spaces with _, removes ' , and -, and finally lowercases filenames
1 1655 posted 17 years ago by iblis
Just a test
0 1192 posted 17 years ago by realgeeky
Don't use the -l switch if you don't want a new line.
1 1713 posted 18 years ago by 0xced
0 1130 posted 18 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 1308 posted 18 years ago by wolfie
Retrieves gif page images from RIFIAS on-line archive and combines them into a single pdf file
0 1086 posted 18 years ago by iblis
0 1562 posted 18 years ago by micmath
0 1423 posted 18 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 3340 posted 18 years ago by numberwhun
This allows you to use perl syntax highlighting in vi for test scripts that use the ".t" file extension
0 2578 posted 18 years ago by wolfie
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 1465 posted 18 years ago by wolfie
Courtesy of Michael Mathews
0 1430 posted 19 years ago by wolfie
0 1372 posted 19 years ago by wolfie
0 1216 posted 19 years ago by whitetiger
0 1223 posted 19 years ago by whitetiger
2 1881 posted 19 years ago by whitetiger
0 1119 posted 19 years ago by whitetiger
0 1280 posted 19 years ago by whitetiger
2 1963 posted 19 years ago by whitetiger
1 2 3 Next »