[18843] in Perl-Users-Digest

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

Perl-Users Digest, Issue: 1011 Volume: 10

daemon@ATHENA.MIT.EDU (Perl-Users Digest)
Tue May 29 11:06:02 2001

Date: Tue, 29 May 2001 08:05:16 -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: <991148716-v10-i1011@ruby.oce.orst.edu>
Content-Type: text

Perl-Users Digest           Tue, 29 May 2001     Volume: 10 Number: 1011

Today's topics:
        2000  rights with Perl <michel.wouterse@intec-delft.com>
    Re: 2000  rights with Perl <smug@rocketmail.com>
        Analyzing biometrics (was Re: Req. for help: need biome <goldbb2@earthlink.net>
    Re: Analyzing biometrics (was Re: Req. for help: need b (Anno Siegel)
        Cookies <"relaxedrob@optushome.com.au">
    Re: END{} and tempfiles <Jenda@Krynicky.cz>
    Re: END{} and tempfiles <Jenda@Krynicky.cz>
    Re: HELP with IPC <dennis.kowalsk@daytonoh.ncr.com>
    Re: HELP with IPC (Anno Siegel)
    Re: How to launch a program in the background from perl <gtoomey@usa.net>
        Javascript Date Picker to Perl Page Problem (hugo)
        Join new system in NT4.0 domain <vGeesink@Planet.NL>
        Newbie: locating files in apache <hmacdonald@europarl.eu.int>
        Perl Community Stars (?) <lmoran@wtsg.com>
    Re: Perl Community Stars (?) <todd@designsouth.net>
    Re: Perl script error during testing <sloon@mindless.com>
    Re: Perl script error during testing <lmoran@wtsg.com>
    Re: Perl script error during testing (Tad McClellan)
        problem solved.. <"relaxedrob@optushome.com.au">
    Re: problem solved.. <nobody@dev.null>
        Digest Administrivia (Last modified: 6 Apr 01) (Perl-Users-Digest Admin)

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

Date: Tue, 29 May 2001 12:53:05 +0200
From: "Michel" <michel.wouterse@intec-delft.com>
Subject: 2000  rights with Perl
Message-Id: <9evu8p$siu$1@news.unitel.co.kr>

Hi Dear Helper,

Anyone point me in the right direction on where to find information about
assigning changing Windows 2000 user and group rights for directories?
I am trying to setup a maintenance page for internal use, which would allow
me to remotely change rights.
I also have made a template for directory-structure, based on projects,
which I will need to be able to copy (opening a new project) and assign the
proper grouprights to them.

Anyone?

Thank you very much in advance,

Michel Wouterse
INTEC Engineering BV
Delft - Netherlands
michel.wouterse@intec-delft.com





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

Date: Tue, 29 May 2001 16:00:57 +0100
From: "Neil Smith" <smug@rocketmail.com>
Subject: Re: 2000  rights with Perl
Message-Id: <991148381.15431.0.nnrp-09.c2de7c8b@news.demon.co.uk>

Oh, and there was me thinking you just wanted to know:
print "rights "x2000; # 2000 rights with Perl

I'm sorry, it was a poor joke.

Seriously, have you looked at Win32::FileSecurity? - I believe it's a
standard ActiveState installed module. I think it should do what you're
after ...

Obviously if you create a directory on Win2000, it will inherit the
permissions from its parent - which may or may not be of use dependant on
your situation. (e.g. you could create user directories in a
permissions-already-set 'user' directory.)

Cheers,
Neil.

"Michel" <michel.wouterse@intec-delft.com> wrote in message
news:9evu8p$siu$1@news.unitel.co.kr...
> Hi Dear Helper,
>
> Anyone point me in the right direction on where to find information about
> assigning changing Windows 2000 user and group rights for directories?
> I am trying to setup a maintenance page for internal use, which would
allow
> me to remotely change rights.
> I also have made a template for directory-structure, based on projects,
> which I will need to be able to copy (opening a new project) and assign
the
> proper grouprights to them.
>
> Anyone?
>
> Thank you very much in advance,
>
> Michel Wouterse
> INTEC Engineering BV
> Delft - Netherlands
> michel.wouterse@intec-delft.com
>
>
>




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

Date: Tue, 29 May 2001 07:29:44 -0400
From: Benjamin Goldberg <goldbb2@earthlink.net>
Subject: Analyzing biometrics (was Re: Req. for help: need biometric guniea pigs)
Message-Id: <3B138828.DB1427AB@earthlink.net>

Alan Barclay wrote:
> 
> In article <Pine.GSO.4.10.10105131644070.2204-100000@aloha.cc.columbia.edu>,
> Mike Schiraldi  <mgs21@columbia.edu> wrote:
> >I'm playing around with some simple biometrics - measuring the time
> >between keystrokes for a standard phrase, like "The quick brown fox"
> >or
> 
> This sounds to me like a very unreliable method. My typing speed
> varies according to my posture, my general tiredness, my concentration
> on the task and other factors. Also, if I have to type a phrase
> repeatadly, eg passwords, then I get better at it as time goes on.

It can be about as reliable as voice recognition.  Sometimes your voice
is quiet, sometimes it's loud, sometimes your talk slowly, sometimes you
talk fast, perhaps you've got a cold, or laryingitis.  A good voice
recognition system will be able to work in spite of most of these
problems (maybe not a cold, or laryingitis, but it can work in spite of
the others).  It's not the overall speed, or overall loudness, it's the
relative speed and loudness, and the different frequencies the sounds.

Similarly, sometimes you type fast, or slow, but the *pattern* of your
typing is more or less constant... unless you used to be a two-finger
typist and are now a touch-typist, or you sprained/broke a finger or
wrist, or suddenly developed arthritis.

But the real problem with biometrics isn't any of these things -- it's
that as a "secret", they're useless.  Once an opponent learns your
typing pattern, they secret's gone, and you can't learn a new typing
pattern.  There's no way to tell over the internet that there's a live
user at the other end entering biometrics, and not an attacker's program
playing back a recording.

It might be useful for in-person verification, since you can have a
human guard, or at least a video camera, watching to make sure that the
real data is entered, not a recording, but over the internet it's just
about useless.

This has strayed quite a bit from the topic of perl.  To get back
on-topic, does anyone know any implementations of neural-networks
written in perl?  That's really a much better way of identifying
patterns than taking the sum of the squares of the differences, since
you can have each user give a few samples of his typing pattern in the
'learning' stage, and thus get better results.  With your method, the
database only has one sample per person. 

A possible neural-network interfact might be:
	my $nn = Algorithms::Learning::NeuralNetwork->new(
		-Inputs => length($phrase)-1,
		-Outputs => scalar keys(%users),
		-HiddenLayers => 3 );
	{ my @users = (0.01) x $number_of_users;
	while( <SAMPLEDATA> ) {
		my ($userno) = $users{ s/^(\S+)\s*:\s*// };
		my (@timings) = map { 1/(1+$_) } split /,\s*/;
		local $users[$userno] = 0.99;
		$nn -> training_data( \@timings, [@users] );
	} }
	$nn -> train();
	$nn -> write_to_file( $filename );

Taking the inverses changes the timing intervals from a range of
1..infinity to a range from 0..1, which is much easier for a nn to
handle.  Setting the training targets as 0.01 and 0.99 rather than 0.0
and 1.0 eliminates certain other potential problems.

	my $nn = Algorithms::Learning::NeuralNetwork ->
		new_from_file( $filename );
	my ($max,$who) = (-1,-1);
	my @output = $nn -> process( \@sample );
	for(0..$#output) {
		if( $output[$_] > $max ) {
			$who = $_;
			$max = $output[$_];
		}
	}
	print "The nn thinks the sample was generated by\n"
	print "user number $who with probability $max\n");

Note: all this code is entirely made up!  There is no such module
Algorithms::Learning::NeuralNetwork.  Or at least, not yet.  Anybody
want to write such a thing?  I don't know enough about NNs, perceptrons,
etc, to do it... or at least not all that well.  I've still got my
textbook from when I took an Intro to Artificial Intelligence course...
I think there might be some algorithms in there I could use.  But a real
NN needs lots of speed, which would be best done in XS (or maybe with
Inline::C?), rather than pure perl.

-- 
The longer a man is wrong, the surer he is that he's right.


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

Date: 29 May 2001 12:05:17 GMT
From: anno4000@lublin.zrz.tu-berlin.de (Anno Siegel)
Subject: Re: Analyzing biometrics (was Re: Req. for help: need biometric guniea pigs)
Message-Id: <9f039t$i44$4@mamenchi.zrz.TU-Berlin.DE>

According to Benjamin Goldberg  <goldbb2@earthlink.net>:
> Alan Barclay wrote:
> > 
> > In article <Pine.GSO.4.10.10105131644070.2204-100000@aloha.cc.columbia.edu>,
> > Mike Schiraldi  <mgs21@columbia.edu> wrote:
> > >I'm playing around with some simple biometrics - measuring the time
> > >between keystrokes for a standard phrase, like "The quick brown fox"
> > >or
> > 
> > This sounds to me like a very unreliable method. My typing speed
> > varies according to my posture, my general tiredness, my concentration
> > on the task and other factors. Also, if I have to type a phrase
> > repeatadly, eg passwords, then I get better at it as time goes on.
> 
> It can be about as reliable as voice recognition.  Sometimes your voice

Can you substantiate that claim?  Voice recognition has a *lot* more
data to go on than the handful of integers you get from timing a
keyboard sample.

Anno


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

Date: Tue, 29 May 2001 11:53:09 GMT
From: "Rob" <"relaxedrob@optushome.com.au">
Subject: Cookies
Message-Id: <F4MQ6.4912$25.17694@news1.eburwd1.vic.optushome.com.au>

Howdy all!

Can anyone tell me what I am doing wrong with my cookies here?

I am making a cookie in one html page in the '/pages/' directory with this code:
# make a cookie
     my $c = new CGI::Cookie(-name    =>  'basePage',
                             -value   =>  '/shiftStart.pl',
                             -expires =>  '+3M',
                             -path    =>  '/pages/'
                            );

And I am trying to access it with another page in the '/pages/' directory with
this code:

# get the collection of all cookies
my %cookies = fetch CGI::Cookie;
my $cookieYum = $cookies{basePage};
my $baseurl = $cookieYum->value;
#$value = $c->value;
#basePage
print "base page is $baseurl";

The error I am getting from Apache's log is this:

[Tue May 29 21:48:16 2001] [error] Can't call method "value" on an undefined
value at c:/apache/htdocs/ass2/task2/login.pl line 76, <README> line 296.

Any ideas please!?
:)

Rob




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

Date: Tue, 29 May 2001 14:52:21 GMT
From: Jenda Krynicky <Jenda@Krynicky.cz>
Subject: Re: END{} and tempfiles
Message-Id: <1113_991147941@JENDA>

On Tue, 29 May 2001 02:46:09 +0000 (UTC), Ilya Zakharevich <ilya@math.ohio-state.edu> wrote:
> [A complimentary Cc of this posting was sent to
> Abigail
> <abigail@foad.org>], who wrote in article <slrn9h5nr1.fv8.abigail@tsathoggua.rlyeh.net>:
> > opened. But then you still have a problem if END {} isn't run,
> > for instance when doing an exec, or a kill -9. Better might be to
> > unlink the file right after opening. It'll get deleted as soon as
> > the program finishes, for whatever reason.
> 
> Will not work on most of the systems.  Moreover, if it works, file is
> unlinked immediately.  I think that having open FHs to an unlinked
> file is legal exactly on the same systems where unlinking an opened
> file does not fail.  [No surprise in this, of course.  Unless it is
> wrong.  ;-]
> 
> Ilya

In case anyone would be interested.

I guess the best you could get on Windows if you would realy care that much is to schedule the file 
deletion to next boot up. It's not possible to unlink an opened file.

I believe you get no errors in EventLog or anywhere if the file doesn't exist.
Just a note like "Please wait while setup updates your files" for a sec during boot up.

	use Win32::FileOp qw(DeleteAtReboot);
	DeleteAtReboot $filename;

I don't think it's worth the effort.

Jenda




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

Date: Tue, 29 May 2001 14:56:32 GMT
From: Jenda Krynicky <Jenda@Krynicky.cz>
Subject: Re: END{} and tempfiles
Message-Id: <1114_991148192@JENDA>

On 28 May 2001 23:06:32 GMT, gt4556a@acmex.gatech.edu (=?iso-8859-1?Q?J=F6rg?= Ziefle) wrote:
> I am using the little code from Perlfaq 5 ("How do I make a temporary
> file name?", 2nd example) in a subroutine to generate and return the
> names of temporary files that the caller then uses.
> 
> However, the END{} block that unlinks the temporary file is only
> executed for the first temporary file name.
> 
> Has anybody an idea what's wrong (below is some code)?  I am running
> Perl 5.6.1 under Solaris 5.7.
> 
> Thanks,
> Jörg

Try this simple example :

	#perl
	sub foo {my $x = shift; END {print "You have called foo($x)\n"}};
	foo(1);
	foo(2);
	__END__

produces only
	You have called foo(1)

You will have to do it a bit differently.
Store the filenames to unlink in a global array and delete all files in it in END{}

Put this somewhere in your code :

	END {
	 my $file;
	 foreach $file (@tmp_files) {
	  unlink $file;
	 }
	}

> sub gentempfilename {
>   
>   <code snipped>
>
>   END {
>     
>     print "deleting $tempfilename\n";
>     unlink $tempfilename;
>     
>   };

Replace the END{} with
	push @tmp_files, $tempfilename;

Jenda



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

Date: Tue, 29 May 2001 09:13:02 -0400
From: "Dennis Kowalski" <dennis.kowalsk@daytonoh.ncr.com>
Subject: Re: HELP with IPC
Message-Id: <3b13a05f$1@rpc1284.daytonoh.ncr.com>

The $queue = msgget($key,0) statment is in the 2nd script. The one that
wants to get the ID value to be used in the send. I have verified that the
first script (which does use IPC_CREAT) did create the queue with the proper
permissions by doing a ipcs -qa command.

Anno Siegel <anno4000@lublin.zrz.tu-berlin.de> wrote in message
news:9etiqj$j6p$1@mamenchi.zrz.TU-Berlin.DE...
> According to Dennis Kowalski <dennis.kowalsk@daytonoh.ncr.com>:
> >
> > I am trying to develope two scripts. One that creates an IPC queue and
> > receives off of it and the other script send message to the IPC queue.
> >
> > So far I have been able to create the queue OK but when I try to send to
it
> > I get an error of Invalid argument.
> >
> > I have tried msgsnd and the SysV $msg->snd methods and both fail.
> >
> > Can anyone see the error?
> >
> > Here is the msgsnd version
> >
> >       eval 'sub IPC_RMID {0}' unless defined &IPC_RMID;
> >       eval 'sub IPC_NOWAIT {0004000}' unless defined &IPC_NOWAIT;
> >
> >       $key = 999;
> >      $queue = msgget($key, 0);
>
> Without looking any further, the value of 0 for the flags argument
> won't allow creation of a message queue.  You'll need to specify
> IPC_CREAT for that.  You will also have to or in some reasonable
> permissions for the queue or you won't be able to use it later.
>
> Anno




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

Date: 29 May 2001 14:05:04 GMT
From: anno4000@lublin.zrz.tu-berlin.de (Anno Siegel)
Subject: Re: HELP with IPC
Message-Id: <9f0aag$i44$5@mamenchi.zrz.TU-Berlin.DE>

[Please, in the future, put your reply _after_ the suitably trimmed text
you reply to. It's the commonly accepted quoting style on this
newsgroup, and Usenet in general. Thanks][1]

According to Dennis Kowalski <dennis.kowalsk@daytonoh.ncr.com>:
> The $queue = msgget($key,0) statment is in the 2nd script. The one that
> wants to get the ID value to be used in the send. I have verified that the
> first script (which does use IPC_CREAT) did create the queue with the proper
> permissions by doing a ipcs -qa command.

Then you should give us a clearer image of your setup.  Post a pair
of minimal scripts that show the error, and explain where it happens.

[jeopardectomy]

Anno

[1] Martien, can I borrow this?


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

Date: Tue, 29 May 2001 20:26:14 +1000
From: "Gregory Toomey" <gtoomey@usa.net>
Subject: Re: How to launch a program in the background from perl web script?
Message-Id: <fAKQ6.26583$hV3.37661@newsfeeds.bigpond.com>

"Joel" <extramail@qwest.net> wrote in message
news:3B12BD7B.AAF65633@qwest.net...
> I have been reading and messing around with exec,system and backticks in
> an attempt to have a perl web script initiate another program on the
> server in the background so the web page can come back immediately and
> the process on the server continues until complete.
>
<snip>

I use daemonize to dissociate the parent and child.
http://www.perldoc.com/perl5.6/pod/perlipc.html

gtoomey




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

Date: 29 May 2001 06:33:24 -0700
From: hugo.b@derivs.com (hugo)
Subject: Javascript Date Picker to Perl Page Problem
Message-Id: <aa03047f.0105290533.60290234@posting.google.com>

Hi all.

I have a perl script that uses a html pages as a template and displays
results in the browser, looking like a html page although the url
extention is somthing.pl

On this results page I have a button that launches a Javascript Date
Picker in a new window ( popup ).

You then choose a date and this will then ( suposed to do this ) write
this date into the field on the results page and close the popup
window.

When I launch the HTML template file and do this Date Picker, it all
works fine as it is then a HTML file that writes back to the html
field.

When I try to do this in the perl enviroment, it fails to write back
to the field, it looks like the javascript that returns this value
cant be written to the perl page.

Any help or Ideas ?

Please mail me hugo.b@derivs.com

Thanks


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

Date: Tue, 29 May 2001 16:45:48 +0200
From: "Frank van Geesink" <vGeesink@Planet.NL>
Subject: Join new system in NT4.0 domain
Message-Id: <9f0c90$7g79s$1@reader02.wxs.nl>

I'm searching for a function that can add new systems in a Windows NT
domain.
I checked all the functions in Win32API::Net, Win32::NetAdmin and AdminMisc,
but I seem to overlook something or do I have to look somewhere else?
Can someone give me a hint were to look?

Best regards,

Frank van Geesink.




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

Date: Tue, 29 May 2001 16:32:19 +0200
From: harry macdonald <hmacdonald@europarl.eu.int>
Subject: Newbie: locating files in apache
Message-Id: <3B13B2F3.4DE041D1@europarl.eu.int>

Hi, I hope someone can help me

I'm porting from IIS to apache, and when opening datafiles
(open(..."x/y/myfile" ...)
With apache  the path is relative to the current directory.

How do I make it relative to the server root ?

Many thanks
Harry MacDonald




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

Date: Tue, 29 May 2001 09:27:00 -0400
From: Lou Moran <lmoran@wtsg.com>
Subject: Perl Community Stars (?)
Message-Id: <gp77htg4qja5irh0eube3359j953ti75qo@4ax.com>

--I have noticed that Perl seems to have "famous" people.

--(One of the first questions I ever asked here had something to do
with a Perl book I was reading and the author of the book answered me
and opened a dialog with me via email which endeared me to Perl over
other languages.  Which is when I started noticing there was a certain
"star factor" here.) 

--Larry Wall makes a lot of sense of course.  Not dissimilar to Linus
T ot Bill G in that it is "his thing".

--But there are famous programmers/authors.  Tom C, Randal S, Nathan
T.  Even infamous ones (Matt W, the troll.) 

--I don't notice this in other languages/computer systems so much.
There doesn't seem to be a star in the Lotus Notes world.  No Windows
NT gurus.  Linux has pretty much Linus and the Red Hat guy.  BSD, SUN,
etc. seem fairly star free.  MySQL, PHP, Python have their creators
but they're in the same league as Larry (although their usrs are
probably as rabid, especially the Python folks who seem pitted against
Perl folks for some reason.  I can buy into the Linux/NT thing but
Pyhton v. Perl seems really weird.)

--Computing has some superstars of course; Ada B Lovelace, Alan
Turing...

--Are there other famous programmers in other languages or is this a
"Perl Thing"?  

--
BSOD? In my day we didn't have 0000FF!
lmoran@wtsg.com


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

Date: Tue, 29 May 2001 15:03:52 GMT
From: "Todd Smith" <todd@designsouth.net>
Subject: Re: Perl Community Stars (?)
Message-Id: <sTOQ6.83758$I5.19760715@news1.rdc1.tn.home.com>


"Lou Moran" <lmoran@wtsg.com> wrote in message
news:gp77htg4qja5irh0eube3359j953ti75qo@4ax.com...
> --I have noticed that Perl seems to have "famous" people.
>
> --(One of the first questions I ever asked here had something to do
> with a Perl book I was reading and the author of the book answered me
> and opened a dialog with me via email which endeared me to Perl over
> other languages.  Which is when I started noticing there was a certain
> "star factor" here.)
>
> --Larry Wall makes a lot of sense of course.  Not dissimilar to Linus
> T ot Bill G in that it is "his thing".
>
> --But there are famous programmers/authors.  Tom C, Randal S, Nathan
> T.  Even infamous ones (Matt W, the troll.)
>
> --I don't notice this in other languages/computer systems so much.
> There doesn't seem to be a star in the Lotus Notes world.  No Windows
> NT gurus.  Linux has pretty much Linus and the Red Hat guy.  BSD, SUN,
> etc. seem fairly star free.  MySQL, PHP, Python have their creators
> but they're in the same league as Larry (although their usrs are
> probably as rabid, especially the Python folks who seem pitted against
> Perl folks for some reason.  I can buy into the Linux/NT thing but
> Pyhton v. Perl seems really weird.)
>
> --Computing has some superstars of course; Ada B Lovelace, Alan
> Turing...
>
> --Are there other famous programmers in other languages or is this a
> "Perl Thing"?
>

You forgot Abigail!




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

Date: Tue, 29 May 2001 12:42:53 GMT
From: sloon <sloon@mindless.com>
Subject: Re: Perl script error during testing
Message-Id: <6d57ht4ag1i244tlnilhop4b4fshvqlnuc@4ax.com>

No, rec.woodworking was not particularly relevant to my problem, which
occurred while executing a *Perl* script, hence my decision to post
the question here. 

There were a number of groups that I could have posted the question
to, but I though that this might be a good place  and, as  one of the
replies that I received confirmed my initial assumption that it was a
server-related issue,  I was correct.

Gee, your life really is microscopic, isn't it. Maybe you should
become a policewoman so you can idiotically impose your vision of
truth on everyone that you meet.

Do you really have nothing better to do than troll this newsgroup
berating people when they ask a question that you don't think is
relevant enough to *Perl*.

Actually I've had Perl set up on one computer or another since about
1996 but I haven't yet learned, as you apparently have, ABSOLUTELY
EVERYTHING that there is to know about *Perl*...I have neither the
time nor inclination to spend all of my non-working time holed up in
my office pouncing on people who have a life outside of *PERL*.

Yo are absurd, IMHO.



Did you start this newsgroup? Are you the *official* bouncer here?On
Tue, 29 May 2001 02:54:25 +0000 (UTC), abigail@foad.org (Abigail)
wrote:

>sloon (sloon@mindless.com) wrote on MMDCCCXXVIII September MCMXCIII in
><URL:news:d026htkfpat00unduogeud22pueprm3pfi@4ax.com>:
>()  On Mon, 28 May 2001 23:59:53 +0000 (UTC), abigail@foad.org (Abigail)
>()  wrote:
>()  
>() >
>() >
>() >What makes you think this has anything to do with Perl?
>() >
>() >
>() >
>() >Abigail
>()  
>()  Perhaps I'm mistaken but I believe that I'm writing a script in Perl
>()  and as this newsgroup seems to deal with Perl in a genneral way, and
>()  is in fact named comp.lang.perl.misc, I pissed in your corn flakes
>()  somehow.
>
>
>Do you think your problem is relevant in rec.woodworking, because you
>were sitting on a wooden chair while developing your program?
>
>You didn't have any *Perl* problems with your setup, now did you?
>At least, you weren't discribing any.
>
>
>Abigail



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

Date: Tue, 29 May 2001 10:29:30 -0400
From: Lou Moran <lmoran@wtsg.com>
Subject: Re: Perl script error during testing
Message-Id: <n1c7ht8vsoak5a8p15nqaeiesuulg9ak0i@4ax.com>

On Fri, 25 May 2001 14:46:41 GMT, sloon <sloon@mindless.com> wrote
wonderful things about sparkplugs:

>Hi all,
>
>Very often, when I'm developing a perl script, I will make slight
>modifications to the script and upload it to the intended server to
>test the modifications. I might do this 30 or 40 times and it seems
>that after a while, I get an error that the script cannot be run. Even
>if I refresh it, reload it..etc.
>
>THEN, if I shut down my computer and start it again, the script will
>run correctly.

Although this isn't really a Perl question I would suggest the
following to trouble-shoot this situation keeping the following in
mind:  You are nto running the script on your machine.  Your machine
no longer has anything to do with the process except that the browser
may be caching the page and no longer returning a true value due to
the fact that it IS running locally.

Upload your script.  Try it.  It fails?  Simply wait.  Don't do
anything.  How long does it take to reboot (Windows I'm assuming) 4
minutes?  Fine wait 6 minutes.  Does it work?  No...

Reset your browser to reload a page everytime. 


>
>I'm usually using IE 5. 
>
>My question is: 
>
>Is this due to IE getting tired of opening the same script and
>refusing to do it anymore or is it something server-side, the server
>stops any more requests to the particular script that I'm requesting?
>
>Even if I just rename a working script to the name of the script that
>now gives an error, I still get the error unless I shut down and start
>again. I've got IE set to always get a new version of the page.
>
>I'm slightly bamboozled.
>
>Rob

--
BSOD? In my day we didn't have 0000FF!
lmoran@wtsg.com


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

Date: Tue, 29 May 2001 09:40:28 -0400
From: tadmc@augustmail.com (Tad McClellan)
Subject: Re: Perl script error during testing
Message-Id: <slrn9h79mc.4kp.tadmc@tadmc26.august.net>


[ Jeopardectomy performed ]


sloon <sloon@mindless.com> wrote:
>Did you start this newsgroup? Are you the *official* bouncer here?On
>Tue, 29 May 2001 02:54:25 +0000 (UTC), abigail@foad.org (Abigail)
>wrote:
>>sloon (sloon@mindless.com) wrote on MMDCCCXXVIII September MCMXCIII in
>><URL:news:d026htkfpat00unduogeud22pueprm3pfi@4ax.com>:
>>()  On Mon, 28 May 2001 23:59:53 +0000 (UTC), abigail@foad.org (Abigail)
>>()  wrote:
>>() >
>>() >What makes you think this has anything to do with Perl?

>>()  Perhaps I'm mistaken but I believe that I'm writing a script in Perl
>>()  and as this newsgroup seems to deal with Perl in a genneral way, and
>>()  is in fact named comp.lang.perl.misc, I pissed in your corn flakes
>>()  somehow.
>>
>>Do you think your problem is relevant in rec.woodworking, because you
>>were sitting on a wooden chair while developing your program?
>>
>>You didn't have any *Perl* problems with your setup, now did you?
>>At least, you weren't discribing any.


>No, rec.woodworking was not particularly relevant to my problem, 


If you were not sitting on a wooden chair, then Abigail's predicate
is not met, and the "then" clause does not apply.

So what kind of chair _were_ you sitting on?


>which
>occurred while executing a *Perl* script, 


which is as relevant to the problem you presented as what kind
of chair you were sitting on. Exactly Abigail's point.


>hence my decision to post
>the question here. 


So you choose the wrong newsgroup. That is understandable.

What earned you negative score file points is the subsequent
whining, not the initial mistake.


>There were a number of groups that I could have posted the question
>to, but I though that this might be a good place  


But once it was pointed out that this was NOT a good place, you
did not simply go to a "better" (web server related) place.

You seem to be insisting that this place is a good place for
web server questions. It is not. It is a good place for Perl
questions. There are other newsgroups that are good places
for asking server questions. Just go ask over there, that's
where the folks that can help with such problems hang out.


>and, as  one of the
>replies that I received confirmed my initial assumption that it was a
                                                              ^^^^^^^^
>server-related issue,  I was correct.
 ^^^^^^^^^^^^^^^^^^^^

Huh?

That does not confirm that you chose the correct newsgroup. You
chose the _Perl_ newsgroup for your _server_ question.

It confirms that you chose the wrong newsgroup.


>Gee, your life really is microscopic, isn't it. 


Gee, you don't seem to appreciate the value of being able to
partition your problem.

You were concentrating on your problem being Perl related. That is
a red herring. You should be concentrating on something related
to your web server.

You were looking for the cause of your problem in the wrong place.

Knowing that it is not the right place is helpful in searching
for the answer.


>Do you really have nothing better to do than troll this newsgroup
>berating people when they ask a question that you don't think is
>relevant enough to *Perl*.


You yourself admit above that it was not related to Perl.

I am glad to find you agreeing with Abigail.


>I haven't yet learned, as you apparently have, ABSOLUTELY
>EVERYTHING that there is to know about *Perl*...


I expect that you have no idea how close to the truth that is.

Have you scanned the "Acknowledgments" section of the 3rd edition
Camel book?


>I have neither the
>time nor inclination to spend all of my non-working time holed up in
>my office pouncing on people who have a life outside of *PERL*.


Yes, but wouldn't such a person be exactly the kind of person
who is likely to be able to answer your Perl questions?

Why go to the trouble of alienating folks who might help with future
Perl questions, when simple silence would have left that opportunity
available? You have unnecessarily limited your ability to get help
in the future.


>Yo are absurd, IMHO.


You have cut off your nose to spite your face. So long.


-- 
    Tad McClellan                          SGML consulting
    tadmc@augustmail.com                   Perl programming
    Fort Worth, Texas


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

Date: Tue, 29 May 2001 13:03:15 GMT
From: "Rob" <"relaxedrob@optushome.com.au">
Subject: problem solved..
Message-Id: <n6NQ6.4923$25.17580@news1.eburwd1.vic.optushome.com.au>

Found the perldocs for it and got it to work!
:)
Rob




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

Date: Tue, 29 May 2001 09:34:16 -0400
From: Andras Malatinszky <nobody@dev.null>
Subject: Re: problem solved..
Message-Id: <3B13A558.6050607@dev.null>



Rob wrote:

> Found the perldocs for it and got it to work!
> :)
> Rob
Oh, cool. Now, next time read the docs *before* (or instead of) posting.



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

Date: 6 Apr 2001 21:33:47 GMT (Last modified)
From: Perl-Users-Request@ruby.oce.orst.edu (Perl-Users-Digest Admin) 
Subject: Digest Administrivia (Last modified: 6 Apr 01)
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.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 V10 Issue 1011
***************************************


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