Win32::OLE Microsoft Excel

2003-08-20 Thread Pete Roberts
I thought I had this cracked.. but no. Does anyone have any idea at all at all why assigning array values to: $Chart->SeriesCollection(id)->XValues = [EMAIL PROTECTED] $Chart->SeriesCollection(id)->Values = [EMAIL PROTECTED] sometimes works and sometimes doesn't ? A workaround is to put

RE: Help with snippet

2003-08-20 Thread Peter Eisengrein
Title: RE: Help with snippet this, of course, assumes your values in $numbers are all unique.   Pete   P.S. I forgot remove the $nums++; line below. -Original Message-From: Peter Eisengrein [mailto:[EMAIL PROTECTED]Sent: Wednesday, August 20, 2003 12:35 PMTo: 'steve silvers';

RE: Help with snippet

2003-08-20 Thread Peter Eisengrein
Title: RE: Help with snippet I am not sure why but $count was always = 1.  Nevertheless, a few thoughts. If I understand correctly, you want to print a list of numbers from 1..80 ($key) and if it matches a number in the given list, then you want to print $key and the matched num. If that's

Re: Help with snippet

2003-08-20 Thread $Bill Luebkert
steve silvers wrote: > This should be easier than this. The script below works, except where it > matches with a number it has a duplicate? > > #!Perl > > $count = 0; > $nums = 0; > $numbers = > "04|09|15|16|21|23|25|29|38|40|41|42|54|55|56|62|64|65|67|68|73|80"; > > @all = split(/\|/,

Re: Help with snippet

2003-08-20 Thread Erik Shön
Its because after a match ($key eq $get), the $count is still = 1, so on the next number it hits the else clause and prints $key. You should add this if($key eq $get) { print "$key - $get \n";

NEED DEVICE : ftp disconnect

2003-08-20 Thread agharmine youssef
-Message d'origine- De : agharmine youssef Envoyé : mercredi 20 août 2003 09:45 À : '[EMAIL PROTECTED]' Objet : TR: ftp disconnect ? -Message d'origine- De : agharmine youssef Envoyé : mercredi 20 août 2003 09:04 À : 'Stephen Patterson'; [EMAIL PROTECTED] Objet : RE: ftp dis

Need advice on obtaining MAC addresses...

2003-08-20 Thread Todd Morrison
Hello, Is there a way to capture a user's MAC address when a user visits a web page? Can this info be captured through the use of $ENV{'HTTP_USER_AGENT'} or perhaps a Net module? Any help/suggestions would be greatly appreciated. I am still a bit of a Perl greenhorn, so go easy on me! ;) Than

reg exp seems to fail on stripping http headers under perl 806

2003-08-20 Thread john z
hi: when i bring in a gif or jp file from http with a get, the headers come along with the file. ive been trying to strip them and noticed that the reg exp seems to fail under perl 806. the following should (imho) work but dont. $got_gif=~s[^http(.*?)\n\n][]i; or $got_gif=~s[^http.*?\n\n][]i; th

Re: DBD::Pg

2003-08-20 Thread Trevor Joerges [SendMIME Software]
http://search.cpan.org/search?query=DBD-PG&mode=module Hope this helps. Trevor Joerges SendMIME Software www.sendmime.com - Original Message - From: "Ivan Wills" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, August 19, 2003 10:54 PM Subject: DBD::Pg > Hi > Does any one kn

Help with snippet

2003-08-20 Thread steve silvers
This should be easier than this. The script below works, except where it matches with a number it has a duplicate? #!Perl $count = 0; $nums = 0; $numbers = "04|09|15|16|21|23|25|29|38|40|41|42|54|55|56|62|64|65|67|68|73|80"; @all = split(/\|/,$numbers); foreach my $key (1..80){

Re: Slow file reading...

2003-08-20 Thread Ulf Lowig
The row $whole_file = ; student bee there, its an cut and paste error. It's not in the original code. I did a run now and it takes 237 seconds. /Ulf At 13:13 2003-08-20, Carl Jolley wrote: On Wed, 20 Aug 2003, Ulf Lowig wrote: > Hi, thanks fore the answers from all of you. > > One question th

Re: Slow file reading...

2003-08-20 Thread Carl Jolley
On Wed, 20 Aug 2003, Ulf Lowig wrote: > Hi, thanks fore the answers from all of you. > > One question that frequent comes back to me is why I am reading it to a > memory. The answer is, I am not going to read it into memory, I plan to > open a file handle and insert the hole file into as MS SQL se

Re: Slow file reading...

2003-08-20 Thread Ulf Lowig
Hi, thanks fore the answers from all of you. One question that frequent comes back to me is why I am reading it to a memory. The answer is, I am not going to read it into memory, I plan to open a file handle and insert the hole file into as MS SQL server 2000. When I run insert to SQL server th

RE: Slow file reading...

2003-08-20 Thread Carl Jolley
On Wed, 20 Aug 2003 [EMAIL PROTECTED] wrote: > > freed and available segment of memory that was used. My WAG is that if > > you changed the order of the different ways of reading the whole file, > > the first read will take longer than the others. > > Exactly. > Anyway the time is the order of a f