Re: perl, web based text editors available?

2002-10-23 Thread zentara
On Tue, 22 Oct 2002 09:34:27 -0400, [EMAIL PROTECTED] (Steveo) wrote: I have a small dynamic website I wrote in perl. All news and stuff is entered through a web accessible backend page and the data is written to a series of flat ascii text files. When I make a mistake in entering data, or

An if statement

2002-10-23 Thread Octavian Rasnita
Hi all, I want to create an if statement like: if (-e $file) { for($i = 0; $i 10; $i++) { sleep(1); } unlink $file; } Please tell me what will happen if in this period of time (10 seconds) another page visitor, or program will delete $file. Will this script try to delete a non existent $file?

Re: An if statement

2002-10-23 Thread Gary Stainburn
On Wednesday 23 Oct 2002 1:47 pm, Octavian Rasnita wrote: Hi all, I want to create an if statement like: if (-e $file) { for($i = 0; $i 10; $i++) { sleep(1); } unlink $file; } Please tell me what will happen if in this period of time (10 seconds) another page visitor, or program will

Re: CGI.pm param question

2002-10-23 Thread Ovid
--- Nikola Janceski [EMAIL PROTECTED] wrote: is there a function that does this or something similar in CGI.pm? ## print start_form and other stuff print map { hidden($_, param($_)) } param(); # pass remaining info ## end form stuff here PS. what's the easiest way to pass parameters