Perl Source Code |
About Karen JP - PGP Keys - Vossen's Law - Firefox - MythTV Photos - Deck - SCUBA - Dolphins Security - Firewall Rules - Flypaper - GNATBox - Home - Home Net Security - Principles - Snort - Snort Books - Sec Tools - GenPass - Honeypot Stats - Firewall Stats Source - Perl Networking - Time - NAT - IP Calcs Linux - apt - Edutainment - SME Server - Backup (DI-30) Windows - Win Tools - Voodoo - Win. Shell Scripting - POSIX Redirection - Winlogcheck What's New Email me Email Form |
When saving, rename from *.pl.txt to *.pl or whatever you use for Perl. If using on Unix, you may need to convert CRLF to LF, and modify the "shebang" line (e.g. #!/usr/local/bin). " cleanup -u" can fix the line termination. Or find a good dos2unix and unix2dos program like those found in the UNXUtils. Perl (Practical Extraction and Report Language or Pathologically Eclectic Rubbish Lister) is an interpreted language optimized for scanning arbitrary text files, extracting information from those text files, and printing reports based on that information. It's also a good language for many system management tasks. Start at www.perl.com, and check getting the latest Perl. See the Win32 section especially if you use Win95 or WinNT (Hint: these versions can access the NT event logs, making collection and auditing them much easier...). I use ActiveState's ActivePerl. I've also used IndigoStar's IndigoPerl (which has Apache built in) and Perl2Exe which can "compile" Perl. And check out the Open Perl IDE. ScriptsClicking on the name of a script will open that script in a new window.
GenSiteGenSite is the simple script (relative to "real" Content Management Systems (CMS) anyway) that creates the HTML code for this site. My main constraint is that the ISP where most of the site is hosted does not support SSI, CGI, or anything else that would facilitate a modern site. I have various reasons for staying there, not the least of which is inertia. So I needed a simple solution that would create a navigable site without any those technologies. Also, after the last redesign JavaScript fiasco, I wanted totally PURE HTML. Since the site is mostly static, that was fine, except for being able to actually maintain it. So I wrote this. See the script code for lots more details.
OLDSome Perl modules you might need (especially since I used them in some of these scripts). Just extract the files (use WinZip) and copy *.pm to \perl\lib\Number, \perl\lib\time or the correct path.
|
http://www.jpsdomain.org/source/perl.html Copyright © 1995-2022, JP Vossen. All rights reserved. Last Modified: $Date: 2008-09-27 16:06:58 -0400 (Sat, 27 Sep 2008) $ |