RE: Perl Source Code

2001-05-22 Thread Matthew Thompson
check out http://www.perl.com its the first link at the top - not the advert ;p Matt -Original Message- From: Orel Beckford [mailto:[EMAIL PROTECTED]] Sent: Tuesday, May 22, 2001 2:25 PM To: [EMAIL PROTECTED] Subject: Perl Source Code Hi All I'm trying to get the source code for perl s

RE: localtime question.

2001-03-16 Thread Matthew Thompson
starts at 0. -Original Message- From: Herbold, John W. [mailto:[EMAIL PROTECTED]] Sent: Friday, March 16, 2001 2:05 PM To: activePerl (E-mail) Subject: localtime question. Ok folks please help, I try this: $test1 = localtime(time); print "$test1"; print ""; ($sec,$min,$hour,$mday,$mon

RE: Running Perl script

2001-03-16 Thread Matthew Thompson
go to the command line and type ftype /? and that will tell you how to do it :) Matt -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Friday, March 16, 2001 1:23 PM To: [EMAIL PROTECTED] Subject: Running Perl script Is there anyway I can run a perl script wi

simple script needed

2001-03-16 Thread Matthew Thompson
I'm looking for a script that monitors a master directory and if anything has been changed it copies the changed files over to a mirror directory. Does anyone have or know of a script that does this and would be willing to share it? I have seen a few that ftp the files and guess that these would b

RE: regex??

2001-03-13 Thread Matthew Thompson
these regexs below will pick up the name and dates (you'll need to put some logic in with these too): $_="name and date: Abate, Alfred 02.24.51 Date2: 09/21/00 blablabla"; /(\w*), (\w*)/; print "name; $1 $2\n"; /(\d\d).(\d\d).(\d\d)/; print "date: $1.$2.$3\n"; m#(\d\d)/(\d\d)/(\d\d)#; print "dat

RE: should i install apache instead on my PC ?

2001-03-07 Thread Matthew Thompson
You'll need to install some kind of Web server. I went for Personnal Web Server as its easy to set up than Apache and all I wanted to do was run scripts. A guy on this list has a useful web page for PWS but I can't remember the URL to it sorry - maybe he's reading and can post it! I understand tha

RE: deleting hash values

2001-02-21 Thread Matthew Thompson
Thanks for the advice guys, both are things that will help matt -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 21, 2001 10:54 AM To: Matthew Thompson Cc: activeperl Subject: deleting hash values Matthew Thompson writes: > Hi, &g

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\.(.*)/) {

running a perl script on a server from another script

2001-02-16 Thread Matthew Thompson
Hi, I would like to run a perl script on a web server from within another script and get a returned value (success or fail). The purpose of this is to update a web page - with the IP address the the request came from and some other info though the GET method. Does anyone know a good way of doing

RE: Download Location of Personal Web Server

2001-01-22 Thread Matthew Thompson
It's in the add-in folder on your cd. Matt -Original Message- From: F. Verbaas [mailto:[EMAIL PROTECTED]] Sent: Saturday, January 20, 2001 12:23 PM To: [EMAIL PROTECTED] Subject: Download Location of Personal Web Server Hi all, I need to re-install PWS on my Win95 system. A search on

RE: Help with Win2k

2000-12-18 Thread Matthew Thompson
>> Also, the sh-bang (#!) syntax is meaningless on win2k. Not quite meaningless you can add paramaters to it like #!perl -w and it will always be run in warning mode. I think it has other potentially handy uses but not sure. >Actually, my BSDI scripts will not run (on Win2k, Apache, & ActiveS

RE: PERL and Files

2000-12-03 Thread Matthew Thompson
PROTECTED]] Sent: Friday, December 01, 2000 11:15 AM To: Matthew Thompson Cc: [EMAIL PROTECTED] Subject: RE: PERL and Files Matt, I am trying to read from the $Filepath file not write to it. > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]] > Sen

searching for a @ (newbie)

2000-11-15 Thread Matthew Thompson
Hi, I'm writing a script that reads a .reg file and creates a file with the Installshield functions needed to write the registry entries from the .reg file. I have come across a problem looking for the @ sign. If I use ($_ = ~/\@=".*"/) or ($_ = ~/@=".*"/) - in an if statement it picks up every l