PERL - JAVASCRIPT Help please

2002-02-18 Thread documents
Hi, I am using a perl program to invoke a small javascript to first open a new window, and then another javascript to write some text or form to the new window. I can't get it to work in Netscape 4.72 I will open a window but won't write to it. It works fine in IE 5.0 The problem is between --

Crypt function explanation

2002-01-05 Thread documents
Hi, below is a piece of code from the perl man pages. My question deals with: crypt PLAINTEXT, SALT Can someone please explain what the SALT is used for, HOW should it be set, that is, how many characters long it should be etc. There is little explanation besides the example in the manual, as w

Please ! Expert help needed - File locking

2001-11-01 Thread documents
Hi, I'm trying to use file locking to work with the same file from different scripts. Each script may open the file in different mode. For example: Script1 opens for APPEND and Script2 opens the file for writing, thus truncating the file and then writing the data. I have read the perldoc.co

flock() question

2001-10-30 Thread documents
Hi, I'm trying to lock a file exclusively so that other process has no access to it I'm using: flock($fh,2); It does work, and in the second process I use the same procedure. The problem is that I can't set a time limit for the lock. I want to try to capture the lock, and if unsuccessful, the