[16002] in Perl-Users-Digest

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

Perl-Users Digest, Issue: 3414 Volume: 9

daemon@ATHENA.MIT.EDU (Perl-Users Digest)
Sun Jun 18 18:05:25 2000

Date: Sun, 18 Jun 2000 15:05:08 -0700 (PDT)
From: Perl-Users Digest <Perl-Users-Request@ruby.OCE.ORST.EDU>
To: Perl-Users@ruby.OCE.ORST.EDU (Perl-Users Digest)
Message-Id: <961365908-v9-i3414@ruby.oce.orst.edu>
Content-Type: text

Perl-Users Digest           Sun, 18 Jun 2000     Volume: 9 Number: 3414

Today's topics:
    Re: Anyone use ActivePerl on Win95 or Win98 <bgregory3@cs.com>
    Re: Anyone use ActivePerl on Win95 or Win98 <bgregory3@cs.com>
    Re: Checking for open socket before writing to it? <rvadlapa@cisco.com>
    Re: Checking for open socket before writing to it? <godzilla@stomp.stomp.tokyo>
    Re: Crazy enough that it might just work... (David H. Adler)
    Re: Crazy enough that it might just work... <henry@penninkilampi.net>
    Re: Crazy enough that it might just work... (David Bell)
    Re: Crazy enough that it might just work... (Andrew Johnson)
    Re: Current time minus file's datestamp time (David H. Adler)
        Filtering out certain types of files... <quikgamer1@freewwweb.com>
    Re: Filtering out certain types of files... <rootbeer@redcat.com>
    Re: How to determine a fake email address <henry@penninkilampi.net>
    Re: How to determine a fake email address <rootbeer@redcat.com>
    Re: How to determine a fake email address (Abigail)
    Re: How to determine a fake email address <henry@penninkilampi.net>
    Re: How to determine a fake email address (Abigail)
    Re: How to send files across the internet? (Craig Berry)
        Monitor a process like Unix top But should be Perl/tk H <kingwang98@yahoo.com>
    Re: Perl without a server ? <jraff@home.com>
    Re: win2K and perl include problem! (Clinton A. Pierce)
        Digest Administrivia (Last modified: 16 Sep 99) (Perl-Users-Digest Admin)

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

Date: Sun, 18 Jun 2000 23:53:41 +0200
From: "Bob Gregory" <bgregory3@cs.com>
Subject: Re: Anyone use ActivePerl on Win95 or Win98
Message-Id: <394d4454@news.piro.net>

    I think that both Marcus and I have mentioned the same thing, that you
need a local server installed on your pc.  Since Apache is such a wide
spread server on Unix (over 66% ?) I used the Apache v1.3.9 for Windows.  If
you  want I can send you the exe file for the install, or download it from
the Apache Web Site (www.apache.org).
    I think that we are having the same problems, and as soon as I have the
Apache correctly installed I can let you know what all the install mods are
to the Apache Config file.  I start the apache (win9x) server software, then
use an html form (shop.htm) which executes a perl program (demo.pl) to order
products.  If the form is filled out correctly, it replies back to the
browser session with "dear mr ___, thanks for ordering ___" (reply.htm).  If
the form is not filled out correclty, it gives him an error message
(error.htm).  If you like I can send you the demo.  I tested it on a unix
server and it works, I just have to make it work with my local Apache Web
server on my Win 98 pc.  This is necessary to have a local development
environment for testing.

Ferk Da Jerk <shawnball@uswest.net> wrote in message
news:ArN25.126$Nt1.13786@news.uswest.net...
> I found out I just had to name it whatever.pl.  So I have my script.  When
I
> try to upload it on the browser it finds the local file and opens up PERL
> and PERL runs it.  What do I do so the browser runs it?
>
> Ferk Da Jerk <shawnball@uswest.net> wrote in message
> news:FgM25.222$4k6.1780@news.uswest.net...
> > I downloaded ActivePerl.  All the stuff was installed in the folder
> > C:\Perl\.  When you work on a Unix system the heading would be
> > #!/usr/local/bin/perl but not on Windows.  What am I supposed to replace
> it
> > with?
> >
> >
>
>




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

Date: Mon, 19 Jun 2000 00:06:24 +0200
From: "Bob Gregory" <bgregory3@cs.com>
Subject: Re: Anyone use ActivePerl on Win95 or Win98
Message-Id: <394d474f$1@news.piro.net>

Markus
    I think this is what is happening to me.  If I am running an Apache
Server v1.3.9 what do I have to do to make it stop doing this?  Are you
familiar with the Apache Server?
    Can this problem be caused by the problem with notepad.exe putting
CR/LFs in the file?


Markus Hediger <hedim@hta-bi.bfh.xxx> wrote in message
news:394BCBF9.D950010E@hta-bi.bfh.xxx...
> hi again
>
> when i read your last message, i think my question is not that stupid:
> do you have a webserver installed on the computer where you're testing
> all the stuff?
> if yes, check wheter the server is configured to run .pl-files as cgi
> programs, and not to send them to the client as is. because that's when
> your browsers receives a "text/pl" or whatever file from the server and
> then thinks "yeah, that's a perl script my user is downloading - let's
> impress him and invoke the local perl interpreter!" and you see the
> output in the dos window... :)
>
> i hope that helps
> regards




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

Date: Sun, 18 Jun 2000 13:00:39 -0700
From: Ramesh Vadlapatla <rvadlapa@cisco.com>
Subject: Re: Checking for open socket before writing to it?
Message-Id: <394D2A67.4F38F7AF@cisco.com>


Yes, I am trying to write large amounts of data.

The server which again is something that I wrote(in perl) shuts down
"occassionally" before accepting all the data that the client is
sending it. What I mean by occassionally is that sometimes it accepts the same
exact data but some times it exits prematurely.

Rather than figuring out why the server is exiting, I decided to handle this
exception on the client side.

I will try out your suggestion and see if that works.

Thanks,
Ramesh

Ben Kennedy wrote:

> > The server occasionaly shuts down, thereby closing the socket and my print
> > command:
> > $socket1->print($message);
> > fails and I get a Broken Pipe message and the script just exits.
>
> A 'Broken Pipe' occurs when you attempt to write to a socket (or any file
> descriptor) whose reading end is closed - the OS sends you a SIGPIPE, or
> returns EPIPE on the failed write attempt.  Are you trying to pass large
> amounts of data at a time through the socket?  If the socket dies midway
> through the write, this may happen even though the socket was 100%
> operational when the write began.  You may want to set $SIG{PIPE} to IGNORE
> (this allows the write command to return the error as opposed to receiving a
> signal which isn't safe), and use the syswrite() command to pass data to the
> socket, always checking the value of $!.  I'm not sure which value of $!
> (the ERRNO) corresponds to EPIPE, but it shouldn't be hard to figure it out,
> and it may be in the POSIX module.  Good luck!
>
> --Ben Kennedy



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

Date: Sun, 18 Jun 2000 13:20:38 -0700
From: "Godzilla!" <godzilla@stomp.stomp.tokyo>
Subject: Re: Checking for open socket before writing to it?
Message-Id: <394D2F16.45DBABF7@stomp.stomp.tokyo>

Ramesh Vadlapatla wrote:
 
> Yes, I am trying to write large amounts of data.
 
> The server which again is something that I wrote(in perl) 
> shuts down "occassionally" before accepting all the data 
> that the client is sending it. What I mean by occassionally
> is that sometimes it accepts the same exact data but some 
> times it exits prematurely.

> Rather than figuring out why the server is exiting, I decided
> to handle this exception on the client side.

> I will try out your suggestion and see if that works.


Ramesh, do all of us here a favor and post your
code once you have successfully implemented
Mr. Kennedy's idea, if you don't mind. Posting
your code would be of great benefit to our
Perl Programming Community.

Godzilla!


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

Date: 18 Jun 2000 19:04:35 GMT
From: dha@panix.com (David H. Adler)
Subject: Re: Crazy enough that it might just work...
Message-Id: <slrn8kq7a3.4ba.dha@panix6.panix.com>

On Mon, 19 Jun 2000 00:19:37 +0930, Henry <henry@penninkilampi.net>
wrote:

>I believe that the only ones who will be so annoyed as to give up on 
>clpm, and never come back, are the people with no patience at all.  I 
>believe a disproportianate amount of these people will be parasites.  I 
>accept that there will be colateral damage, and that impatient, genuine 
>newbies may be affected, but believe that they will be in the minority.

That there would be *any* collateral damage is not, IMO, acceptable.
Naturally, I speak for myself, rather than the group at large, but my
reading of the group leads me to think that many would agree.

Also, I don't see any way to implement your proposal without turning
this into a moderated group, even if the moderation is purely
mechanical.  I do not believe, based on the discussions that led to
the creation of c.l.p.moderated, that such a proposal would pass.

For what it's worth, I do not believe the problem you're trying to
address is fixable at this level.  The difficulties arise from the
fact that there are many people who don't know the recognized
standards/methods for certain things.  Specifically, the methods used
to read documentation and the standards of usenet.  Then, of course,
there are people who are just (K)LBs.  My opinion, of course.

dha

-- 
David H. Adler - <dha@panix.com> - http://www.panix.com/~dha/
I'm going to start off talking by about postmodernism. After that,
I'll switch to talking about postmodernism. And at the conclusion,
I'll return to the subject of postmodernism.
	- Larry Wall


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

Date: Mon, 19 Jun 2000 04:52:18 +0930
From: Henry <henry@penninkilampi.net>
Subject: Re: Crazy enough that it might just work...
Message-Id: <henry-B9739C.04521819062000@news.metropolis.net.au>

In article <slrn8kq7a3.4ba.dha@panix6.panix.com>, dha@panix.com (David 
H. Adler) wrote:

> For what it's worth, I do not believe the problem you're trying to
> address is fixable at this level.

At _any_ level?


> The difficulties arise from the
> fact that there are many people who don't know the recognized
> standards/methods for certain things.  Specifically, the methods used
> to read documentation and the standards of usenet.

True, but...

If an infant doesn't know how to talk, do parents give up trying to 
teach them?

What if the whole community decided that, rather than making the effort 
to at least _try_ and teach their children to talk, that they just let 
the children be and hope they work it out for themselves?

Would that lead to a better community?

Ten years of formal education is _compulsory_ in Australia.  Probably a 
similar amount is _compulsory_ in your's to.  Kids may not like it, and 
they often bitch and moan about it, but they are _forced_ to go through 
it for some very, very good reasons.


> Then, of course, there are people who are just (K)LBs.

KLB?  If it's 'rude' maybe a definition by email?

Thanks.

Henry.


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

Date: 18 Jun 2000 20:22:42 GMT
From: db7654321@aol.comspamsux (David Bell)
Subject: Re: Crazy enough that it might just work...
Message-Id: <20000618162242.02848.00001607@ng-cg1.aol.com>

>Care to share your _reasons_ for "strongly" disagreeing with a once-off 
>delay on your very first post?
>

Well, for one, when I post a question for the first time on a group, it's
usually because I can't find the answer already listed in the previous posts. 
New questions answered may help other new people on the group without needing
to post.  And, After 6 hours (or however long you said the delay should be), I
usually lose the thought process I was on.  The way I see it, all people using
newsgroups start as lurkers, or parasites.  Even "newbies" or "parasites" can
become gurus with other peoples' help.  ...Which can benefit others in the
group in time.  Newsgroups are of no use without posts, delaying would hinder
the entire purpose of them.  Just my opinion.

-------------------------
David Bell - Otherwise known as DB7654321

Remember to remove nospam, notrash or anything odd looking from my email
address. :)


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

Date: Sun, 18 Jun 2000 20:33:26 GMT
From: andrew-johnson@home.com (Andrew Johnson)
Subject: Re: Crazy enough that it might just work...
Message-Id: <qma35.800$061.17437@news1.rdc1.mb.home.com>

In article <henry-3E7A94.00412119062000@news.metropolis.net.au>,
 Henry <henry@penninkilampi.net> wrote:
[snip] 

> Why not CC your response via email?  That way they get the answer 
> immediately, and your post goes through for the record?

That is not a very good solution -- emailing an answer to a
poster without also posting to the group is generally not a
good idea because you might have made an error and your email-only
answer does not get any peer review. Your solution amounts to nearly
the same thing -- if I CC an incorrect answer, the original poster
gets it right away in email, but it won't get peer reviewed for 8
days (by which time the thread has likely run its course and the
original poster may be no longer tracking the group).

I still say that your proposed solution puts more burdens upon the
new poster who *does* have something useful to contribute than the
new poster who is merely asking a FAQ and doesn't know the rules.

You said once before that you wanted data points -- well here is a
single data point for whatever it may be worth to you: I, for one,
would not participate in the group you are describing.

andrew

-- 
Andrew L. Johnson   http://members.home.net/perl-epwp/
      But puzzles in programming are what make it challenging and fun
      sometimes... you always end up learning one more way not to do
      something each time.  -- Brad Fenwick
      


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

Date: 18 Jun 2000 19:15:39 GMT
From: dha@panix.com (David H. Adler)
Subject: Re: Current time minus file's datestamp time
Message-Id: <slrn8kq7ur.4ba.dha@panix6.panix.com>

On Sat, 17 Jun 2000 21:56:42 -0400, Julian Cook/Sherab Gyatso
<president@webticker.com> wrote:

>I have posted a few questions here and everyone is very helpful.

Gosh!  Can we quote you on that?  We occasionally have PR
problems... :-)

dha

-- 
David H. Adler - <dha@panix.com> - http://www.panix.com/~dha/
 ... nononono. And to use nonononono just to negate that is, uhm,
confusing. Someone might think I'm stuttering.
	- Abigail, p5p


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

Date: Sun, 18 Jun 2000 14:48:53 -0400
From: "ßarry" <quikgamer1@freewwweb.com>
Subject: Filtering out certain types of files...
Message-Id: <8ij53h$63r$1@news.smartworld.net>

Hopefully this is the right group, if not, I apologize. I'm trying to make a
script filter out files of a certain type, such as if I wanted to filter out
cgi files so other users can't install CGI on my site (just an example). I
would like to know what the filter would be to check the last 3 letters of a
filename (the extension mainly) and see if they match a certain 3, and
return an error page if they match (saying that they can't upload that type
of file). Hope I explained it well enough - basicaly I don't want people
installing CGI files and running them. Thanks.
      ßarry

BTW: Please e-mail responses, I don't visit this group too often - I think
this may be my second time lol. Thanks again.




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

Date: Sun, 18 Jun 2000 12:09:49 -0700
From: Tom Phoenix <rootbeer@redcat.com>
Subject: Re: Filtering out certain types of files...
Message-Id: <Pine.GSO.4.10.10006181201320.29843-100000@user2.teleport.com>

On Sun, 18 Jun 2000, ßarry wrote:

> Hopefully this is the right group, if not, I apologize. 

Probably it's not. It sounds like a webserver issue to me. Oh, well!

> I'm trying to make a script filter out files of a certain type, such
> as if I wanted to filter out cgi files so other users can't install
> CGI on my site (just an example).

It would be much more secure to allow uploads only to directories whose
contents can never be considered programs by your webserver, don't you
think? 

As a webserver admin, I would not let any untrusted person install
anything into a program directory. 

> I would like to know what the filter would be to check the last 3
> letters of a filename (the extension mainly) and see if they match a
> certain 3,

Of course, you probably want to check the last four characters of the
filename, rather than just the last three letters. That sounds like a
substring and string equality test, although many folks would just use a
pattern match. See substr in the perlfunc manpage and 'eq' in the perlop
manpage.

> BTW: Please e-mail responses, I don't visit this group too often

Okay - but you should generally expect to read responses in the newsgroup;
not everyone will send you a copy of a posting, as I'm doing.

Cheers!

-- 
Tom Phoenix       Perl Training and Hacking       Esperanto
Randal Schwartz Case:     http://www.rahul.net/jeffrey/ovs/





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

Date: Mon, 19 Jun 2000 04:12:35 +0930
From: Henry <henry@penninkilampi.net>
Subject: Re: How to determine a fake email address
Message-Id: <henry-ADE3B7.04123519062000@news.metropolis.net.au>

In article <slrn8kq1mq.ojo.abigail@alexandra.delanet.com>, 
abigail@delanet.com wrote:

> %% #!/usr/bin/perl -w
> 
> no use strict;

No chance of variable collision in such a simple script, so I left it 
out.


> %% $theirMailServer = 'their.mail.server';
> 
> And where does 'their.mail.server' come from? What if there are 
> multiple mail servers?

Oh, probably something like:

($theirUserName,$theirMailServer) = split /@/, $emailAddress;

But the FAQ has a pointer to a package that can clean up email 
addresses, which probably does this as well.

Naturally, if strategies other than port-mapping 
(ipfwadm/ipchains/whatever) are used by the administrators of the target 
domain to redirect packets on port 25, like Tom said (using MX as an 
example, iirc), then there will be problems.

That is the whole point - to demonstrate that, regardless of how clever 
the program is, there will _always_ be problems - some of which _can_ be 
overcome, but some of which _can't_ be overcome.


> %% $m = Net::SMTP->new($theirMailServer,
> %%                     Hello => $yourHostName,
> %%                     Timeout => 30,
> %%                     Debug   => 1);
> 
> What if new() fails?

The $m is undef and nothing else gets processed.

If this was part of a larger script, then the whole thing would probably 
be wrapped in a loop and it could be written along the lines of:

ADDRESS: foreach $emailAddress (@addresses)
{
 $m = Net::SMTP->new(...) or next ADDRESS;
 ...

Whatever floats your boat.

Henry.


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

Date: Sun, 18 Jun 2000 12:00:46 -0700
From: Tom Phoenix <rootbeer@redcat.com>
Subject: Re: How to determine a fake email address
Message-Id: <Pine.GSO.4.10.10006181158020.29843-100000@user2.teleport.com>

On Mon, 19 Jun 2000, Henry wrote:

> > %% $theirMailServer = 'their.mail.server';
> > 
> > And where does 'their.mail.server' come from? What if there are 
> > multiple mail servers?
> 
> Oh, probably something like:
> 
> ($theirUserName,$theirMailServer) = split /@/, $emailAddress;

Oh, I hope it's not that; that would certainly not work for most people,
and certainly not for my friends fred and barney:

    <"fred@and@barney" (Go ahead - try it!) @redcat.com>

Cheers!

-- 
Tom Phoenix       Perl Training and Hacking       Esperanto
Randal Schwartz Case:     http://www.rahul.net/jeffrey/ovs/



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

Date: 18 Jun 2000 15:14:52 EDT
From: abigail@delanet.com (Abigail)
Subject: Re: How to determine a fake email address
Message-Id: <slrn8kq8vh.ojo.abigail@alexandra.delanet.com>

Henry (henry@penninkilampi.net) wrote on MMCDLXXXIII September MCMXCIII
in <URL:news:henry-ADE3B7.04123519062000@news.metropolis.net.au>:
,, In article <slrn8kq1mq.ojo.abigail@alexandra.delanet.com>, 
,, abigail@delanet.com wrote:
,, 
,, > %% $theirMailServer = 'their.mail.server';
,, > 
,, > And where does 'their.mail.server' come from? What if there are 
,, > multiple mail servers?
,, 
,, Oh, probably something like:
,, 
,, ($theirUserName,$theirMailServer) = split /@/, $emailAddress;

But that is *wrong*.

,, But the FAQ has a pointer to a package that can clean up email 
,, addresses, which probably does this as well.
,, 
,, Naturally, if strategies other than port-mapping 
,, (ipfwadm/ipchains/whatever) are used by the administrators of the target 
,, domain to redirect packets on port 25, like Tom said (using MX as an 
,, example, iirc), then there will be problems.

MX is not an example. The entire mail system is *based* on MX records.
And while domain name part of a mail address often looks like a host
name, it's not. 



Abigail
-- 
srand 123456;$-=rand$_--=>@[[$-,$_]=@[[$_,$-]for(reverse+1..(@[=split
//=>"IGrACVGQ\x02GJCWVhP\x02PL\x02jNMP"));print+(map{$_^q^"^}@[),"\n"


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

Date: Mon, 19 Jun 2000 05:05:23 +0930
From: Henry <henry@penninkilampi.net>
Subject: Re: How to determine a fake email address
Message-Id: <henry-8C288D.05052319062000@news.metropolis.net.au>

In article <slrn8kq8vh.ojo.abigail@alexandra.delanet.com>, 
abigail@delanet.com wrote:

>>> And where does 'their.mail.server' come from? What if there are 
>>> multiple mail servers?
>> 
>> Oh, probably something like:
>> 
>> ($theirUserName,$theirMailServer) = split /@/, $emailAddress;
> 
> But that is *wrong*.
 ...
> MX is not an example. The entire mail system is *based* on MX records.
> And while domain name part of a mail address often looks like a host
> name, it's not. 

It's not _wrong_ Abigail.  Depending on how you configure your forward 
zone file it is perfectly functional and correct.  Nothing _wrong_ about 
it whatsoever!

You do realise it's entirely possible to have a fully functional domain, 
with fully functional email, without using any MX records whatsoever - 
don't you?

Of course, not _all_ administrators set up their domains that way.  Some 
anchor their domains on a web server which doesn't have sendmail and 
they use MX records to slip mail to different machines.

The latitude in network configuration is what contributes to email 
address validation being as unreliable as it is.

Henry.


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

Date: 18 Jun 2000 16:54:54 EDT
From: abigail@delanet.com (Abigail)
Subject: Re: How to determine a fake email address
Message-Id: <slrn8kqer2.3a7.abigail@alexandra.delanet.com>

Henry (henry@penninkilampi.net) wrote on MMCDLXXXIII September MCMXCIII
in <URL:news:henry-8C288D.05052319062000@news.metropolis.net.au>:
;; In article <slrn8kq8vh.ojo.abigail@alexandra.delanet.com>, 
;; abigail@delanet.com wrote:
;; 
;; >>> And where does 'their.mail.server' come from? What if there are 
;; >>> multiple mail servers?
;; >> 
;; >> Oh, probably something like:
;; >> 
;; >> ($theirUserName,$theirMailServer) = split /@/, $emailAddress;
;; > 
;; > But that is *wrong*.
;; ...
;; > MX is not an example. The entire mail system is *based* on MX records.
;; > And while domain name part of a mail address often looks like a host
;; > name, it's not. 
;; 
;; It's not _wrong_ Abigail.  Depending on how you configure your forward 
;; zone file it is perfectly functional and correct.  Nothing _wrong_ about 
;; it whatsoever!
;; 
;; You do realise it's entirely possible to have a fully functional domain, 
;; with fully functional email, without using any MX records whatsoever - 
;; don't you?


Yes, but it's utterly wrong to assume that all domains are set up that
way. Not having an MX record for a domain is a special exception - not
the default. RFC 974 describes it as "giving the domain the benefit of
doubt".



Abigail
-- 
perl -MNet::Dict -we '(Net::Dict -> new (server => "dict.org")
                       -> define ("foldoc", "perl")) [0] -> print'


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

Date: Sun, 18 Jun 2000 19:05:11 GMT
From: cberry@cinenet.net (Craig Berry)
Subject: Re: How to send files across the internet?
Message-Id: <skq7b7rpe7f141@corp.supernews.com>

Shruti (shantha@socal.rr.com) wrote:
: I guess I did not make myself clear.
: 
: I would like to know if there is a way for the server side cgi to do the
: job. I do not want to write client side programs.

We understood.  Abigail's point was that the available 'ways' -- FTP,
HTTP, and so forth -- don't depend on your choice of Perl as an
implementation language, so your post could be considered off-topic for
this newsgroup.

Were I you, I'd be looking at the Net::FTP module.

-- 
   |   Craig Berry - http://www.cinenet.net/users/cberry/home.html
 --*--  "Beauty and strength, leaping laughter and delicious
   |   languor, force and fire, are of us." - Liber AL II:20


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

Date: Sun, 18 Jun 2000 22:44:19 +0200
From: "Charles W.W." <kingwang98@yahoo.com>
Subject: Monitor a process like Unix top But should be Perl/tk How?
Message-Id: <394D34A3.42115C19@yahoo.com>

 


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

Date: Sun, 18 Jun 2000 18:22:46 GMT
From: "jraff" <jraff@home.com>
Subject: Re: Perl without a server ?
Message-Id: <Wr835.8744$lU5.76010@news1.rdc1.nj.home.com>

Microsoft has Personal Web Server which can be run on W98.
http://support.microsoft.com/support/kb/articles/Q231/9/98.ASP

This article give specifics on running PWS with Perl.
----------------------------------------------------------------
"John Heath" <john@silsden.ezesurf.co.uk> wrote in message
news:8iibap$45t$1@news8.svr.pol.co.uk...
> Is it possible to run perl scripts from a web browser without the script
> residing on the ISP server ?
>
> I wish to use Explorer as an off line HTML browser to browse the contents
of
> my own hard disk and be able to run a perl script as if I was on line.
This
> is to enable script testing before submitting them.
>
>
>
>




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

Date: Sun, 18 Jun 2000 18:47:31 GMT
From: clintp@geeksalad.org (Clinton A. Pierce)
Subject: Re: win2K and perl include problem!
Message-Id: <7P835.4255$fR2.48164@news1.rdc1.mi.home.com>

[Posted and mailed]

In article <394D0B5E.76AF7195@hta-bi.bfh.xxx>,
	Markus Hediger <hedim@hta-bi.bfh.xxx> writes:
> Kopija wrote:
>> <td> you are visitor nr.: <!--#exec cgi="cgi-bin/counter.plx"--></td>
> 
> no guarantee that this will work, it's just an idea.
> 

I believe (but don't quote me on this) that just saying:

	use CGI qw(:standard);

	print header();

Will do the proper thing under IIS.  I don't have an IIS server handy
(THANK GOD) to test this, but my recollection is that the right thing
just happens.

-- 
    Clinton A. Pierce              Teach Yourself Perl in 24 Hours! 
  clintp@geeksalad.org         for details see http://www.geeksalad.org
"If you rush a Miracle Man, 
	you get rotten Miracles." --Miracle Max, The Princess Bride


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

Date: 16 Sep 99 21:33:47 GMT (Last modified)
From: Perl-Users-Request@ruby.oce.orst.edu (Perl-Users-Digest Admin) 
Subject: Digest Administrivia (Last modified: 16 Sep 99)
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.  

| NOTE: The mail to news gateway, and thus the ability to submit articles
| through this service to the newsgroup, has been removed. I do not have
| time to individually vet each article to make sure that someone isn't
| abusing the service, and I no longer have any desire to waste my time
| dealing with the campus admins when some fool complains to them about an
| article that has come through the gateway instead of complaining
| to the source.

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.

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 V9 Issue 3414
**************************************


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