[7871] in Perl-Users-Digest
Perl-Users Digest, Issue: 1496 Volume: 8
daemon@ATHENA.MIT.EDU (Perl-Users Digest)
Thu Dec 18 04:07:56 1997
Date: Thu, 18 Dec 97 01:00:35 -0800
From: Perl-Users Digest <Perl-Users-Request@ruby.OCE.ORST.EDU>
To: Perl-Users@ruby.OCE.ORST.EDU (Perl-Users Digest)
Perl-Users Digest Thu, 18 Dec 1997 Volume: 8 Number: 1496
Today's topics:
Re: 6 elementary questions (I R A Aggie)
Re: Advanced Perl Programming book <tchrist@mox.perl.com>
Re: append to top of file ? snailgem@aol.com
Re: append to top of file ? (Tad McClellan)
Re: append to top of file ? (brian d foy)
Re: closures and sort (Tad McClellan)
Re: getting correct web server headers (Mike Stok)
Help Needed modifying a text file using perl <roberts_d@bms.nospam.com>
Re: Help Needed modifying a text file using perl (brian d foy)
Re: How to load an assoc. array (brian d foy)
Re: JPL & PERL 5.004_04 under IRIX (Steve)
last modification date on files (psullivan)
Re: last modification date on files <rjk@coos.dartmouth.edu>
multiple gd calls in NT perl script <gyuen@telalink.net>
Re: No Flock! -- Now What? (Steve)
Number of items in an array <mhanson@arrowweb.com>
Re: Number of items in an array <alambro@ibm.net>
Re: Perl Programmers wanted! (Tad McClellan)
Re: Script calls embedded in web pages snailgem@aol.com
Re: Teaching programing (Tad McClellan)
Re: What kind of machine wouldn't support FLOCK? (Steve)
Re: What kind of machine wouldn't support FLOCK? (brian d foy)
Re: Which http-server ?? (\"Pete\")
Writing Of HTML In Perl <cybercom@pacific.net.sg>
Digest Administrivia (Last modified: 8 Mar 97) (Perl-Users-Digest Admin)
----------------------------------------------------------------------
Date: Wed, 17 Dec 1997 21:51:03 -0500
From: fl_aggie@thepentagon.com (I R A Aggie)
Subject: Re: 6 elementary questions
Message-Id: <-1712972151040001@aggie.coaps.fsu.edu>
In article <679oku$nu1$1@csnews.cs.colorado.edu>, tchrist@mox.perl.com
(Tom Christiansen) wrote:
+ The last squeaky wheel on this issue was sent on an overnight to above
+ the Brooks Range to forcibly review the manuscript that addresses this
+ issue. They are not back yet, nor are they expected for several months.
+ Morning is a long, cold time coming up there. :-)
Ouch. Can perl cure the common frostbite?
James
--
Consulting Minister for Consultants, DNRC
The Bill of Rights is paid in Responsibilities - Jean McGuire
To cure your perl CGI problems, please look at:
<url:http://www.perl.com/perl/faq/idiots-guide.html>
------------------------------
Date: 18 Dec 1997 04:30:21 GMT
From: Tom Christiansen <tchrist@mox.perl.com>
Subject: Re: Advanced Perl Programming book
Message-Id: <67a8st$a22$1@csnews.cs.colorado.edu>
[courtesy cc of this posting sent to cited author via email]
In comp.lang.perl.misc,
Eric Bohlman <ebohlman@netcom.com> writes:
:If you feel that you have a vague grasp of references, modules and
:objects, but want a more in-depth explanation, then the Panther book is
:definitely for you. The same if you're in a similar position with
:regards to networking and sockets. If you think of Perl as purely a Web
:programming language, then it's probably *not* for you; none of the
:examples deal with CGI scripting.
Remarkably well said, particularly at the very end there. :-)
--tom
--
Tom Christiansen tchrist@jhereg.perl.com
echo "ICK, NOTHING WORKED!!! You may have to diddle the includes.";;
--Larry Wall in Configure from the perl distribution
------------------------------
Date: Wed, 17 Dec 1997 21:36:01 -0500
From: snailgem@aol.com
Subject: Re: append to top of file ?
Message-Id: <34988C0D.7F5A@aol.com>
Bob Zwick wrote:
>
> Can anyone provide a simple script that add to the top of a file.
> I tried seek, but I must be doing it wrong.
> Don't have perl so I can't do a read doc.
> Thanks
> --
Haven't actually tried this, but here's the idea: reverse the file,
append to the bottom, then reverse it again.
tail -r, if your system supports it, might do the reverse for you.
If not something like $ grep -n "^" yourfile | sort -r -t: +1n | cut -d:
-f2 (again, untested).
--
--
Will
"Take any demand, however slight, which any creature, however weak, may
make. Ought it not, for its own sole sake, to be satisfied? If not,
prove why not."
William James
------------------------------
Date: Wed, 17 Dec 1997 21:39:31 -0600
From: tadmc@metronet.com (Tad McClellan)
Subject: Re: append to top of file ?
Message-Id: <jt5a76.vq4.ln@localhost>
snailgem@aol.com wrote:
: Bob Zwick wrote:
: >
: > Can anyone provide a simple script that add to the top of a file.
: > I tried seek, but I must be doing it wrong.
: > Don't have perl so I can't do a read doc.
: > Thanks
: > --
: Haven't actually tried this, but here's the idea: reverse the file,
: append to the bottom, then reverse it again.
: tail -r, if your system supports it, might do the reverse for you.
: If not something like $ grep -n "^" yourfile | sort -r -t: +1n | cut -d:
: -f2 (again, untested).
or maybe Perl's reverse() function might be used to reverse things ;-)
--
Tad McClellan SGML Consulting
tadmc@metronet.com Perl programming
Fort Worth, Texas
------------------------------
Date: Thu, 18 Dec 1997 00:35:32 -0500
From: comdog@computerdog.com (brian d foy)
Subject: Re: append to top of file ?
Message-Id: <comdog-ya02408000R1812970035320001@news.panix.com>
In article <jt5a76.vq4.ln@localhost>, tadmc@metronet.com (Tad McClellan) wrote:
>snailgem@aol.com wrote:
>: Bob Zwick wrote:
>: >
>: > Can anyone provide a simple script that add to the top of a file.
>: > I tried seek, but I must be doing it wrong.
>: > Don't have perl so I can't do a read doc.
>: > Thanks
>: Haven't actually tried this, but here's the idea: reverse the file,
>: append to the bottom, then reverse it again.
>: tail -r, if your system supports it, might do the reverse for you.
>: If not something like $ grep -n "^" yourfile | sort -r -t: +1n | cut -d:
>: -f2 (again, untested).
>or maybe Perl's reverse() function might be used to reverse things ;-)
i'm surprised Tad didn't mention section 5 of the Perl FAQ which has
the answer to:
How do I change one line in a file/delete a line in
a file/insert a line in the middle of a file/append
to the beginning of a file?
The Perl FAQ is bundled with current releases of Perl and is
also available online through <URL:http://www.perl.com>. although
its answers may be in Perl, one would find that the techniques
can be used in other languages as well.
of course, this seems moot if the original poster doesn't want to
install perl, but then, this is a *perl* newsgroup, so maybe it's
a freudian post.
--
brian d foy <comdog@computerdog.com>
NY.pm - New York Perl M((o|u)ngers|aniacs)* <URL:http://ny.pm.org/>
CGI Meta FAQ <URL:http://computerdog.com/CGI_MetaFAQ.html>
------------------------------
Date: Wed, 17 Dec 1997 21:33:24 -0600
From: tadmc@metronet.com (Tad McClellan)
Subject: Re: closures and sort
Message-Id: <4i5a76.vq4.ln@localhost>
Chad Lake (clake@belay.cs.utah.edu) wrote:
: In article <677c5r$bth$1@csnews.cs.colorado.edu>,
: Tom Christiansen <tchrist@mox.perl.com> wrote:
: >
: >First, you can't use closures to bind up $a and $b. They aren't
: >lexicals; they're globals. Closures close over lexicals.
: >
: Ah...I'll I found in the Camel was that $a and $b were passed in by
: reference, not that they were global.
"They are package globals" Camel 2e, top of page 219
--
Tad McClellan SGML Consulting
tadmc@metronet.com Perl programming
Fort Worth, Texas
------------------------------
Date: 17 Dec 1997 22:04:28 -0500
From: mike@stok.co.uk (Mike Stok)
Subject: Re: getting correct web server headers
Message-Id: <67a3rs$h2$1@stok.co.uk>
In article <Pine.SOL.3.96.971217175718.4040A-100000@ux7.cso.uiuc.edu>,
Ray <rgoldber@uiuc.edu> wrote:
>I wrote a script to check the validity of the links in my bookmarks file.
>The main part of the code grabs the headers from a website but this does
>not appear to be working in all cases. When I call it with some sites,
>such as www.us.pressline.com it returns the 404 not found code. The same
>happens when I telnet into the site at port 80 and type in "HEAD /
>HTTP/1.0\n\n". But when I use lynx with the -dump -head options it finds
>the right headers- so does netscape.
>
>On other sites, such as www.sparc.org, my script times out trying to
>connect to the site, whereas lynx -dump -head www.sparc.org finds it right
>away.
You might want to look at the LWP modules from CPAN, go to
http://www.perl.com and follow the CPAN links or ftp to ftp.funet.fi and
look under /pub/languages/perl/CPAN (comprehensive perl archive network)
The LWP::Simple module may be a place to start, its documentation starts
like this:
NAME
get, head, getprint, getstore, mirror - Procedural LWP
interface
SYNOPSIS
perl -MLWP::Simple -e 'getprint "http://www.sn.no"'
use LWP::Simple;
$content = get("http://www.sn.no/")
if (mirror("http://www.sn.no/", "foo") == RC_NOT_MODIFIED) {
...
}
if (is_success(getprint("http://www.sn.no/"))) {
...
}
[...]
head($url)
Get document headers. Returns the following values if
successful: ($content_type, $document_length,
$modified_time, $expires, $server)
Returns an empty list if it fails.
Hope this helps,
Mike
--
mike@stok.co.uk | The "`Stok' disclaimers" apply.
http://www.stok.co.uk/~mike/ | PGP fingerprint FE 56 4D 7D 42 1A 4A 9C
http://www.tiac.net/users/stok/ | 65 F3 3F 1D 27 22 B7 41
stok@colltech.com | Collective Technologies (work)
------------------------------
Date: Wed, 17 Dec 1997 17:15:41 -0500
From: Dan Roberts <roberts_d@bms.nospam.com>
Subject: Help Needed modifying a text file using perl
Message-Id: <34984F0D.5417B3FC@bms.com>
Hi..
I am stuck in being able to modify an existing text file using perl.
What I have is a directory of files of the form auto.txt
and the contents of the file look like
<wagon
12948234724232
2121212121298128182182810
what I need to do is change only the very first line of the file from
<wagon to something that would match the existing file name
so for instance
if the test file is currently called
car1245.txt
I would like to have the first line of the car1245.txt file read
<car1245-wagon
instead of it reading
<wagon
as it now does.
these changes would occur for all such named files within the same
directory.
I just can't figure out who to have perl swap out the old line and write
in a new one for me.
Could someone please help me out??.>thanks!!.>Dan
------------------------------
Date: Thu, 18 Dec 1997 00:26:11 -0500
From: comdog@computerdog.com (brian d foy)
Subject: Re: Help Needed modifying a text file using perl
Message-Id: <comdog-ya02408000R1812970026110001@news.panix.com>
In article <34984F0D.5417B3FC@bms.com>, Dan Roberts <roberts_d@bms.nospam.com> wrote:
>I am stuck in being able to modify an existing text file using perl.
>What I have is a directory of files of the form auto.txt
>and the contents of the file look like
[snip]
>what I need to do is change only the very first line of the file
have you seen the answer to:
How do I change one line in a file/delete a line in a
file/insert a line in the middle of a file/append to the
beginning of a file?
in section 5 of the Perl FAQ (which is bundled with Perl and also
available through CPAN [1])?
good luck :)
[1]
Comprehensive Perl Archive Network
find one at
<URL:http://www.perl.com>
--
brian d foy <comdog@computerdog.com>
NY.pm - New York Perl M((o|u)ngers|aniacs)* <URL:http://ny.pm.org/>
CGI Meta FAQ <URL:http://computerdog.com/CGI_MetaFAQ.html>
------------------------------
Date: Thu, 18 Dec 1997 00:18:33 -0500
From: comdog@computerdog.com (brian d foy)
Subject: Re: How to load an assoc. array
Message-Id: <comdog-ya02408000R1812970018330001@news.panix.com>
In article <3498a2bf.3172961@news.goodnet.com>, n7sf@usa.net (Tony Reeves) wrote:
>I have a flat file that I want to load into an associative array.
>I tryed this:
>
>open(LIST, "bus1loc") or die "Can't get the flat file\n";
>while(<LIST>) {
>($userid, $org) = split(":", $_);
>%assocarry = ( $userid, $org,);
>}
>close(LIST);
perhaps you wanted to add to the associateive array rather than redefine
it ech time:
$hash{$userid} = $arg;
>I've looked in the books, can't find it..
perhaps you need different books.. "Learning Perl" [1] has a chapter
devoted to hashes. in fact, the first bit of code in that chapter
is the answer to your question.
good luck :)
[1]
Learning Perl
Randal L. Schwartz & Tom Christiansen
ISBN 1-56592-284-0
<URL:http://www.oreilly.com>
--
brian d foy <comdog@computerdog.com>
NY.pm - New York Perl M((o|u)ngers|aniacs)* <URL:http://ny.pm.org/>
CGI Meta FAQ <URL:http://computerdog.com/CGI_MetaFAQ.html>
------------------------------
Date: Thu, 18 Dec 1997 03:39:45 GMT
From: syarbrou@ais.net (Steve)
Subject: Re: JPL & PERL 5.004_04 under IRIX
Message-Id: <34989a7b.9159539@news.ais.net>
Not sure your exact error, but I couldn't get it installed either. I
used the best method in the world, a new tardist for 5.004_04. It can
be found at http://reality.sgi.com/scotth/info/perl5.html and worked
flawlessly.
Steve
On Wed, 17 Dec 1997 11:51:07 -0500, Stephan Vladimir Bugaj
<bugaj@bell-labs.com> wrote:
>Greetings.
>
>I need to use JPL and am running IRIX (we have machines running
>6.2,6.3 & 6.4). I've tried to build PERL 5.004_04 on 6.2 and
>6.3 using both the SGI make and cc and GNU make and cc and have
>been unsuccessful in creating a version with a dynamic libperl.so
>and the system malloc (I did compile a static version with the
>PERL malloc successfully). I have discussed this problem somewhat
>with others, and have not yet figured out what needs to be done
>to make the compilation work properly.
>
>If you've done this, please let me know what you did to make it
>compile the dynamic libperl.so properly. I'd especially like
>to hear from anyone who actually has used JPL w/RMI under IRIX
>both about the PERL compilation and about JPL and RMI in general.
>What version of the SGI Java does it work with, and are there any
>snags I'll need to keep an eye out for? (Are there any snags in
>particular to RMI under IRIX in general that I should try to
>avoid?)
>
>Thanks.
>
>LL+P,
>Stephan
------------------------------
Date: Thu, 18 Dec 97 01:54:24 GMT
From: psullivan@stlnet.com (psullivan)
Subject: last modification date on files
Message-Id: <67a04f$ddt$1@news.stlnet.com>
I am trying to find out the last time a file was modified on unix, and so I
figure that i'd just use the -M file tester built into perl. But this gives me
time in days since last modification, and so i was wondering how I can convert
this to a date field (mm/dd/yy), or if you know of another way to find
this out. Thanks.
Patrick Sullivan
P.S. Please email the response as well as posting to the newsgroup. Thanks.
------------------------------
Date: Wed, 17 Dec 1997 22:09:18 -0500
From: Chipmunk <rjk@coos.dartmouth.edu>
To: psullivan <psullivan@stlnet.com>
Subject: Re: last modification date on files
Message-Id: <349893DE.F57CFF20@coos.dartmouth.edu>
psullivan wrote:
>
> I am trying to find out the last time a file was modified on unix, and so I
> figure that i'd just use the -M file tester built into perl. But this gives me
> time in days since last modification, and so i was wondering how I can convert
> this to a date field (mm/dd/yy), or if you know of another way to find
> this out. Thanks.
-M actually gives you the age of the file in days from the epoch, not the number
of days since the last modification.
Anyway, instead of -M file, use (stat file)[9]. That will give you the age of
the file in seconds from the epoch, which you can use as an argument to localtime().
Chipmunk
------------------------------
Date: Wed, 17 Dec 1997 23:12:32 -0600
From: Geoff Yuen <gyuen@telalink.net>
Subject: multiple gd calls in NT perl script
Message-Id: <3498B0C0.63A9@telalink.net>
Hi All
I think I've gotten gd to work on NT using
a shell/cgi mechanism with Perl5_003
but on a script that calls gd a couple
times to make different images, the output
only gives one picture; any idea what's
wrong ? (graphftpweblog.pl)
Maybe I didn't set up gd properly ?
(test script works fine)
All comments are welcome
Geoff
------------------------------
Date: Thu, 18 Dec 1997 03:45:06 GMT
From: syarbrou@ais.net (Steve)
Subject: Re: No Flock! -- Now What?
Message-Id: <349a9b96.9442141@news.ais.net>
Only Linux with perl 5.004_04 seems to support in on the UNIX end.
Other versions like Sun OS have man pages and everything, but they
don't work with multiple writes. You end up loosing your log or it's
all screwed up. I had to setup a Linux box to do this and it works
flawlessly. They say lockf() is the ultimate, most portable means to
do this, but I have never tried it.
Steve
On Wed, 17 Dec 1997 13:05:55 -0800, Vik Rubenfeld <VikR@aol.com>
wrote:
>I'm finding that there are PERL installations that neither support nor emulate
>FLOCK. What do you do on a system like that? Surely these systems have some
>way of handling multiple simultaneous attempts to write to a single data file
>-- don't they?
>
>Is it possible to develop something that is strictly PERL code, and can
>provide flock or something like it under any setup?
>
>Thanks very much in advance to all for any info.
>
>- Vik
------------------------------
Date: Wed, 17 Dec 1997 19:52:16 -0800
From: Mike <mhanson@arrowweb.com>
Subject: Number of items in an array
Message-Id: <34989DF0.5BA7@arrowweb.com>
How do you count the number of items in an array? Without going foreach
item in the array and then counting?
------------------------------
Date: 18 Dec 97 02:45:48 GMT
From: "Christopher Lambrou" <alambro@ibm.net>
Subject: Re: Number of items in an array
Message-Id: <01bd0b5f$45b7bd30$79706420@akis>
$items = $#array; # to get number of items in array @array
Mike <mhanson@arrowweb.com> wrote in article
<34989DF0.5BA7@arrowweb.com>...
> How do you count the number of items in an array? Without going foreach
> item in the array and then counting?
>
------------------------------
Date: Wed, 17 Dec 1997 18:54:36 -0600
From: tadmc@metronet.com (Tad McClellan)
Subject: Re: Perl Programmers wanted!
Message-Id: <c8s976.u74.ln@localhost>
JoeDevon (joedevon@travelin.com) wrote:
: This is a multi-part message in MIME format.
MIME is inappropriate in Usenet newsgroups.
Please configure your newsreader properly.
: Predictive Systems Inc is looking for talented PERL programmers.
^^^^
>From the Perl FAQ, part 1:
--------------------------------------
=head2 What's the difference between "perl" and "Perl"?
One bit. Oh, you weren't talking ASCII? :-) Larry now uses "Perl" to
signify the language proper and "perl" the implementation of it,
i.e. the current interpreter. Hence Tom's quip that "Nothing but perl
can parse Perl." You may or may not choose to follow this usage. For
example, parallelism means "awk and perl" and "Python and Perl" look
ok, while "awk and Perl" and "Python and perl" do not.
--------------------------------------
So,
perl is used to refer to the compiler/interpreter
Perl is used to refer to the language itself
PERL is not used ;-)
: <html><head></head><BODY bgcolor=3D"#FFFFFF"><p><font size=3D2 =
: color=3D"#000000" face=3D"Arial">Predictive Systems Inc is looking for =
: talented PERL programmers. Networking experience a big plus+. =
: We have openings in several of our offices. Competitive =
: salaries. Comprehensive benefits package including 401(K), =
: medical, dental, and term life insurance. <br><br>FOR IMMEDIATE =
: CONSIDERATION:<br><br>Please send/fax your resume to: =
: <br><b>Predictive Systems, Inc.</b><br>c/o Rachel Mozes<br>145 =
: Hudson Street<br>6th Flr<br>New York, NY 10013<br><b>FAX: =
: 212/625-9053<br>email: <font =
: color=3D"#0000FF"><u>rachel.mozes@predictive.com</u></b><font =
: color=3D"#000000"><br><br></p>
: </font></font></font></body></html>
HTML is for the WWW.
Usenet is not the WWW.
You are doubling the hard disk usage to store your article on tens
of thousands of computers around the world. Please don't play so
fast and loose with _other people's_ resources.
--
Tad McClellan SGML Consulting
tadmc@metronet.com Perl programming
Fort Worth, Texas
------------------------------
Date: Wed, 17 Dec 1997 22:05:10 -0500
From: snailgem@aol.com
Subject: Re: Script calls embedded in web pages
Message-Id: <349892E1.44E0@aol.com>
If your images are in cgi-bin or one of its subdirectories, move them
somewhere else. I don't know why, but I could never get an image there
to display correctly.
Will
SoCheer wrote:
>
> Hi there,
>
> Instead of physically clicking on a link to execute the perl script, could
> we call a perl script from a html tag ?
>
> I know <IMG SRC="/cgi-bin/scriptname.pl"> does it, but a broken image is
> shown. How could I get rid of it ?
>
> Thanks !
> So Cheer
> socheer.kwek@ac.com
--
------------------------------
Date: Wed, 17 Dec 1997 21:28:06 -0600
From: tadmc@metronet.com (Tad McClellan)
Subject: Re: Teaching programing
Message-Id: <685a76.vq4.ln@localhost>
Jack H. Ostroff (jack_h_ostroff@groton.pfizer.com) wrote:
: Tushar Samant wrote:
: >
: > merlyn@stonehenge.com writes:
: > >paper before that, and hacked my HP-41C a bit. (I'm probably dating
: > >myself here... but if I don't, who will? :-)
: >
: > Dang! So Perl doesn't get you dates either!
: >
: > Foiled again!
: (I suppose I could be shot for this but...)
: Aren't there several modules (on CPAN, of course) you can use to get and
: manipulate dates? :-)
I believe there _are_ some of those:
Tie::Watch (should this thread move to an alt.* group?)
strict.pm (this one too?)
Safe.pm (in today's world)
tainted.pl (see previous one)
overload.pm (if you're a teenager)
look.pl (before you start)
chat2.pl (when you're done)
Hmmm. When they say "Comprehensive", they mean it ;-)
--
Tad McClellan SGML Consulting
tadmc@metronet.com Perl programming
Fort Worth, Texas
------------------------------
Date: Thu, 18 Dec 1997 03:42:11 GMT
From: syarbrou@ais.net (Steve)
Subject: Re: What kind of machine wouldn't support FLOCK?
Message-Id: <34999ae1.9261423@news.ais.net>
I have done extensive testing of flock on unix systems anyways and
several systems have it, but only Linux truely seems to support it.
All the other flavors of UNIX accept the command but do not work.
Steve
On Wed, 17 Dec 1997 10:44:02 -0800, Vik Rubenfeld <VikR@aol.com>
wrote:
>The camel book says "Invoking flock will produce a fatal error if used on a
>machine that doesn't implement flock(2) or emulate it through someother
>locking mechanism." What kind of machine wouldn't implement or emulate flock?
>And, how common is it for a machine not to support flock? Thanks very much in
>advance to
>all for any info.
>
>- Vik
------------------------------
Date: Thu, 18 Dec 1997 00:21:10 -0500
From: comdog@computerdog.com (brian d foy)
Subject: Re: What kind of machine wouldn't support FLOCK?
Message-Id: <comdog-ya02408000R1812970021100001@news.panix.com>
In article <34999ae1.9261423@news.ais.net>, syarbrou@ais.net (Steve) wrote:
>I have done extensive testing of flock on unix systems anyways and
>several systems have it, but only Linux truely seems to support it.
>All the other flavors of UNIX accept the command but do not work.
perhaps you can share your test script?
--
brian d foy <comdog@computerdog.com>
NY.pm - New York Perl M((o|u)ngers|aniacs)* <URL:http://ny.pm.org/>
CGI Meta FAQ <URL:http://computerdog.com/CGI_MetaFAQ.html>
------------------------------
Date: Tue, 16 Dec 1997 22:36:17 -0500
From: "Francis (\"Pete\") Glosser" <pete_glosser@csgi.com>
Subject: Re: Which http-server ??
Message-Id: <349748B1.234C@csgi.com>
Josef Gergetz wrote:
>
> Hi,
>
> I am new to Perl, and want to test my pages on my computer (Win95) at
> home.
> I will use Server Side Includes. Can anybody tell me, which Server I
> should use ? The personal Web-Server delivered with FrontPage does not
> support Perl & SSI I think (if yes - how?).
> The server should be free/shareware and run under Win95 ;-(.
>
> TIA
> Josef
> (e-mail replies: remove the " *NO.SPAM*."
I get somewhat ok results with Folkweb. OmniHttpd supports Perl too, as
do a number of similarly toy-like products (see www.tucows.com for a
bunch of Win95 & NT-compatible servers). O'Reilly WebSite is supposed
to support Perl, although the version I tried out way back seemed to
have a bug about HTTP headers and always thinks they're wrong whether
they are or not. . .
Netscape FastTrack supports Perl too, but the beta I have currently
seems to choke on requires . . .
This may be me somehow.
--Pete Glosser
--Pete Glosser
------------------------------
Date: 14 Dec 1997 06:12:45 GMT
From: "Ho Seng Yip" <cybercom@pacific.net.sg>
Subject: Writing Of HTML In Perl
Message-Id: <01bd0857$2b6ecaa0$LocalHost@oasis>
Hi,
I will like to findout how I can actually use Perl to write HTML files. It
is just like when someone submit a feedback form. The feedback will be
mailed to the recepient and a copy of the content of the e-mail is also
posted onto the web itself. Subsequently, any additional comments are also
updated in the same html file itself, making the html file something like a
database of comments.
Anyone has any ideas or website where I can reference this to ? ;-)
Thanks for the help.
Regards,
Seng Yip
------------------------------
Date: 8 Mar 97 21:33:47 GMT (Last modified)
From: Perl-Request@ruby.oce.orst.edu (Perl-Users-Digest Admin)
Subject: Digest Administrivia (Last modified: 8 Mar 97)
Message-Id: <null>
Administrivia:
The Perl-Users Digest is a retransmission of the USENET newsgroup
comp.lang.perl.misc. For subscription or unsubscription requests, send
the single line:
subscribe perl-users
or:
unsubscribe perl-users
to almanac@ruby.oce.orst.edu.
To submit articles to comp.lang.perl.misc (and this Digest), send your
article to perl-users@ruby.oce.orst.edu.
To submit articles to comp.lang.perl.announce, send your article to
clpa@perl.com.
To request back copies (available for a week or so), send your request
to almanac@ruby.oce.orst.edu with the command "send perl-users x.y",
where x is the volume number and y is the issue number.
The Meta-FAQ, an article containing information about the FAQ, is
available by requesting "send perl-users meta-faq". The real FAQ, as it
appeared last in the newsgroup, can be retrieved with the request "send
perl-users FAQ". Due to their sizes, neither the Meta-FAQ nor the FAQ
are included in the digest.
The "mini-FAQ", which is an updated version of the Meta-FAQ, is
available by requesting "send perl-users mini-faq". It appears twice
weekly in the group, but is not distributed in the digest.
For other requests pertaining to the digest, send mail to
perl-users-request@ruby.oce.orst.edu. Do not waste your time or mine
sending perl questions to the -request address, I don't have time to
answer them even if I did know the answer.
------------------------------
End of Perl-Users Digest V8 Issue 1496
**************************************