[10054] in Perl-Users-Digest

home help back first fref pref prev next nref lref last post

Perl-Users Digest, Issue: 3647 Volume: 8

daemon@ATHENA.MIT.EDU (Perl-Users Digest)
Sun Sep 6 10:06:36 1998

Date: Sun, 6 Sep 98 07:00:28 -0700
From: Perl-Users Digest <Perl-Users-Request@ruby.OCE.ORST.EDU>
To: Perl-Users@ruby.OCE.ORST.EDU (Perl-Users Digest)

Perl-Users Digest           Sun, 6 Sep 1998     Volume: 8 Number: 3647

Today's topics:
    Re: "reading line by line from a file until condition i (David A. Black)
    Re: [Q] Determining if certain files exist at specific  <sneaker@sneex.fccj.org>
    Re: Beginner need help with sendmail-t <Tony.Curtis+usenet@vcpc.univie.ac.at>
        Blocked pipes (?) <elflord@pegasus.rutgers.edu>
    Re: help, problem with dead module (Jonathan Stowe)
        How can this work <issam@qtel.com.qa>
    Re: How can this work <issam@qtel.com.qa>
    Re: Make PERL scripts executable??? <joreb@algonet.se>
    Re: Misinterpreted => why no true/false keywords? <tobez@plab.ku.dk>
        Perl as a service. <dciccotto@worldnet.att.net>
        Question regarding perl-script as suid <joreb@algonet.se>
        Question:Please tell me how to install perl(the latest  <jayman@ppp.kornet21.net>
    Re: Question:Please tell me how to install perl(the lat <lembark@wrkhors.com>
    Re: Question:Please tell me how to install perl(the lat (Jonathan Stowe)
        Really Need Help! layover@ptd.net
    Re: Really Need Help! (Bob Trieger)
    Re: Really Need Help! (Jonathan Stowe)
    Re: Why is 5.005* a pain to switch to safely? <tobez@plab.ku.dk>
    Re: Windows95, Perl, PWS (IIS) <maierc@chesco.com>
    Re: Windows95, Perl, PWS (IIS) (Jonathan Stowe)
        WWWBoard Questions steele4life@webtv.net
    Re: WWWBoard Questions (Neil Kandalgaonkar)
        Special: Digest Administrivia (Last modified: 12 Mar 98 (Perl-Users-Digest Admin)

----------------------------------------------------------------------

Date: Sun,  6 Sep 1998 07:02:46 EDT
From: dblack@saturn.superlink.net (David A. Black)
Subject: Re: "reading line by line from a file until condition is met"
Message-Id: <6stq4m$abn$1@earth.superlink.net>

Hello -

mjtg@cus.cam.ac.uk (M.J.T. Guy) writes:

>In article <6sp9hu$cgd$1@nnrp1.dejanews.com>,  <lsgs@my-dejanews.com> wrote:
>>
>>if ($query eq "home"){
>>
>>  open (DATABASE,"new_data/list.db") || die("Cannot open
>>database: $!");
>>
>>   while (<DATABASE>) {

>           chomp;  # get rid of trailing newline on password

>>          @record = split(/\:/, $_);
>>      if ($record[0] eq $name and $record[1] eq $passwd) {
>>      close ("DATABASE");
>>      &display;
>>    }
>>    else {
>>       close ("DATABASE");
>>&noway;
>>     }
>>  }
>>}


Also, move the else/&noway clause outside of the while loop (and probably
add a $found flag, or equivalent).  As it stands, DATABASE is being closed
the first time through the loop, whether a matching record is found or
not.  


David Black
dblack@saturn.superlink.net


------------------------------

Date: Sun, 06 Sep 1998 08:07:09 -0400
From: Bill 'Sneex' Jones <sneaker@sneex.fccj.org>
Subject: Re: [Q] Determining if certain files exist at specific IPs
Message-Id: <35F27AED.BF65519C@sneex.fccj.org>

russthomas@my-dejanews.com wrote:
> 
> Hi,
> 
> I would like to write a perl script (preferably Win32, but I can set it up on
> a linux box if need be) that searches a list of predetermined web site IP
> addresses and determines whether an index.htm file or another file (e.g.
> glop.htm) exists at that site.  If glop.htm does exist and index.htm does
> not, I would like to check the text in the file to verify that it contains a
> certain phrase.
> 
> I am a novice perl programmer so I would like to suffer thru the coding
> myself to gain experience; however, I would like to know if there are any
> specific tools, modules, or other intelligent approaches that will make this
> task easier and possibly a tip on the syntax of using said tools or
> approaches.
> 
> Thanks in advance for any assistance,
> 
> Russ


Under RedHat, see 'wget'.  For a Perl-specific solution, see
http://www.perl.com - lookup the LWP and related modules.

HTH,
-Sneex- 
__________________________________________________________________
Bill Jones | FCCJ Webmaster | http://webmaster.fccj.org/Webmaster
__________________________________________________________________
It is common sense to take a method and try it.  If it fails,
admit it frankly and try another.  But above all, try something.
                -- Franklin D. Roosevelt


------------------------------

Date: 06 Sep 1998 13:46:19 +0200
From: Tony Curtis <Tony.Curtis+usenet@vcpc.univie.ac.at>
Subject: Re: Beginner need help with sendmail-t
Message-Id: <7xvhn1wjjo.fsf@salome.vcpc.univie.ac.at>

Re: Beginner need help with sendmail-t, j
<mocat@best.com> said:

j> the -t extracts information from the header of the mail
j> to send it to the correct recipient, cc's, subjects, and
j> um i'm sure you can do attachments with it.  but i've
j> never tried.

Of course, "man sendmail" is the *correct* answer as you
pointed out.

And on the subject of attachments, it is not the job of
sendmail to handle attachments, sendmail sends mail messages
as the name implies.  It is the job of your MUA to handle
attachments.

    ==> perldoc MIME::Base64
        perldoc Mail::Send

-- 
Tony Curtis, Systems Manager, VCPC,    | Tel +43 1 310 93 96 - 12; Fax - 13
Liechtensteinstrasse 22, A-1090 Wien,  | <URI:http://www.vcpc.univie.ac.at/>
"You see? You see? Your stupid minds!  | private email:
    Stupid! Stupid!" ~ Eros, Plan9 fOS.| <URI:mailto:tony_curtis32@hotmail.com>


------------------------------

Date: Sun, 06 Sep 1998 03:46:57 -0400
From: Donovan Rebbechi <elflord@pegasus.rutgers.edu>
Subject: Blocked pipes (?)
Message-Id: <35F23DF1.6A6D2B28@pegasus.rutgers.edu>

Hi.

 I am writing some programs that use pipes. I am getting some sort of
"blockage", ie the programs freeze if I put a large amount of data into
the pipe. 

Here's an example that demonstrates what's going wrong:

#!/usr/bin/perl
pipe (READ,WRITE);
for ( $i=0; $i<150; $i++ ){
      print WRITE "hello there. How are you ? \n";
      }
close WRITE;
while (<READ>){ print; }
close READ;   
# end

This only hangs if I move the loop up to around 150 iterations. It works
fine if I use less iterations.  

What is wrong with it ? Any ideas on how I can fix it ?   

-- 
Donovan Rebbechi <elflord@pegasus.rutgers.edu>
http://pegasus.rutgers.edu/~elflord/
Web designer for Independence -- Linux for the Masses
http://www.independence.seul.org/


------------------------------

Date: Sun, 06 Sep 1998 13:00:21 GMT
From: Gellyfish@btinternet.com (Jonathan Stowe)
Subject: Re: help, problem with dead module
Message-Id: <35f286ac.8940801@news.btinternet.com>

On Sun, 6 Sep 1998 00:59:42 -0400, Scott Johnson wrote :

>Hi,
>
>    I'm not sure this is the right list, but here it goes.
>
>    I have a dead module and I need to uninstall it. Is there a way to
>uninstall a module from a list? or is there a file to remove it from?

There is no standard way to uninstall a module that I know of but you
will just have to delete the appropriate files.  If you look at the
Makefile for the module you should see what has been installed where.

/J\ 
-- 
Jonathan Stowe
Some of your questions answered:
<URL:http://www.btinternet.com/~gellyfish/resources/wwwfaq.htm>



------------------------------

Date: Sun, 6 Sep 1998 12:03:33 +0300
From: "Issam W. Alameh" <issam@qtel.com.qa>
Subject: How can this work
Message-Id: <6su805$79f@ns1.qatar.net.qa>

I am trying this script, I am not getting it works the way I want,

#!/usr/bin/perl
print "Host Required to Get Access to : ";
use Net::Telnet ();

why, I mean how do I print to screen while using a package, If I removed the
line " use Net::Telnet (); "  this will work fine (of course), any help
appreciated
Issam




------------------------------

Date: Sun, 6 Sep 1998 13:46:55 +0300
From: "Issam W. Alameh" <issam@qtel.com.qa>
Subject: Re: How can this work
Message-Id: <6sue20$7e6@ns1.qatar.net.qa>

I am sorry, It works,

really sorry to disturb you
Issam
Issam W. Alameh <issam@qtel.com.qa> wrote in message
6su805$79f@ns1.qatar.net.qa...
>I am trying this script, I am not getting it works the way I want,
>
>#!/usr/bin/perl
>print "Host Required to Get Access to : ";
>use Net::Telnet ();
>
>why, I mean how do I print to screen while using a package, If I removed
the
>line " use Net::Telnet (); "  this will work fine (of course), any help
>appreciated
>Issam
>
>




------------------------------

Date: Sun, 6 Sep 1998 12:38:06 +0200
From: "Ekenberg" <joreb@algonet.se>
Subject: Re: Make PERL scripts executable???
Message-Id: <6ston4$hmi$1@cubacola.tninet.se>

Try this: http://www.demobuilder.com/perl2exe.htm
/Johan Ekenberg

>Dear all, I'm just wondering if there's any way to convert a perl script
>into a DOS executable? I know you add #!/usr/bin/perl -w to make it run on
>UNIX, but what about DOS? I wouldn't want a batch file just to call up
>perl.exe feeding it with the script filename.





------------------------------

Date: 06 Sep 1998 15:02:27 +0200
From: Anton Berezin <tobez@plab.ku.dk>
Subject: Re: Misinterpreted => why no true/false keywords?
Message-Id: <86lnnx8kd8.fsf@lion.plab.ku.dk>

Zenin <zenin@bawdycaste.org> writes:

> Anton Berezin <tobez@plab.ku.dk> wrote:
> : 	Will also initialize the %FIELDS hash if one of the base classes has
> : 	it.
> : Please note this ``roughly''.  And ``initialize the %FIELDS'', also.

>         New features.  The %FIELDS stuff didn't exist in 5.004*, and with

Strictly speaking, this is wrong.  How 'bout 5.004_72 (amongst others)?

>         5.005* being such a major pain to switch to safely (in large
>         systems at least), 5.004 will be with us longer then 4*... :-(

Where's the pain?  What's the pain?  Sorry, don't follow you.

-- 
Anton Berezin <tobez@plab.ku.dk>
The Protein Laboratory, University of Copenhagen


------------------------------

Date: 6 Sep 1998 12:32:42 GMT
From: Dom Ciccotto <dciccotto@worldnet.att.net>
Subject: Perl as a service.
Message-Id: <35F28035.36122718@worldnet.att.net>

I have sucessfully written perl scripts, made them into exe's using
Perl2EXE and then used the srvany utility to have them run as
services.  I have not tried running       Perl <myScript.pl>
as a service,  this would be a security problem.
Other issues to consider:
   1)  If you run the service as System, you have full rights to the
        "Local Box" but  NO network rights.
        If you run the service as a User, you can have Network
        rights, But make sure that he has administrator rights to
        "the Box".
        If you are just  moving/copying files on the same server,
        use the System account, its safer. (IF the ExE or Script
        is replaced/altered you now have a network wide
        security problem.)
  2)   If in the service applet you check "allow to interact with
desktop"
         you will see a   window/DOS box   open.
        And if you write to the screen it will be seen.
        If this box is not checked, all will be hidden.
        Leaving a window open means that someone could stop your
        program using <Ctrl-Break> etc.
        Plus it is annoying to anyone who logs in.

  Dom Ciccotto





------------------------------

Date: Sun, 6 Sep 1998 12:34:14 +0200
From: "Ekenberg" <joreb@algonet.se>
Subject: Question regarding perl-script as suid
Message-Id: <6stoft$hif$1@cubacola.tninet.se>

I'm trying to make a small perl cgi-script to run as its owner (me..).

The script is chmod 4705 (I also tried 6705)
I want it to write to a directory that's chmod 700.

But it doesn't work. Checking the UID:s with $< and $> shows that the script
is run as nobody, although the suid bit is set.

There is no external input to the script making it tainted.
There is no error message from Perl about the UNIX-security hole with
suid-scripts (which I read about here:
http://www.w3.org/Security/Faq/wwwsf5.html#Q50 )

Please tell me what I might be doing wrong!
Thanks, Johan Ekenberg

PS. I'm trying this as an experiment because I'm curious, so you don't have
to warn me about the security problems involved. I'm not going to use it in
any publicly accessible places. DS.






------------------------------

Date: Sun, 06 Sep 1998 16:52:07 +0900
From: jayman <jayman@ppp.kornet21.net>
Subject: Question:Please tell me how to install perl(the latest version)on windows95!!
Message-Id: <35F23F27.7320291@ppp.kornet21.net>

Hello,there.
I am a beginer at perl field. but I hope to start.
The first trouble in my process happened when I just install perl5.005.
The only thing I had done was just download the perl5.005.tar.gz and
decompress.
Immediately after decompression , I noticed there were some
miscellaneous directories containing several files.But I'm not even sure
if I had succeed in install or not.
I tried to understand the manual with the file but I can hardly
understand cause' there were
so many spcialized and professional terms in it. I'll wait for your good
tips
Thanks for reading (Poor English ... ^~^)

                                 mail me at  jayman@ppp.kornet21.net

               secerely,                                  jayman



------------------------------

Date: Sun, 06 Sep 1998 03:41:10 -0500
From: Steven Lembark <lembark@wrkhors.com>
Subject: Re: Question:Please tell me how to install perl(the latest version)on windows95!!
Message-Id: <35F24AA6.D98DF960@wrkhors.com>

> I am a beginer at perl field. but I hope to start.
> The first trouble in my process happened when I just install perl5.005.
> The only thing I had done was just download the perl5.005.tar.gz and
> decompress.
> Immediately after decompression , I noticed there were some
> miscellaneous directories containing several files.But I'm not even sure
> if I had succeed in install or not.
> I tried to understand the manual with the file but I can hardly
> understand cause' there were
> so many spcialized and professional terms in it. I'll wait for your good
> tips
> Thanks for reading (Poor English ... ^~^)

to check if you got the distribution downloaded propery use:

	gzip -tv perl5.005.tar.gz;

it'll tell you "ok" or not.  if ok then:

	gzip -dc perl5.005.tar.gz | tar xvf -;
or
	gzip -dc perl5.005.tar.gz | cpio -idv;

will extract the files and give you a perl-5.005 sub directory.
cd there.  three are README & INSTALL files there that describe
the process completely.

also as a check run df . on your system after extracting the 
files to make sure you didn't fill up the disk.

-- 
 Steven Lembark                                   2930 W. Palmer St.
 Workhorse Computing                             Chicago, IL  60647
 lembark@wrkhors.com                                   800-762-1582
---------------------------------------------------------------------
  The opinions expressed here are those of this company.
  I am the company.
---------------------------------------------------------------------


------------------------------

Date: Sun, 06 Sep 1998 13:00:18 GMT
From: Gellyfish@btinternet.com (Jonathan Stowe)
Subject: Re: Question:Please tell me how to install perl(the latest version)on windows95!!
Message-Id: <35f27f2b.7594974@news.btinternet.com>

On Sun, 06 Sep 1998 16:52:07 +0900, jayman wrote :

>Hello,there.
>I am a beginer at perl field. but I hope to start.
>The first trouble in my process happened when I just install perl5.005.
>The only thing I had done was just download the perl5.005.tar.gz and
>decompress.

<etc>

If you do not have a supported C compiler then you will need to get a
binary distribution for Windows.  If you go back to where you
downloaded your source distribution you should look for a file whose
name starts with something like "bindist*".  An alternative is to
obtain the version of Perl distributed by ActiveState who can be found
at http://www.activestate.com/  this again is a binary distribution
and should install quite easily.

/J\
-- 
Jonathan Stowe
Some of your questions answered:
<URL:http://www.btinternet.com/~gellyfish/resources/wwwfaq.htm>



------------------------------

Date: Sun, 06 Sep 1998 08:03:12 GMT
From: layover@ptd.net
Subject: Really Need Help!
Message-Id: <35F24287.3A34@ptd.net>

OK guys, this is what I am facing...

I maintain a bbs that has gotten out of hand.  I have one user, who
continues to post harrassing and abusive messages.  I can manually
delete them, but as I do this, he continues to post twice as much.  We
have a pretty good idea who he is, but have no way to prove it.  

Currently my board has no admin features.  They are there, but not
functioning.  What kind of admin features can be implemented to help
identify this poster, so I can take the proper steps to have him
stopped?

He at this time posts to the board using a fake name and no email
address.  I know I can implement features where a valid email must be
provided, and a password to access the board will be emailed upon
registering.  Obviously, with all the free email out there, this has
limited if no value at all.  I know I can track IP Addresses with each
post, but again, it will be of minimal help.  I guess it will help me
trace his ISP, but that is probably it.  Is there a better way for me to
be able to trace each user, so I can not only ban them from the board,
but be able to somewhat identify them?

I am willing to change the board as it is now, to address these issues. 
I do like some of the features of the board, but these issues of tracing
the user have become more important.  I curently use the bbs system
available at Selena Sol's Web site at:

http://www.extropia.com/Scripts/bbs.html

Can anyone help me with ideas, or a script\software solution for my
problem?  I have at this time disabled the posting capabilities at my
board, and just spent over an hour deleting posts.....and it is 3:30
am!!!!

I would appreciate any feedback you guys could give me....

I will be checking the newsgroup periodically, but if you can email your
ideas to me I would very much appreciate it!


Thanks in advance,


Randy


------------------------------

Date: Sun, 06 Sep 1998 08:06:24 GMT
From: sowmaster@juicepigs.com (Bob Trieger)
Subject: Re: Really Need Help!
Message-Id: <6stg0h$71k$2@ligarius.ultra.net>

[ posted to usenet and courtesy e-mail sent ]
layover@ptd.net wrote:
-> OK guys, this is what I am facing...
-> 
-> I maintain a bbs that has gotten out of hand.  I have one user, who
-> continues to post harrassing and abusive messages.  I can manually
-> delete them, but as I do this, he continues to post twice as much.  We
-> have a pretty good idea who he is, but have no way to prove it.  

 .. Snippage ...

-> limited if no value at all.  I know I can track IP Addresses with each
-> post, but again, it will be of minimal help.  I guess it will help me
-> trace his ISP, but that is probably it.  Is there a better way for me to
-> be able to trace each user, so I can not only ban them from the board,
-> but be able to somewhat identify them?

This really has nothing to do with perl. 

But if you have access to your logs and know his ISPs IP numbers. All 
you have to do is use htaccess to block to them from POSTing to your 
cgi-bin directory. This will work unless he has a half a brain and 
starts using proxies.


Good luck

Bob Trieger              | `Sparks International' is spamming and 
sowmaster@juicepigs.com  | trying to help us lose weight. Let's do 
                           them a favor. Call to let the know that
                           spamming is evil and do it on their dime.

                           Call 1-888-689-3097


------------------------------

Date: Sun, 06 Sep 1998 13:00:15 GMT
From: Gellyfish@btinternet.com (Jonathan Stowe)
Subject: Re: Really Need Help!
Message-Id: <35f2753f.6293306@news.btinternet.com>

On Sun, 06 Sep 1998 08:03:12 GMT, layover@ptd.net wrote :

>OK guys, this is what I am facing...
>
>I maintain a bbs that has gotten out of hand.  I have one user, who
>continues to post harrassing and abusive messages.  I can manually
>delete them, but as I do this, he continues to post twice as much.  We
>have a pretty good idea who he is, but have no way to prove it.  
>
<snip>

>I am willing to change the board as it is now, to address these issues. 
>I do like some of the features of the board, but these issues of tracing
>the user have become more important.  I curently use the bbs system
>available at Selena Sol's Web site at:
>
>http://www.extropia.com/Scripts/bbs.html
>
Oh.  I would trust any software where the author would put:

<code>
# First tell Perl to bypass the buffer.  Then, print out the HTTP
# header. We'll output this quickly so that we
# will be able to do some of our debugging from the web and so that in
# the case of a bogged down server, we won't get timed-out.

  $! = 1;
  print "Content-type: text/html\n\n";

</code>

(Thats actually from Calendar.cgi BTW)

Hmm. Why would you want to set errno to "Input to function out of
range (EDOM)".  Beats me.

>Can anyone help me with ideas, or a script\software solution for my
>problem?  I have at this time disabled the posting capabilities at my
>board, and just spent over an hour deleting posts.....and it is 3:30
>am!!!!
>
Sorry about that.  I personally dont havent any suggestions as to
replacement software - this really isnt the place for looking for
such.  You might check out www.cgiresources.com or similar.  

On the other hand people here are not really in the business of
supporting broken third party software.  Now of course if you have
some ideas about how you could implement appropriate filtering but are
having difficulty getting them to work - show us some code and I'm
sure you'll get some advice.

>I would appreciate any feedback you guys could give me....
>
Your not having my Quicksilver Messenger Service albums - oh not that
kind of feedback .. :)
 
/J\
-- 
Jonathan Stowe
Some of your questions answered:
<URL:http://www.btinternet.com/~gellyfish/resources/wwwfaq.htm>



------------------------------

Date: 06 Sep 1998 15:08:49 +0200
From: Anton Berezin <tobez@plab.ku.dk>
Subject: Re: Why is 5.005* a pain to switch to safely?
Message-Id: <86k93h8k2m.fsf@lion.plab.ku.dk>

malch@malch.com (Malcolm Hoar) writes:

> In article <35F05B57.1411164C@fmr.com>, steve.tolkin@fmr.com wrote:
> >Zenin (zenin@archive.rhps.org) wrote (and will receive this as email)
> >>         5.005* being such a major pain to switch to safely (in large
> >>         systems at least), 5.004 will be with us longer then 4*... :-(
> >
> >Can you and/or other people provide some details about this.
> >I was planning on upgrading once the last revision digit dstopped
> >changing.  What bad things might happen if I do?

> I found the Perl 5.005_01 install a major pain (under FreeBSD).

What exactly was wrong with it?  It's not just a curiosity -- it
worked fine for me on FreeBSD.

> Today, I upgraded to 5.005_02 and it was the breeze to which I
> have become accustomed. Kudos to those who cleaned it up.

-- 
Anton Berezin <tobez@plab.ku.dk>
The Protein Laboratory, University of Copenhagen


------------------------------

Date: Sun, 06 Sep 1998 02:06:10 -0400
From: Charles Maier <maierc@chesco.com>
Subject: Re: Windows95, Perl, PWS (IIS)
Message-Id: <35F22652.E72B1587@chesco.com>

John Jacques wrote:
> 
> Try:
> http://www.dynamicnet.net/support/fp/perlwithPWS.htm
> 
> I was just sent this to solve a simliar problem, everything is on this page.
> 
> Angel Leyva wrote in message <35e82d8d.1665815@news.erols.com>...
> >I have tried all the above. I installed ActiveState Perl with the
> >ISAPI enabled. When I try to run the script from the browser, it
> >attempts to save the file with a .exe extension.
> >
> >Any ideas?
> >
> >A

The link is a very good source.. but I have ALL BUT given up on getting
PWS & W95 to work to run Perl. Just for the heck of it.. I followed the
steps.. IT DOES NOT EXECUTE PERL... it spits out the perl script to the
browser. 

Until someone explains the "missing piece" I will probably have to stick
to posting on my Unix server.  This is just very frustrating.

-- 
Chuck


------------------------------

Date: Sun, 06 Sep 1998 13:00:19 GMT
From: Gellyfish@btinternet.com (Jonathan Stowe)
Subject: Re: Windows95, Perl, PWS (IIS)
Message-Id: <35f28044.7875476@news.btinternet.com>

On Sun, 06 Sep 1998 02:06:10 -0400, Charles Maier wrote :

>John Jacques wrote:
>> 
>> Try:
>> http://www.dynamicnet.net/support/fp/perlwithPWS.htm
>> 
>> I was just sent this to solve a simliar problem, everything is on this page.
>> 
>> Angel Leyva wrote in message <35e82d8d.1665815@news.erols.com>...
>> >I have tried all the above. I installed ActiveState Perl with the
>> >ISAPI enabled. When I try to run the script from the browser, it
>> >attempts to save the file with a .exe extension.
>> >
>> >Any ideas?
>> >
>> >A
>
>The link is a very good source.. but I have ALL BUT given up on getting
>PWS & W95 to work to run Perl. Just for the heck of it.. I followed the
>steps.. IT DOES NOT EXECUTE PERL... it spits out the perl script to the
>browser. 
>

It works fine for me.  And I have changed the version of PWS several
times. This question and its relatives keeps getting asked here and it
still isnt anything to do with Perl.  PWS does lack any proper
documentation however.  I have placed a copy of part of the IIS
documentation (PWS is really just a [more] crippled version of IIS) at
<URL:http://www.btinternet.com/docs/map.html> this doesnt cover the
whole story just the bit that people have most difficulty with.

/J\
-- 
Jonathan Stowe
Some of your questions answered:
<URL:http://www.btinternet.com/~gellyfish/resources/wwwfaq.htm>



------------------------------

Date: Sun, 06 Sep 1998 06:34:25 GMT
From: steele4life@webtv.net
Subject: WWWBoard Questions
Message-Id: <6stadh$ln3$1@nnrp1.dejanews.com>

1.)Do you know how to seperate the posts by day.Like al the posts are
seperated  by day and inside the tables it says News for Monday or whaever
day it is.

2.)Do you know how to show the links for the next5/prev5 links to be showed
in a message posted on wwwboard??

3.)Do you know how to put the Eastern time in wwwboard posts?? I hate the
20:34 and crap like that

-----== Posted via Deja News, The Leader in Internet Discussion ==-----
http://www.dejanews.com/rg_mkgrp.xp   Create Your Own Free Member Forum


------------------------------

Date: 6 Sep 1998 02:24:37 -0400
From: yuiop@smelt.openface.ca (Neil Kandalgaonkar)
Subject: Re: WWWBoard Questions
Message-Id: <6st9r5$388@smelt.openface.ca>

In article <6st2pm$d9b$1@nnrp1.dejanews.com>,
 <steele4life@my-dejanews.com> wrote:
>1.)Does anyone know how to seperate the posts by day??? I mean all posts 
>will be seperated by A table that will have News For The Day it is(ex:
>Monday).
>
>2.)Does anyone know how to show the next5/prev5 links in a message posted in
>wwwboard??

You can't do any of these things in wwwboard. At least, not without great
effort.

WWWBoard is a horriible hack which appeared at the right moment in
internet history to become ubiquitous. It really must be stamped out.

Look around for a real database-backed forum. I don't know any completely
freeware forum packages out there using Perl (except for Slashdot.org, but
source is not posted yet, I believe).  

It's not Perl, but PHP's Phorum (www.phorum.org) looks simple and
flexible.


>3.)Anyone know how to put the Eastern time in WWWBoard.?Instead of having the
>server time.I want the time to be like 8:20p.m .

probably one of the Time:: or Date:: modules already does this, but what
the heck:

( $min, $hour ) = ((localtime())[1..2]);
$am_or_pm = ($hour < 12) ? "am" : "pm";
$hour12 = (12,1..12,1..11)[$hour];
$timeString = $hour12 . ":" . sprintf ("%02d" , $min ) . $am_or_pm;
print $timeString, "\n";


-- 
Neil Kandalgaonkar            yuiop communications
neil@yuiop.com


------------------------------

Date: 12 Jul 98 21:33:47 GMT (Last modified)
From: Perl-Request@ruby.oce.orst.edu (Perl-Users-Digest Admin) 
Subject: Special: Digest Administrivia (Last modified: 12 Mar 98)
Message-Id: <null>


Administrivia:

Special notice: in a few days, the new group comp.lang.perl.moderated
should be formed. I would rather not support two different groups, and I
know of no other plans to create a digested moderated group. This leaves
me with two options: 1) keep on with this group 2) change to the
moderated one.

If you have opinions on this, send them to
perl-users-request@ruby.oce.orst.edu. 


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 3647
**************************************

home help back first fref pref prev next nref lref last post