calculating md5 in Perl





ranking Sort Sort   |   date Sort Sort   |   member Sort Sort
Syndication

« Previous 1 2 Next »
7
Date Submitted Wed. Mar. 29th, 2006 11:31 AM
Revision 1
Helper digitaljunkie
Tags compress | File | gzip | Perl
Comments 0 comments
Need to GZip a file using Perl?

Use Compress::Zlib.

This is a simple perl script which creates a GZip file.
5
Date Submitted Fri. Nov. 3rd, 2006 12:07 PM
Revision 1
Helper jarfil
Tags "Command Line" | Perl
Comments 2 comments
I've found it kind of complicated to strip newline chars from a file with just the commandline. This tiny piece of code does just that.

I've found it especially useful when extracting tabulated data from a grabbed site where each cell is on a different html line. This way I can pre-filter the html, remove the newlines, and insert them again at register boundaries (row end in this case), so that with just a couple more replacement from within a regex enabled text editor I can copy&paste it directly to a database.
8
Date Submitted Sat. Sep. 23rd, 2006 5:06 AM
Revision 1
Scripter Pio
Tags MD5 | Security | VB.NET
Comments 1 comments
This could be used for any type of simple hash checking. It could also be used to store a "password" that had to be verified. This code is completely managed.
0
Date Submitted Mon. Oct. 9th, 2006 1:14 PM
Revision 1
Beginner robert
Tags "record time" | day | hour | localtime | minute | Perl
Comments 3 comments
This perl function will output to a file of your choosing the current localtime as defined by perl's localtime function. It will output the date in ISO 8601 date format plus the current localtime such as:
2006-08-21 09:26:35 am
The function also returns the localtime without the date to the calling environment.
7
Date Submitted Mon. Nov. 6th, 2006 1:48 PM
Revision 1
Helper RobHarrigan
Tags "first | "title | capitalize | case" | letter" | Perl
Comments 3 comments
Function to capitalize the first letter in every word in a string, but only if the entire string is in ALL CAPS.

Example:
"I LIKE TO SCREAM" becomes "I Like To Scream"
"I LIKE to RUN" remains "I LIKE to RUN".
7
Date Submitted Mon. Nov. 14th, 2005 7:05 PM
Revision 1
Helper ses5909
Tags File | Perl | Size
Comments 1 comments
Get a FileSize
6
Date Submitted Thu. Aug. 10th, 2006 1:14 PM
Revision 1
Beginner sio2man
Tags CGI | Perl
Comments 1 comments
Prints the user's IP address and localtime on a web page.
9
Date Submitted Thu. Aug. 10th, 2006 2:02 PM
Revision 1
Beginner sio2man
Tags Perl | Threads
Comments 0 comments
This is a little example of how to use threads in Perl. It creates three threads and runs them... That's it...
« Previous 1 2 Next »