Wow! First Real Working Perl Script!

Arthur Corliss corliss at sinbad.net
Mon Apr 5 02:34:22 CDT 1999


On Sun, 4 Apr 1999, Fielder George Dowding wrote:

> Greetings Fellow Anchorage Perl Mongers!

:-)  Same to you!

> I can officially say that since I just mongered my first perl script. I
> have been updating a web site on a monthly basis by hand. It involved a
> masthead image (gif) plus a variable number of page images (also gif).
> To say the least the work was tedious and fraught with errors. It was
> especially difficult to increase the number of pages from one month to
> the next.
> 
> This thing I cobbled together today (after my post Easter Dinner nap) in
> about four hours has really delighted me. It was scary how fast it
> created the html files.
> 
> Now I have more questions on how to do other things like automatically
> put the date time group where I want it.
> 
> Cheerio for now!

We'll be looking foward to any questions you have, and amazed at how easy such
tasks are.  :-)  Share the knowledge, of course, if you've found a way to make
site maintenance easier through Perl!

BTW, on the date/time group thing, if your pre-processing output, you could do
a simple regex search and replace on a custom date tag in the text, something
like:

	$dt_group = scalar localtime();
	$text =~ s/<DTGROUP>/$dt_group/g;

or what have you. . .

	--Arthur Corliss
	  Bolverk's Lair -- http://www.odinicfoundation.org/arthur/
	  "Live Free or Die, the Only Way to Live" -- NH State Motto

===============================================================
Mailing list info:  If at any time you wish to (un|re)subscribe to the list send the
request to majordomo at hfb.pm.org.  All requests should be in the body, and look
like such
                  subscribe anchorage-pm-list
                  unsubscribe anchorage-pm-list



More information about the Anchorage-pm mailing list