Windows Screenshot from perl
-1
Just a simple check to make sure that a person's email address matches their domain.
For example .. in a form you have 2 textboxs .. 1 for their website url, the other for their email address. This checks to see if the domains for the email address and the website url match.
For example .. in a form you have 2 textboxs .. 1 for their website url, the other for their email address. This checks to see if the domains for the email address and the website url match.
0
robert
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.
2006-08-21 09:26:35 am
The function also returns the localtime without the date to the calling environment.
0
Usage:
found('asdf',@array);
P.S. In perl 5.10 can be written as
use 5.010;
'asdf'~~@array;
found('asdf',@array);
P.S. In perl 5.10 can be written as
use 5.010;
'asdf'~~@array;
0
Digest::MD5 is core from 5.8.
5
Simple function to check for a valid email address. Makes sure the @ and a . are in the right place. There is most likely a perl package on CPAN that would be more extensive, but this happens to work for my uses.
5
I needed a quick way to make a Street Address and City proper case.
Lingua::EN::NameCase works best for peoples names, but it does not work well for Addresses. This is not intended by any means to be complete, but is quick and dirty.
Plus, there are not many Perl snippets here. So, I thought I would start simple :-)
Lingua::EN::NameCase works best for peoples names, but it does not work well for Addresses. This is not intended by any means to be complete, but is quick and dirty.
Plus, there are not many Perl snippets here. So, I thought I would start simple :-)
5
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.
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.
6
A database API written in Perl for a MySQL.
You will need to edit the settings for your server.
Enojy
You will need to edit the settings for your server.
Enojy
6
Prints the user's IP address and localtime on a web page.
6
Prior to NETCF 2.0, this was a royal pain. Now, it's pretty straight-forward.
These three related functions provide basic Clipboard operations for text. While not terribly useful by themselves, they become more useful when attached to a field's context menu or, better yet, implemented in a custom control.
These three related functions provide basic Clipboard operations for text. While not terribly useful by themselves, they become more useful when attached to a field's context menu or, better yet, implemented in a custom control.









