Providers
Debian Linux
SDF
MinGW-W64
Verizon
Research
Faqs and RFCs
FileSearching
Google
Google Groups
W3Schools Online Web Tutorials
Wikipedia
Multimedia
CTIS
For the Pigs Among Us
Family Photos
My House
My Photos (1999-2002?)
My Photos (2005)
Retro Computers
Minions of Mirth
Main
Criticals
Criticals (Single Player)
Ghaqua
Maps and Points of Interest
Miscellaneous
Monster Templates
Miscellaneous
Area Codes
Bard’s Tale
Dungeons & Dragons Online
My Blog
Quote of the Day
RogueBasin
Slashdot
The Adventuer’s Guild
Weather
GitHub:eprive/Z80-MBC3
Programming
Main
Across
Biorhythm
BMP Chips
Complex Roots
Magic Square
Magic Square(js)
Matrix(js)
More DOS Programs
Roll
Strip Dups (bash)
Wacky Wood-Worker
How To
Enlightenment 0.16.7.2 Startup Patch
How to Create an OS X Iconset
My RedHat Howto
SSH to VMS (Deathrow OpenVMS Cluster)
Tools
Allowable Mortgage Interest
Dates and Mileage
Day of the Year
Fun With Time
Downloads
Educational
Utilities
datesandmileage.pl
#!/usr/pkg/bin/perl -w @wday = qw{ Sunday, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday }; @mon = qw{ January February March April May June July August September October November December }; my($sec, $min, $hour, $day, $mon, $year, $wday, $yday, $isdst) = localtime; @date = ( $wday[$wday], $day, $mon[$mon], $year+1900 ); print "Content-type: text/html\n\n"; open HEADER, "../parts/header"; foreach (<HEADER>) { s{__TITLE__}{Dates and Mileage}; s{__BCKGRND__}{/tiles/purple_marble.png}; if ( ! /navpane.html.part/ ) { print $_; } else { system "./navpane.pl" ; } } close HEADER; system "./datesandmileage.cgi"; open FOOTER, "../parts/footer"; foreach (<FOOTER>) { s{__DATE__}{@date}; print $_; } close FOOTER;
This source has been viewed 18 times.
Friday, 6 December 2024
Michael J. Chappell
Contact me at:
mcsuper5@freeshell.org