Re: Problem with Switch.pm

2013-01-17 Thread Christopher Taranto
On Thu, Jan 17, 2013 at 11:39 AM, $Bill Luebkert wrote: > On 1/17/2013 06:26, Rothenmaier, Deane wrote: > > Gurus, > > > > I’m having a problem getting Switch to work. I have a subroutine which > is just a large switch statement, and switch statements (including a nested > one) in the mainline cod

Re: Problem with Switch.pm

2013-01-17 Thread $Bill Luebkert
On 1/17/2013 06:26, Rothenmaier, Deane wrote: > Gurus, > > I’m having a problem getting Switch to work. I have a subroutine which is > just a large switch statement, and switch statements (including a nested one) > in the mainline code. As separate programs (with the subroutine broken out > into

Re: Problem with Net::Ping to DFS cluster

2012-04-27 Thread Justin Allegakoen
On 27 April 2012 17:47, Oeschey, Lars (I/ET-83, extern) wrote: > > > I would try one of Net::DNS::Resolver, gethostbyname, > > Net::hostent:gethost > > or ?? to convert the alias to an IP addr - kinda depends on where the > > alias gets resolved - who the heck knows the correlation between the > >

RE: Problem with Net::Ping to DFS cluster

2012-04-27 Thread Oeschey, Lars (I/ET-83, extern)
> I would try one of Net::DNS::Resolver, gethostbyname, > Net::hostent:gethost > or ?? to convert the alias to an IP addr - kinda depends on where the > alias gets resolved - who the heck knows the correlation between the > alias name and the IP addr and maybe that needs to be changed (eg: > propag

RE: Problem with Net::Ping to DFS cluster

2012-04-20 Thread Oeschey, Lars (I/ET-83, extern)
> I would try one of Net::DNS::Resolver, gethostbyname, > Net::hostent:gethost That's a good idea... the only thing I'm doing with that part of the script, trying to figure out if the machine (laptop) is in the network (those are a lot out in the field) and then copy some files to the target. So

Re: Problem with Net::Ping to DFS cluster

2012-04-20 Thread $Bill Luebkert
On 04/20/2012 05:34, Oeschey, Lars (I/ET-83, extern) wrote: > Hi, > > I have a little script, that first checks the availability of a DFS Cluster > here. The cluster has an alias name which is used to map drives etc., so I'm > using that alias to ping it for availability. > I can ping that alias

RE: Problem with Net::Ping to DFS cluster

2012-04-20 Thread Oeschey, Lars (I/ET-83, extern)
> I'll make a wild guess here: Is it possible that the alias is not in > DNS? Perhaps one machine you are testing from has WINS enabled and it > is resolving the cluster alias. > Microsoft's tcpip stack will use WINS for name resolution if it is > available. > Try modifying your script so that $pin

RE: Problem with Net::Ping to DFS cluster

2012-04-20 Thread Ken Cornetet
I'll make a wild guess here: Is it possible that the alias is not in DNS? Perhaps one machine you are testing from has WINS enabled and it is resolving the cluster alias. Microsoft's tcpip stack will use WINS for name resolution if it is available. Try modifying your script so that $pinghost i

Re: Problem with Win32::OLE

2012-02-22 Thread Francisco Zarabozo
Perl Mailing List Subject: Re: Problem with Win32::OLE > -Mensaje original- > From: Brian Raven > Sent: Wednesday, February 22, 2012 12:28 PM > To: Active State Perl Mailing List > Subject: RE: Problem with Win32::OLE > > > Did you look at Win32::Api? It might

Re: Problem with Win32::OLE

2012-02-22 Thread Francisco Zarabozo
> -Mensaje original- > From: Brian Raven > Sent: Wednesday, February 22, 2012 12:28 PM > To: Active State Perl Mailing List > Subject: RE: Problem with Win32::OLE > > > Did you look at Win32::Api? It might have been better way to go if you > just wanted to c

RE: Problem with Win32::OLE

2012-02-22 Thread Brian Raven
> -Original Message- > From: activeperl-boun...@listserv.activestate.com [mailto:activeperl- > boun...@listserv.activestate.com] On Behalf Of Francisco Zarabozo > Sent: 22 February 2012 18:21 > To: j...@activestate.com; Active State Perl Mailing List > Subject: Problem with Win32::OLE > > >

Re: Problem with DB_FIle and Perl 5.12

2011-08-25 Thread Eric Robertson
On 24 Aug 2011, at 18:15, Bill Luebkert wrote: > On 8/24/2011 9:08 AM, Eric Robertson wrote: >> I have a problem with DB_File and Perl 5.12. I posted a message on the ASPN >> message board but no one there has come back with an >> answer so I’m trying here. >> >> I have some Perl CGI scripts whi

Re: Problem with DB_FIle and Perl 5.12

2011-08-24 Thread Bill Luebkert
On 8/24/2011 9:08 AM, Eric Robertson wrote: > I have a problem with DB_File and Perl 5.12. I posted a message on the ASPN > message board but no one there has come back with an > answer so I’m trying here. > > I have some Perl CGI scripts which were developed some time ago using > ActivePerl 5.8.

RE: Problem Connecting to MySQL Database

2010-09-29 Thread Eric Robertson
t success. I have a feeling > > that I read somewhere that there was a problem using Perl to connect > > to a database set up under MAMP but can't recall what the problem was. > > > > Can anyone suggest why this is not working. > > -Original Message- > Fr

RE: Problem Connecting to MySQL Database

2010-09-29 Thread Eric Robertson
PP:host=localhost:database=$database"; >From: Angelos Karageorgiou [mailto:ange...@unix.gr] >Sent: 28 September 2010 06:48 >To: Eric Robertson >Cc: activeperl@listserv.ActiveState.com >Subject: Re: Problem Connecting to MySQL Database > >First things first: >a)

RE: Problem Connecting to MySQL Database

2010-09-29 Thread Eric Robertson
> -Original Message- > From: Jeff Saxton [mailto:jeff_sax...@bigfix.com] > Sent: 28 September 2010 00:46 > To: Eric Robertson; 'Bill Luebkert' > Cc: activeperl@listserv.ActiveState.com > Subject: RE: Problem Connecting to MySQL Database > > Mac i

Re: Problem Connecting to MySQL Database

2010-09-27 Thread Angelos Karageorgiou
First things first: a)locate mysql's configuration file my.cnf normally under /etc , make sure that the lineskip_networking does not appear in it ! b)comment it out if it's in the file. c) Restart mysql d)telnet to port 3306 manually and see if the server answers the connection. if all of the abo

RE: Problem Connecting to MySQL Database

2010-09-27 Thread Jeff Saxton
bkert' Cc: activeperl@listserv.ActiveState.com Subject: RE: Problem Connecting to MySQL Database > -Original Message- > From: Bill Luebkert [mailto:dbec...@roadrunner.com] > Sent: 27 September 2010 21:54 > To: Eric Robertson > Subject: Re: Problem Connecting to MySQL Datab

RE: Problem Connecting to MySQL Database

2010-09-27 Thread Eric Robertson
> -Original Message- > From: Bill Luebkert [mailto:dbec...@roadrunner.com] > Sent: 27 September 2010 21:54 > To: Eric Robertson > Subject: Re: Problem Connecting to MySQL Database > > On 9/26/2010 1:06 PM, Eric Robertson wrote: > > I'm using a MacBo

RE: Problem Connecting to MySQL Database

2010-09-27 Thread Eric Robertson
_ From: Eric Robertson [mailto:eric...@blueyonder.co.uk] Sent: September 27, 2010 2:33 PM To: 'Tim Bolshaw' Cc: activeperl@listserv.ActiveState.com Subject: RE: Problem Connecting to MySQL Database On Mon, Sep 27, 2010 at 3:06 AM, Eric Robertson wrote: I'm usin

RE: Problem Connecting to MySQL Database

2010-09-27 Thread Eric Robertson
was a problem using Perl to connect to a database set up under MAMP but can't recall what the problem was. Can anyone suggest why this is not working. Eric Robertson _ From: Tim Bolshaw [mailto:timothybols...@gmail.com] Sent: 27 September 2010 16:02 To: Eric Robertson Subjec

RE: Problem with Win32::FileOp->Disconnect

2009-06-18 Thread Oeschey, Lars (I/ET-83, extern)
> Try to disconnect the drive letter, not the share. I think if you > specify the share, it breaks the connection (the server will no > longer see this computer among the connected ones, no files will be > open etc.), but doesn't remove the drive letter mapping. I'm trying to catch both possib

Re: Problem with Win32::FileOp->Disconnect

2009-06-18 Thread Jenda Krynicky
From: "Oeschey, Lars (I/ET-83, extern)" > I'm writing a simple network copy script, but fail at disconnecting an > already connected drive. I got this so far: > > snip > use strict; > use warnings; > use Win32::FileOp; > > my $user="xx"; > my $password="xx

RE: Problem with Win32::FileOp->Disconnect

2009-06-18 Thread Ramkumar
Hi, We can also use dos command "net use" using system method to achieve your below request. Regards, Ramkumar, -Original Message- From: activeperl-boun...@listserv.activestate.com [mailto:activeperl-boun...@listserv.activestate.com] On Behalf Of Oeschey, Lars (I/ET-83, extern) Sent: Thu

Re: problem changing directory in ftp

2008-11-05 Thread Bill Luebkert
zilore mumba wrote: > Assistance sought. Below i have a programme which copies files by ftp. > The programme works. Here's what it does > .1 in the foreach $model (@models) loop it goes thru" one of three > models. In model1 it copies from one directory to the local directory > ="/home/Mumba/ARC

Re: problem parsing with XML::DOM

2008-07-10 Thread Jenda Krynicky
From: "Avraham Shapiro" <[EMAIL PROTECTED]> > I'm crossposting this to Perl and XML listservs since it involves XML parsing > from within Perl. > > I'm having trouble parsing a simple bit of XML with XML::XQL::DOM. Why would anyone want to use DOM to work with XML? I doubt there is any more wo

Re: Problem installing ActivePerl-5.8.8.822-MSWin32-x86-280952.msi

2007-12-19 Thread Richard Kandarian
Problem fixed. Somehow Config.pm was marked read-only. I Removed it (and a Config.pm~) and repeated the install and it was successful. (I had un-installed my previous version...) I discovered the solution by running Install.bat in the .zip version of the package. Sorry about the noise. >Date:

RE: problem....

2007-12-14 Thread Brian Raven
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Rajeev Prasad Sent: 14 December 2007 03:40 To: activeperl@listserv.activestate.com Subject: problem > Hello, > > i am sorry to put this 'expect' issue here on perl list. But i searched the internet for so long and expect > manual

RE: Problem connecting to orcl with Perl DBD:Oracle

2007-08-15 Thread John Costello
On Mon, 13 Aug 2007, Brian Raven wrote: > > Sandeep wrote; > > Hi all, > > I'm new to perl and oracle. > > [snip] > > The output I got is: > > Oracle login failed > > ORA-01017: invalid username/password; logon denied > > The system cannot find the path specified. > > The system cannot find the p

RE: Problem connecting to orcl with Perl DBD:Oracle

2007-08-13 Thread Brian Raven
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Sandeep Mudigonda Sent: 13 August 2007 15:59 To: activeperl@listserv.ActiveState.com Subject: Problem connecting to orcl with Perl DBD:Oracle > Hi all, > I'm new to perl and oracle. > I have Oracle 10g R2 installed (not XE) on Win XP.

Re: Problem with PPM

2007-05-13 Thread Octavian Rasnita
Probably some of the installed applications re-assigned the .pl extension to be ran by another program than perl. (A text editor for example). I have also noticed that ruby installer sets some environment variables that affect the way some perl program works, and I also had an issue with cpan t

RE: Problem mixing Perl/Tk and Win32 dialog boxes

2006-09-13 Thread John Day
| > | > | To: > | > | cc: > | > | Subject: RE: Problem mixing Perl/Tk and Win32 dialog > boxes| > > > >---

RE: Problem mixing Perl/Tk and Win32 dialog boxes

2006-09-13 Thread Torsten . Werner
| | To: | | cc: | | Subject: RE: Problem mixing

RE: Problem mixing Perl/Tk and Win32 dialog boxes

2006-09-13 Thread Brian Raven
[EMAIL PROTECTED] <> wrote: > Hi all, > I've a small problem when I use Win32 dialog boxes like > Win32::FileOP::OpenDialog or Win32::MsgBox in Perl/Tk applications. > When the Win32 dialog appears, the Perl/Tk Windows are not refreshed. > I think the main loop is interrupted during the Win32 funct

RE: problem with new() method of ithreads.

2006-06-23 Thread Brian Raven
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of ukhas jean Sent: 22 June 2006 17:05 To: active perl Subject: problem with new() method of ithreads. > Hello All, > > Well the query i am about to ask may seem amatuerish, but i am asking it newayz... > hope u gurus might not mind me

Re: problem with new() method of ithreads.

2006-06-22 Thread Foo JH
Hello Ukhas, When you create a thread, your main thread continues, so effectively you have 2 threads running. The problem once your main thread creates a new thread, it reaches the end of the application code, so it terminates. When it terminates, all other threads are killed as well. That's wh

Re: problem with new() method of ithreads.

2006-06-22 Thread $Bill Luebkert
ukhas jean wrote: > Hello All, > > Well the query i am about to ask may seem amatuerish, but i am asking it > newayz... > hope u gurus might not mind me asking such a thing > > I had the following code :- > use threads; > $thr = threads->new(\&sub1); Try it with : sleep 1; to give th

RE: Problem with the path separator and $0

2006-05-16 Thread Brian Raven
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: 16 May 2006 11:47 To: activeperl@listserv.ActiveState.com Subject: Problem with the path separator and $0 > I have the same script in 2 different servers: > > 1. Win2003 + Apache 2 > 2. Win2003 + IIS > > t

RE: Problem with range operator

2006-03-17 Thread Brian Raven
Craig Cardimon <> wrote: > I need to read a large text file line by line until a certain tag is > found, say . This tag will exist on a line by itself. Then I > need read in all subsequent lines, appending them to each other, > until the ending tag is found, again on a line by itself. > > My l

Re: Problem with range operator

2006-03-16 Thread $Bill Luebkert
Lynn. Rickards wrote: > Craig Cardimon wrote: > >>I need to read a large text file line by line until a certain tag is >>found, say . This tag will exist on a line by itself. Then I need >>read in all subsequent lines, appending them to each other, until the >>ending tag is found, again on a li

Re: Problem with range operator

2006-03-16 Thread Lynn. Rickards
Craig Cardimon wrote: I need to read a large text file line by line until a certain tag is found, say . This tag will exist on a line by itself. Then I need read in all subsequent lines, appending them to each other, until the ending tag is found, again on a line by itself. My logic, if you c

RE: Problem with range operator

2006-03-16 Thread Bowie Bailey
Craig Cardimon wrote: > I need to read a large text file line by line until a certain tag is > found, say . This tag will exist on a line by itself. Then I need > read in all subsequent lines, appending them to each other, until the > ending tag is found, again on a line by itself. > > My logic,

Re: Problem with Inline::Java and ActiveState perlapp

2006-03-14 Thread Foo Ji-Haw
[EMAIL PROTECTED] wrote: My program runs fine when running it as source with ActivePerl 5.8.4, but when I create a binary with the ActiveState 6.x PDK and then try to run the application I get an error that indicates that Inline.pm can't be found. But inline.pm has been included in the binar

Re: Problem with Inline::Java and ActiveState perlapp

2006-03-14 Thread Kevin J. Woolley
[EMAIL PROTECTED] wrote: > My program runs fine when running it as source with ActivePerl 5.8.4, > but when I create a binary with the ActiveState 6.x PDK and then try to > run the application I get an error that indicates that Inline.pm can't > be found. But inline.pm has been included in the bi

RE: problem handling MIME::LITE error

2006-01-05 Thread Bullock, Howard A.
i trying to secure my script for sending mail. I'm sending mail to a bogus server, so it fails on purpose. MIME::Lite->send('smtp', 'mail_host', Timeout=>60); $msg->send; what I want is: if $msg->send; fails, I want the script to wait an hour and then send a msg to the administrator. but when

RE: Problem reading output from an executable.

2005-07-31 Thread Lynn. Rickards
> -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Behalf Of Andy > Smelt > Sent: Sunday, July 31, 2005 4:25 PM > To: activeperl@listserv.ActiveState.com > Subject: Problem reading output from an executable. > > > Help! > > I'm trying to automate (on Wondows Ser

RE: Problem

2005-05-04 Thread Brian Raven
Wayne Simmons wrote: > First off ALWAYS "use strict;" it's just a waste not to. Sound advice. Also, "use warnings;" as well. > > At your assignment: "$number = ;" I assume you put in a value here by > hand, (hard coded). You should have shown an example of this. If > you just type > "$number = 0

RE: Problem

2005-05-02 Thread Wayne Simmons
First off ALWAYS "use strict;" it's just a waste not to. At your assignment: "$number = ;" I assume you put in a value here by hand, (hard coded). You should have shown an example of this. If you just type "$number = 01010001" then perl will take it as a hexadecimal number and thus the 16. Basic

Re: Problem

2005-05-02 Thread Lloyd Sartor
[EMAIL PROTECTED] wrote on 05/01/2005 10:50:38 AM: > May anyone tell me if this program is wrong or if there is a > implementation problem in perl 5.8.6, 5.8.5, 5.8.2 > I will show the perl version and a c++ version. The c++ version > worked. I will also show the version of the perl version that >

Re: Problem

2005-05-02 Thread Lloyd Sartor
[EMAIL PROTECTED] wrote on 05/01/2005 10:50:38 AM: > May anyone tell me if this program is wrong or if there is a > implementation problem in perl 5.8.6, 5.8.5, 5.8.2 > I will show the perl version and a c++ version. The c++ version > worked. I will also show the version of the perl version that >

RE: Problem in running macro on the right excel sheet.

2004-11-19 Thread Stephens, Donald
You can use the ".Activate" or ".Select" methods of the worksheet object to focus the sheet you want. I don't think in your case it matters which one to use but here are some rules you can follow:   1) Activate: to select an object, particularly a single cell. 2) Select: to select an object

Re: Problem with unlink and "/" pathname separator on Windows XP

2004-11-18 Thread $Bill Luebkert
colin_e wrote: > $Bill Luebkert wrote: > >> >> >>That's because you didn't close $command before trying to delete >>the temp files. DIR still has them open for write and unlike >>UNIX, Doze can't delete files that are in use. >> >> >> > Thx Bill. (also thanks to Howard Tanner for a similar sug

RE: Problem in running macro on the right excel sheet.

2004-11-18 Thread Jarvis, John
I believe this is the code that will put the focus on sheet 2      my $sheet = $Book->Worksheets("Sheet2").Activate HTH -John -Original Message-From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]On Behalf Of [EMAIL PROTECTED]Sent: Thursday, November 18, 2004 9:15 AMTo: [EM

Re: Problem with unlink and "/" pathname separator on Windows XP

2004-11-18 Thread colin_e
$Bill Luebkert wrote: That's because you didn't close $command before trying to delete the temp files. DIR still has them open for write and unlike UNIX, Doze can't delete files that are in use. Thx Bill. (also thanks to Howard Tanner for a similar suggestion) I understand what you'r

RE: Re: Problem with unlink and "/" pathname separator on Windows XP

2004-11-18 Thread Howard Tanner
ent: Thursday, November 18, 2004 12:56 PM To: [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: Re: Re: Problem with unlink and "/" pathname separator on Windows XP "$Bill Luebkert" wrote- > I'm not comvinced. You're probably doing something else wrong

Re: Problem with unlink and "/" pathname separator on Windows XP

2004-11-18 Thread $Bill Luebkert
colin_e wrote: > "$Bill Luebkert" wrote- > > >>I'm not comvinced. You're probably doing something else wrong. > > > Petr Vileta wrote- > > >>Try: >>unlink("\"C:/DOCUME~1/colin/LOCALS~1/Temp/Test_Schedule_1.000_OUT_3780.txt\""); > > > > > You are right to be suspicious, but it's taken m

RE: Problem in running macro on the right excel sheet.

2004-11-18 Thread Brian Raven
[EMAIL PROTECTED] wrote: > Hi All, > > I'm trying to run a macro on an excel. > There are several sheets in the excel (sheet1, sheet2, sheet3,..etc.) > The excel is saved as its focus on sheet1. > I try to run macro on sheet 2. > So I write the code like this.. > > use strict; > use Win32::OLE qw

Re: Re: Problem with unlink and "/" pathname separator on Windows XP

2004-11-18 Thread colin_e
"$Bill Luebkert" wrote- I'm not comvinced. You're probably doing something else wrong. Petr Vileta wrote- Try: unlink("\"C:/DOCUME~1/colin/LOCALS~1/Temp/Test_Schedule_1.000_OUT_3780.txt\""); You are right to be suspicious, but it's taken me several hours of head-scratching to nail this down. It's

Re: Problem with unlink and "/" pathname separator in on Windows XP

2004-11-18 Thread $Bill Luebkert
Petr Vileta wrote: >>>Try: >>> > > unlink("\"C:/DOCUME~1/colin/LOCALS~1/Temp/Test_Schedule_1.000_OUT_3780.txt\" > >>>"); >> >>Shouldn't make any difference since there are no chars that need escaping. >> >>Try running this and post result : > > I'm not sure if Perl under Windows accept two dots

Re: Problem with unlink and "/" pathname separator in on Windows XP

2004-11-18 Thread Petr Vileta
> > Try: > > unlink("\"C:/DOCUME~1/colin/LOCALS~1/Temp/Test_Schedule_1.000_OUT_3780.txt\" > > "); > > Shouldn't make any difference since there are no chars that need escaping. > > Try running this and post result : I'm not sure if Perl under Windows accept two dots in filename in unlink() function

Re: Problem with unlink and "/" pathname separator in on Windows XP

2004-11-18 Thread $Bill Luebkert
Petr Vileta wrote: >>However I've hit a weird problem on ActiveState perl 5.8.3 on XP. If I >>put temp files in >>the default Windows personal temp directory, I end up with pathnames like- >> >>C:/DOCUME~1/colin/LOCALS~1/Temp/Test_Schedule_1.000_OUT_3780.txt >> >>Now I can create this path

Re: Problem with unlink and "/" pathname separator in on Windows XP

2004-11-18 Thread Petr Vileta
> However I've hit a weird problem on ActiveState perl 5.8.3 on XP. If I > put temp files in > the default Windows personal temp directory, I end up with pathnames like- > > C:/DOCUME~1/colin/LOCALS~1/Temp/Test_Schedule_1.000_OUT_3780.txt > > Now I can create this pathname quite happily wit

Re: Problem with unlink and "/" pathname separator in on Windows XP

2004-11-18 Thread $Bill Luebkert
colin_e wrote: > Perl: v5.8.3 MSWin32-x86-multi-thread > OS: Windows XP SP1 > > > Solaris is my production platform, but I mostly develop on my home PC > for convenience. > Perl's cross-platform compatibility is generally very good, but i've hit > an odd path problem- > > Although the Windows

RE: problem during accessing excel using OLE.

2004-11-04 Thread Brian Raven
Chandrasekaran Suresh wrote: > Hi All, > > Someone can tell me how to read a excel file when perl > is running on Unix. The Spreadsheet::* modules can do that (with some limitations). See: http://search.cpan.org/search?query=spreadsheet&mode=all 'ppm search spreadsheet' - yes ma

RE: problem during accessing excel using OLE.

2004-11-03 Thread Chandrasekaran Suresh
Tarun > > -Original Message- > From: Brian Raven [mailto:[EMAIL PROTECTED] > Sent: 03 November 2004 12:21 > To: Tarun,S,Sharma,XGE4C C; > [EMAIL PROTECTED]; > [EMAIL PROTECTED] > Subject: RE: problem during accessing excel using > OLE. > > [EMAIL PROTECTED] w

RE: problem during accessing excel using OLE.

2004-11-03 Thread sharma.tarun
plication. Now all my bugs are fixed. Thanks for your advice and support. Tarun -Original Message- From: Brian Raven [mailto:[EMAIL PROTECTED] Sent: 03 November 2004 12:21 To: Tarun,S,Sharma,XGE4C C; [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: RE: problem during accessing excel using O

RE: problem during accessing excel using OLE.

2004-11-03 Thread Brian Raven
[EMAIL PROTECTED] wrote: > Brian, > > When I call close on workbook rather than excel it prompts the message > to save the file. Which need human intervention. That I don't want as > I'm trying to automate the process. Can you tell me any property of > workbook or some way to just close the file w

RE: problem during accessing excel using OLE.

2004-11-03 Thread sharma.tarun
ED]; [EMAIL PROTECTED] Subject: RE: problem during accessing excel using OLE. [EMAIL PROTECTED] wrote: > > You're right Donald. > I open a file, run macro, save it as csv, quit excel, and then open > it again to process the new file. > So, how can I handle this situation. I

RE: problem during accessing excel using OLE.

2004-11-03 Thread Brian Raven
[EMAIL PROTECTED] wrote: > > You're right Donald. > I open a file, run macro, save it as csv, quit excel, and then open > it again to process the new file. > So, how can I handle this situation. I would have thought it better to call close on the workbook object rather than quit on the applicati

RE: problem during accessing excel using OLE.

2004-11-03 Thread sharma.tarun
To: Tarun,S,Sharma,XGE4C C; [EMAIL PROTECTED] Subject: RE: problem during accessing excel using OLE.   I'm assuming your code below is in some sort of look. After you quit Excel, are you re-creating Excel the next time you are ready to open a file? Because if you quit Excel and clean

RE: problem during accessing excel using OLE.

2004-11-02 Thread Stephens, Donald
I'm assuming your code below is in some sort of look. After you quit Excel, are you re-creating Excel the next time you are ready to open a file? Because if you quit Excel and clean it up, then on the next iteration of the loop you won't be able to get any property or methods of $Excel, w

Re: RE: Problem in Buffers

2004-05-13 Thread Gurpreet Sachdeva
>>You have not given a sample of your code, Here is a part of my code: [CODE STARTS] #!/usr/bin/perl open(FILE, "phone.txt") || die ("cannot open file phone.txt"); $line1=; while ($line1 ne "") { chop ($line1); @words1 = split(/ +/, $line1); chomp($words1[0]); chomp($words1[1]); c

RE: Problem in Buffers

2004-05-13 Thread Bharucha, Nikhil
You have not given a sample of your code, but if you are processing the files in-line, undef the variables after each file is processed so it can be reused by subsequent files. Otherwise Perl will keep requesting more and more memory and only release it when the entire process finishes. When t

Re: Problem with perlapp / loading Tk module

2004-04-22 Thread Hugh Loebner
Have you tried tying the listbox to an array and filling the array? my @lbarray ; tie @lbarray, "Tk::Listbox", $listbox_widget ; I use this and it works reasonably well. I use the same listbox to display to two arrays, say @a and @b by simply setting @lbarray to either as desired. if($desired

Re: Problem with REGEX

2003-11-13 Thread $Bill Luebkert
Gelin Patrick wrote: > Hi, > > It seems my REGEX expressions doesn't work with awstats. Is there a > modul to add in order to use REGEX? How can I test it's not aa > ActiveState install problem? A small (but complete) failing snippet is usually a good place to start. -- ,-/- __ _ _

Re: Problem with path containing spaces

2003-07-11 Thread $Bill Luebkert
Richard Thomas wrote: > Hi, > > I use the "use File::Glob ':glob'" method for windows paths with spaces in. > The variable that I pass into this function is read in from a configuration > file and can be "C:\Program Files" (directory name) and can also be > "logs\app.log" (specific filename). >

RE: Problem with path containing spaces

2003-07-11 Thread Richard Thomas
lob("$search"); Which would return a return a list of all the log files. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of [EMAIL PROTECTED] Sent: Thursday, January 23, 2003 8:44 AM To: [EMAIL PROTECTED] Subject: RE: Problem with path containing spa

Re: problem with loading a module

2003-02-27 Thread Administrador Intranet Internet
try: ppm install AdminMisc.ppd --location=http://www.roth.net/perl/packages/ if ok :) else try to download it and put the ppd file and the tar file in the same folder. then in the dos terminal cd my_dir_where_files_are ppm install AdminMisc.ppd thats what i haved done to install other modules

RE: Problem with Threads

2003-01-24 Thread Beau E. Cox
Hi - > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]]On Behalf Of Steve > Slaughter > Sent: Thursday, January 23, 2003 9:25 AM > To: [EMAIL PROTECTED] > Subject: Problem with Threads > > > I am setting up threads to process an array of files in each element of an

RE: Problem with path containing spaces

2003-01-23 Thread brianr
[EMAIL PROTECTED] writes: > > The doco for File::DosGlob says that spaces are used to delimit > > multiple patterns, and that in order to include patterns containing > > spaces you should escape them with double quotes or backslashes, e.g. > > Yeah, I've already guessed that that is the probl

RE: Problem with path containing spaces

2003-01-23 Thread extern . Lars . Oeschey
> The doco for File::DosGlob says that spaces are used to delimit > multiple patterns, and that in order to include patterns containing > spaces you should escape them with double quotes or backslashes, e.g. Yeah, I've already guessed that that is the problem, > @hexfiles=glob("\"$dir/*.hex\"");

RE: Problem with path containing spaces

2003-01-23 Thread brianr
[EMAIL PROTECTED] writes: > > I have a problem with the following code: > > > > sub FileSelect { > >my $types = [ > >['S19 Files', ['.s19']], > > ['All Files','*', ], > > ]; > > $filename = $leftframe->getOpenFile(

RE: Problem with path containing spaces

2003-01-23 Thread extern . Lars . Oeschey
> I have a problem with the following code: > > sub FileSelect { > my $types = [ > ['S19 Files', ['.s19']], > ['All Files','*', ], > ]; > $filename = $leftframe->getOpenFile(-filetypes=>$types); > ($name, $dir, $suffix) = file

RE: Problem with path containing spaces

2003-01-23 Thread extern . Lars . Oeschey
> I have a problem with the following code: > > sub FileSelect { > my $types = [ > ['S19 Files', ['.s19']], > ['All Files','*', ], > ]; > $filename = $leftframe->getOpenFile(-filetypes=>$types); > ($name, $dir, $suffix) = file

RE: Problem with perl and system calls [further testing]

2003-01-08 Thread Matthew Walkup
r idea for implementation, please let me know! :) Thanks, Matt > -Original Message- > From: Matthew Walkup [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, January 08, 2003 10:34 AM > To: Matthew Walkup > Cc: [EMAIL PROTECTED]; > [EMAIL PROTECTED] > Subject: RE: Pro

RE: Problem with perl and system calls

2003-01-08 Thread Matthew Walkup
Sorry for cross-posting, but Im unsure if this is a ActivePerl or general Win32 perl issue. Accourding to perldoc -q "how can i capture stderr": With system(), both STDOUT and STDERR will go the same place as the script's STDOUT and STDERR, unless the system() command

RE: Problem with getopt

2002-11-27 Thread King, Jason G
Balvinder writes.. >I have a perl script which excepts command line parameters. I am using >getopt function to get the parameters and even if I pass all the >required parameters, the script exits out on the below statement > >if (!getopt('U:D:S:F:M:Hh')) { > die "*** ERROR *** \n $USAGE \n\n"; >}

Re: Problem with PPM3 after install ActivePerl 632

2002-06-20 Thread Troy Topnik
Christian, Sorry nobody from ActiveState responded to this earlier. ppm3 is broken in ActivePerl 5.6.1.632 - you should use PPM or install ActivePerl 5.6.1.633 which was released today and contains a fixed ppm3. http://downloads.activestate.com/ActivePerl/Windows/5.6/ActivePerl-5.6.1.633-MSWi

Re: Problem with PPM3 after install ActivePerl 632

2002-06-06 Thread ??? \(Park, Jong-Pork\)
It maybe mean bad-compiled by pdk. - Original Message - From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, June 06, 2002 5:32 AM Subject: Problem with PPM3 after install ActivePerl 632 > Hello, > > after successfully installing ActivePerl 632 I wanted to use PPM3 as >

RE: Problem compiling C++ using XS

2002-05-17 Thread SANDOR . HADAS
: Robert Thorpe [mailto:[EMAIL PROTECTED]] Sent: Freitag, 17. Mai 2002 13:17 To: Hugh S. Myers; [EMAIL PROTECTED] Subject: RE: Problem compiling C++ using XS On 17 May 2002, at 4:24, Hugh S. Myers wrote: > >This may also be problematic because MS have different standard > >libraries

RE: Problem compiling C++ using XS

2002-05-17 Thread Robert Thorpe
On 17 May 2002, at 4:24, Hugh S. Myers wrote: > >This may also be problematic because MS have different standard > >libraries for C and C++. Perl is all C, I doubt it will compile with a > >C++ compiler. > > To the contrary, Visual C is the compiler used for ActiveState Perl... In the Makefi

RE: Problem compiling C++ using XS

2002-05-17 Thread SANDOR . HADAS
EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: RE: Problem compiling C++ using XS >This may also be problematic because MS have different standard >libraries for C and C++. Perl is all C, I doubt it will compile with a >C++ compiler. To the contrary, Visual C is the

RE: Problem compiling C++ using XS

2002-05-17 Thread Hugh S. Myers
>This may also be problematic because MS have different standard >libraries for C and C++. Perl is all C, I doubt it will compile with a >C++ compiler. To the contrary, Visual C is the compiler used for ActiveState Perl... --hsm ___ ActivePerl mail

Re: Problem compiling C++ using XS

2002-05-17 Thread Robert Thorpe
On 16 May 2002, at 11:29, [EMAIL PROTECTED] wrote: > Dear Gurus, > > I got the following problem, which I could not solve for three days, maybe > someone of you is expert enough to help. It really makes me hard times (as I > write code in C++ usually having very few experience/ment with Perl). >

RE: #! problem AND A WARNING

2002-04-25 Thread Fay Jason-W13246
Just incase you don't know, and incase anyone else on the list wants to know, with VI, it is easy to remove those control characters. :g/ctrl V ctrl M/s///g The control V and control M will set up the ^M control to the :g which is the global replace command. :) Jason Fay On a tang

RE: #! problem AND A WARNING

2002-04-24 Thread Todd Ellner
>For quite some time I was happily using ActivePerl & PWS, but recently >reinstalled a fresh windows, and hence came to reinstalling ActivePerl >However, this time I decided to use Apache instead of PWS. At first I was >happy, it all seemed to work. However, I have perl scripts on various >differ

Re: #! Problem

2002-04-19 Thread Paul Whitbread
Bill Luebkert wrote: >That would normally be /usr/bin/perl not /usr/bin. >'perl test.pl' should not cause Perl to use the path on the shebang line, >just any switches after it. Whoops, thats the problem! It seems not having the word 'perl' anywhere in the first line seems to have confused perl.

Re: #! Problem

2002-04-18 Thread $Bill Luebkert
Paul Whitbread wrote: > Hi! > > I've recently reinstalled windows and came to reinstalling a new version > of ActivePerl. Managed to get it the basic setup to work, and can run > my .cgi scripts. However, I then upload these scripts to various > webservers with different #! locations. No pro

RE: Problem copying across drive letters

2002-03-01 Thread Peter Verhas
>Adym, if you're not sure, then please verify it. As >a matter of fact you're wrong. You can use the forward >slash with drive letters in File::Copy. This is correct. May I add to this one: The forward slash is a legal directory separator in Windows NT just as well as \ is. Only the command line

RE: problem with "uncompress" on compressed buffer

2001-12-04 Thread Steve Aaron
Title: RE: problem with "uncompress" on compressed buffer I would encrypt after compressing as an encrypted file will contain far more random data and therefore not compress to the like the same ratio. Steve Aaron -Original Message- From: srikanth kasha [mai

  1   2   >