RE: Nesting javascript in CGI

2001-02-20 Thread Kirkup, Steve
A better way to deal with Javascript is to include a link to a file with your code in a seperate file. You include something like this in the header section of the HTML file. Cuts down the amount of time that your script has to spend issue print statements and seperates out the Javas

RE: Removing duplicates

2001-02-20 Thread Bill Duncan
Apparently not on all functional installations of Active State: C:\WINDOWS>perldoc -q duplicate No documentation for perl FAQ keyword `duplicate' found C:\WINDOWS>perl -v This is perl, version 5.005_03 built for MSWin32-x86-object (with 1 registered patch, see perl -V for more de

Re: deleting hash values

2001-02-20 Thread siberian
I would use a sub hash $Users{ User2 }{ Location } = .. ; $Users{ User2 }{ Lastname } = .. ; $Users{ User1 }{ Location } = .. ; Then you can say delete $Users{ $Section } ; and avoid the looping. You also get the added benefit of simpler database management if your fetching / pushing to sql.

deleting hash values

2001-02-20 Thread Matthew Thompson
Hi, I'm using the following code to delete values from a hash - I get the warning (I say warning as it does delete the value) below when delete is called. Is ther a better way of deleting values from hashes? foreach $item (%$self) { if ($item=~/^$section\.(.*)/) {

Re: Request...

2001-02-20 Thread Rythmist
Hi, I have installed to Windows 98/Windows 98SE/Windows ME and have not needed to make any additional installation of drivers before hand. (Your Step #3). Only on Windows 95 must you ensure that NT Service Pack 3 is installed. I installed Active Perl 5.6x from the self-extracting self-installing

Re: Request...

2001-02-20 Thread Rythmist
Hi, Once Perl is installed and mapped in the registry, 1. make sure the top line of your script points to perl #!/localhost/perl/bin 2. Add and Set permissions on the virtual directory containing your scripts via the PWS web manager to 'scripts' and 'execute' only. Note: PWS has a default dire