Re: Comparing dates

2000-12-14 Thread Alloun, Jonathan
Hello, Is there a module out there that will compare two dates?? For example: (date format is dd mm ) I have one date in a file: 10 12 2000 and another passed into the script which I have formatted as 11 12 2000 I need to check that the date in the file is less than the one passed into t

Re: Comparing dates

2000-12-14 Thread Philip Newton
Alloun, Jonathan wrote: > Is there a module out there that will compare two dates?? Probably. There's tons of Date modules out there. Maybe Date::Calc or Date::Manip. > For example: (date format is dd mm ) > > I have one date in a file: 10 12 2000 > > and another passed into the script whi

IP Address

2000-12-14 Thread Sisyphus
Hi, I'm seeking a perl script that I can run on my PC (Windows 98) that will return my IP address. My best, so far, would be to try and extract it from the output of netstat -r. I don't even want to try that - there has to be somethin' better. Cheers, Rob Visit our website at http://www.kalinabea

RE: Calling a PERL script within a PERL script

2000-12-14 Thread Alloun, Jonathan
Hello, I need to call a PERL script from within a PERL script. What is the best way to do this??? The script I will call will need to be passed some parameters as well. Thanks in advance, Jonathan ** This email and any files

RE: Getting date from a file and writing data to a file . . .

2000-12-14 Thread SCOTT_SISSON
You can use the regex that was already suggested or use the unpack statement if the file format will not change. I am not sure which is more efficient (I think unpack is) or if you even care about efficiency. H23234 2000.12.11 00.15.00 10.254.345.345 $TMPLT = "A6 A1 A4 A1 A2 A1 A2 A1 A2 A1 A2

Re: Calling a PERL script within a PERL script

2000-12-14 Thread Philip Newton
Jonathan, why do you seem to send all you messages with "Importance: high" and "X-Priority: 1"? Do you think you're special or all your messages are more urgent than other people's? Crying "wolf" like this gets old after a while. Alloun, Jonathan wrote: > I need to call a PERL script from within