Re: Baffling error, or maybe I'm just blind

2002-03-08 Thread Jan Dubois
On Fri, 08 Mar 2002 21:37:46 -0600, Cameron Dorey <[EMAIL PROTECTED]> wrote: >John Draper wrote: >> >> Cameron, >> >> I'm not sure if this is the problem, but, shouldn't the: >> $id[q] >> of this line: if ($id[$q_index] == $id[q]) { >> read: >> $id[$q] instead? >> >> John > > >Uh, yes it s

Re: Baffling error, or maybe I'm just blind

2002-03-08 Thread Ken Bandes
Okay, the reason for the strange error message is that there are quote operators, one of which is q. For example, 'abc' is equivalent to q(abc) and "abc" is equivalent to qq(abc) But you don't need to use () - you can use any paired delimiters. Perl things you meant q] to be the start of a singl

Re: Baffling error, or maybe I'm just blind

2002-03-08 Thread Cameron Dorey
John Draper wrote: > > Cameron, > > I'm not sure if this is the problem, but, shouldn't the: > $id[q] > of this line: if ($id[$q_index] == $id[q]) { > read: > $id[$q] instead? > > John Uh, yes it should. This is part of a much larger script and in trimming, and trimming, and trimming to f

Re: Baffling error, or maybe I'm just blind

2002-03-08 Thread John Draper
Cameron, I'm not sure if this is the problem, but, shouldn't the: $id[q] of this line: if ($id[$q_index] == $id[q]) { read: $id[$q] instead? John - Original Message - From: "Cameron Dorey" <[EMAIL PROTECTED]> To: "Perl-Win32-Users Mailing List" <[EMAIL PROTECTED]> Sent: Friday, Marc

Baffling error, or maybe I'm just blind

2002-03-08 Thread Cameron Dorey
This has to be something basic, and I'm just too brain dead today to find the answer. For the SIMPLE program below (cut-and-pasted EXACTLY as is) --- #!/usr/bin/perl -w # untitled1.pl use strict; my ($q, $q_index); my @id; $q = 1; $q_index = 0; if ($id[$q_index]

RE: Excel SaveAs

2002-03-08 Thread Jeffrey
--- [EMAIL PROTECTED] wrote: > Don't know if this is the cause of your problem or > not, but FileFormat is a > constant, not a string. That was the problem. Doh. Getting late on Friday evening for me to be making mistakes like that... Thanks. = Jeffrey

RE: Excel SaveAs

2002-03-08 Thread Ian . Stewart
> -Original Message- > From: Jeffrey [mailto:[EMAIL PROTECTED]] > Sent: Friday, March 08, 2002 5:38 PM > To: Perl win32 > Subject: Excel SaveAs > > > I'm having some difficulties with my SaveAs. > > I've opened the Excel file successfully (I know > because 1: I checked the status of t

Excel SaveAs

2002-03-08 Thread Jeffrey
I'm having some difficulties with my SaveAs. I've opened the Excel file successfully (I know because 1: I checked the status of the open command, and 2: I can read from the file). I want to save it as a CSV file. I currently have: $workbook->SaveAs( {Filename => "C:\\Download\\test.csv", FileFo

RE: Commands in Parallel

2002-03-08 Thread Fauzi Ashurex
Mansour, On Linux I use "use Parallel::ForkManager" It works well for me! let me know if you need me send you an example of how to use it. Good luck. -Fauzi -Original Message- From: Mansour, Eli (GMI Desktop Engineering) [mailto:[EMAIL PROTECTED]] Sent: Friday, March 08, 2002 11:07 AM To:

RE: :Ftp module use ...

2002-03-08 Thread Alistair . McGlinchy
Lawrence, Does "can't seem to set" mean: it returns false? if returns true but the file comes down in ASCII? it crashes the programe? Net::FTP's working just fine for me in binary and ASCII mode on NT4 and 2000. use Net::FTP; my $ip="x.x.x.x"; my $file="qt.exe"; $ftp =

Re: Win32::Button ?

2002-03-08 Thread Glenn Linderman
Joseph Youngquist wrote: > > Hello all, I got a question about changing the -bitmap=> on a button...well > it even applies to a Label to. I haven't done buttons, but I have done labels... > ...Ahh an event has taken place and we must change the image on the > button!... > > $Bu

Re: CD Writing

2002-03-08 Thread C. Church
- Original Message - From: "Carl Jolley" <[EMAIL PROTECTED]> > What do you want the driver to do? If the drive is writable you should > be able to open an output file and use print to write to it. I'd be > willing to bet that if you have a writable CD on a PC the driver > was installed w

Re: killing fork'd processes in win32

2002-03-08 Thread Barrie Slaymaker
On Wed, Mar 06, 2002 at 10:41:28AM -0800, Patrick McCormick wrote: > I'm looking for a solution that uses fork() so I can write > one package for UNIX and Win32 to spawn processes with a minimal amount of > platform-specific code. see IPC::Run - Barrie ___

Win32::Button ?

2002-03-08 Thread Joseph Youngquist
Hello all, I got a question about changing the -bitmap=> on a button...well it even applies to a Label to. my $Button = new Win32::GUI::Button( -name => "Preview", -top => x, -left => y, -heig

CGI Error

2002-03-08 Thread Howard Sartori
I get this error message: CGI Error The specified CGI application misbehaved by not returning a complete set of HTTP headers. The headers it did return are: unable to init: No such file or directory One file is the count.pl file which also uses a SM.pm file. Any ideas or help? It worked on the

RE: CD writing?

2002-03-08 Thread Tillman, James
> Is there a Perl accessable driver for writing to CD-Rs? (or even > re-writeables)? > > I couldn't find anything on cpan. If you're looking to write to CDRs, then I'd recommend driving cdrecord and mkisofs using system calls and pipes. i don't know of any modules for Perl itself to do that. j

Commands in Parallel

2002-03-08 Thread Mansour, Eli (GMI Desktop Engineering)
I am running rsync via cygwin on NT 2000. Is there anyway to run commands in Parallel with Perl ? Eli ___ Perl-Win32-Users mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Net::Ftp module use ...

2002-03-08 Thread Lawrence Lordanich (x11486)
Cant seem to set $ftp->binary() on W2K box. Is there some magic here? Thanks, Lawrence. --- Lawrence LordanichTel:+1 858-651-1486 Qualcomm Inc. (AI-103G)Fax: +1 858-845-5065 5775 Morehouse DriveEmail: [EMAI

Re: CD writing?

2002-03-08 Thread Carl Jolley
On Fri, 8 Mar 2002, Marcus wrote: > Is there a Perl accessable driver for writing to CD-Rs? (or even > re-writeables)? > > I couldn't find anything on cpan. > It's right beside the drivers on CPAN that you have to install so that perl can write to your printer, harddrive and floppy disk. What d

Re: Where to begin?

2002-03-08 Thread Carl Jolley
On Fri, 8 Mar 2002, Malcolm Debono wrote: > Martin > > I can see you are good at this. I will spend some time looking at it. > > Thank You & GOD BLESS > > Malcolm > - Original Message - > From: "Martin Moss" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Cc: <[EMAIL PROTECTED]> > Sent: F

CD writing?

2002-03-08 Thread Marcus
Is there a Perl accessable driver for writing to CD-Rs? (or even re-writeables)? I couldn't find anything on cpan. Thanks, Marcus ___ Perl-Win32-Users mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Status of s connected DUN...

2002-03-08 Thread Chris
Hi Listers... I have a need to try to detect the connection speed of a pre-dialed DUN. The Perl program will not actually do the dialing, I just need to have it check and see: How long it has been online What speed it is connected at This will be on any Win32 OSes. Win 95 Win

Re: Where to begin?

2002-03-08 Thread Malcolm Debono
Martin I can see you are good at this. I will spend some time looking at it. Thank You & GOD BLESS Malcolm - Original Message - From: "Martin Moss" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Friday, March 08, 2002 3:45 AM Subject: RE: Where to begin? > H

RE: Where to begin?

2002-03-08 Thread Peter Eisengrein
Malcolm, I agree with what Martin has already posted. The only other thing that I would add is the special variable $! to your open or die statement. If the open statement fails, this variable will tell you why. open (FORM,"list.dat") or die "Can't open file list.dat : $!\n"; One other thing