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
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
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
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
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]
--- [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
> -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
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
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:
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 =
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
- 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
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
___
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
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
> 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
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
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
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
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
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
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
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
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
24 matches
Mail list logo