Saturday, November 1st, 2008 Posted in perl, programming | Comments Off
if ( $string =~ /[[:^ascii:]]/ ) { print "String contains characters that are NOT pure ASCII"; } else { print "Everything is good, string/pure is valid ASCII."; } E.G.: If it ... Read more..Wednesday, August 6th, 2008 Posted in perl, programming, slackware | Comments Off
It allows you to get Perl pre-compiled packages. You can avoid installing a C compiler which is needed for some packages (KinoSearch for example). http://aspn.activestate.com/ASPN/Downloads/ActivePerl/PPM/ Alternate packages repositories: http://cpan.uwinnipeg.ca/PPMPackages/10xx/ Read more..Saturday, October 6th, 2007 Posted in Uncategorized | Comments Off
Find bad links, dead links or 404s using churls_web.pl. The script displays a "." for each good link and displays the error code and message for each bad link. Read more..Tuesday, September 25th, 2007 Posted in Uncategorized | Comments Off
Make a directory where you will install the modules, eg: $ mkdir ~/perl Get and Install the Module ... Read more..Tuesday, September 25th, 2007 Posted in Uncategorized | Comments Off
Get a word's definition(s), synonyms and hyponyms (related words) using perl and WordNet. The word must be specified as a command line argument, but the script could easily be ... Read more..