Re: Extracting Common Dates

2002-10-20 Thread Carl Jolley
On Sun, 20 Oct 2002, steve silvers wrote: > In a nutshell I have a text file with dates in it (01 - 31) that are pipe > delimited. In one month I might have. > > 01|05|10|14|22|30 > > the next month I might have > > 01|10|22|28|31 > > The lowest number is obviously 01, and can reach 31. > > I need

Help with Log in

2002-10-20 Thread Issa Mbodji
Hello: This what I trying to do: 1. Display and HTML page with 2 fields: username and password 2.The user will have to log in using his username and password that I stored in my Access database. 3.I am using the following code to search the database for password matching the username: my $user = pa

Net::SMTP -> return e-mail on spam list - how to avoid?

2002-10-20 Thread David Jourard
Hi, I've created a small perl app which is running on a Windows 2000 server for a client. I programmed Net::STMP for sending e-mail. One of the e-mails was returned with the following: (note i changed the real ip and domain name.) IP.ADD.RE.SS does not like recipient. Remote host said: 591 yo

Extracting Common Dates

2002-10-20 Thread steve silvers
In a nutshell I have a text file with dates in it (01 - 31) that are pipe delimited. In one month I might have. 01|05|10|14|22|30 the next month I might have 01|10|22|28|31 The lowest number is obviously 01, and can reach 31. I need to read in the text file, which is done but I need to know w

Re: Zip compression for Windows vs. Unix?

2002-10-20 Thread Carl Jolley
On Sun, 20 Oct 2002, Paul Flint wrote: > > 1) How do I compress files (into a zip file) with Perl on a Windows > machine? > 2) Is this different than doing it on a Unix machine? > 3) If so, can I zip on a Unix machine so that it will open on a Windows > machine? > There are versions of zip (e.g.

Building an iso image from a cd

2002-10-20 Thread Burak Gursoy
I searched the list and found an answer, but its about using cygwin... Is there such a module or script written in perl without any system calls about this subject? ___ Perl-Win32-Users mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.Acti

RE: silly question about "my" ?

2002-10-20 Thread Carl Jolley
On Fri, 18 Oct 2002, Tony White wrote: > Excellent - and thanks to C. Church, too, who also essentially gave the same > answer. I though this was the difference, but examples of where it would > matter just weren't springing to mind. > > So, woudn't you say then, that it's kind of bad form to wri

Re: Spreadsheet::ParseExcel and undefined value

2002-10-20 Thread Carl Jolley
On Fri, 11 Oct 2002, martin bower wrote: > Hi , > > Can anyone point out any obvious problem with this code pls ? It's supposed > to go through 10 rows of each worksheet, and dump column 5's > contentsWhen I run it, I get the following error. > > Can't call method "Value" on an undefined val

Re: How to Calculate FileAge?

2002-10-20 Thread Carl Jolley
On Mon, 30 Sep 2002, Khan, Moin wrote: > Hi, > I am trying to check the file age, how old is file, and on that result have > to process some function, for example if the particular file is 7days old > then delete it, any help is appreciated. > Seven days old relative to what? If the "what" is the

RE: Extracting Common Dates

2002-10-20 Thread Peter Guzis
Try this: use strict; my (%num_map, $max, @pair); while (my $line = ) { chomp ($line); my @days = split /\|/, $line; foreach my $day (@days) { map { $num_map{$day}{$_}++ } grep $_ ne $day, @days; } } while (my ($num, $href) = each %num_map) {

RE: CGI on iis5 question

2002-10-20 Thread Carl Jolley
On Fri, 18 Oct 2002, Stovall, Adrian M. wrote: > Why don't you try changing the die statement to a print statement...that > way you'll see the error in the browser... > > open(inf,"tester.pl") or print "Error: $!\n"; > > -Original Message- > From: Sisyphus [mailto:kalinabears@;hdc.com.au]

RE: How can I avoid the Undefined reference in a hash value error

2002-10-20 Thread Peter Guzis
Since you are making two OLE calls every time you use $Document->GetFirstItem('From')->{Text}, a more efficient version might be: if (defined (my $From = $Document->GetFirstItem('From')->{Text})) { # do something with $From } else { print "Nothing in the Inbox. No need to go any farther!

Re: How can I avoid the Undefined reference in a hash value error

2002-10-20 Thread James E Keenan
On Fri, 18 Oct 2002 17:01:51 -0400, "Chris Benco" <[EMAIL PROTECTED]> wrote with regard to: How can I avoid the Undefined reference in a hash value error: > > Script seems to work well. I can send it blank fields and it recovers > every time. Problem is when I leave it running it crashes with t

Re: Catching what is travelling from and to your browser

2002-10-20 Thread csaba . raduly
On 19/10/2002 09:35:23 perl-win32-users-admin wrote: >Greetings to all, > >I would like to write a simple Perl script (for Win32) able to catch >what my browser is sending and receiving (especially the headers) during >a particular http transaction. It sounds to me that what you want is a HTML p

Zip compression for Windows vs. Unix?

2002-10-20 Thread Paul Flint
1) How do I compress files (into a zip file) with Perl on a Windows machine? 2) Is this different than doing it on a Unix machine? 3) If so, can I zip on a Unix machine so that it will open on a Windows machine? Thanks. Paul Flint Japanese to English Translation Kawasaki Japan ___