Re: Which LWP?

2006-02-09 Thread Sisyphus
- Original Message - From: "Jerry Kassebaum" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Cc: Sent: Friday, February 10, 2006 12:03 PM Subject: RE: Which LWP? . . > > Second, what was my book doing with telling me to enter > > perl -MLWP -e 'print "$LWP::VERSION\n" ' > > from the command

RE: Which LWP?

2006-02-09 Thread Jerry Kassebaum
Mike, First, thanks! Second, what was my book doing with telling me to enter perl -MLWP -e 'print "$LWP::VERSION\n" ' from the command line?? Jerry *** It's just the "LWP" module in "libwww-perl". Try doing this. use LWP; print "version=", $LWP

RE: Calling .NET from Perl

2006-02-09 Thread Jan Dubois
On Thu, 09 Feb 2006, Lyle Kopnicky wrote: > Does anyone know of a way to call .NET assemblies from a Perl script? The Perl Dev Kit contains PerlNET which allows you to do this. You can download a trial version of the PDK here: http://www.activestate.com/Products/Perl_Dev_Kit Cheers, -Jan

Calling .NET from Perl

2006-02-09 Thread Lyle Kopnicky
Does anyone know of a way to call .NET assemblies from a Perl script? -- Lyle Kopnicky Software Project Engineer Veicon Technology, Inc. ___ Perl-Win32-Users mailing list Perl-Win32-Users@listserv.ActiveState.com To unsubscribe: http://listserv.Active

Re: Upgrading Perl

2006-02-09 Thread Kevin J. Woolley
Chris Wagner wrote: > If ur talking about the ActiveState distribution u should be able to just > install right over the top of the old installation. Everything will be > preserved. Hello Chris, This method can actually cause problems with the PDK, among other things. For Windows software, read

RE: Problem loading OLE.dll on Windows 98

2006-02-09 Thread Jan Dubois
On Thu, 09 Feb 2006, Sisyphus wrote: > > I checked permissions in the path, and they are drwxr-xr-x on all > > directories in the path. I know that cygwin doesn't (or at least older versions didn't) set the correct file and directory permissions. You'll have to right-click on the directory or fil

Re: Upgrading Perl

2006-02-09 Thread Chris Wagner
If ur talking about the ActiveState distribution u should be able to just install right over the top of the old installation. Everything will be preserved. At 03:01 PM 2/9/2006 -0500, Chris wrote: >I have an active win2k web server running Perl 5.8.x that I would like to >upgrade to the latest ve

Re: Problem loading OLE.dll on Windows 98

2006-02-09 Thread Sisyphus
Ooops sent the following to Thomas, but failed to CC the list: - Original Message - From: "Thomas Mostrup Nymand" <[EMAIL PROTECTED]> To: "Sisyphus" <[EMAIL PROTECTED]> Cc: Sent: Thursday, February 09, 2006 9:58 PM Subject: SV: Problem loading OLE.dll on Windows 98 > Hi Rob > You

Upgrading Perl

2006-02-09 Thread Chris
Guru's, I have an active win2k web server running Perl 5.8.x that I would like to upgrade to the latest version of Perl w/PerlEx. What is the easiest way to do this without having to reinstall all of my modules and IIS settings? - Chris ___ Perl-Win32-

using unlink on Win32 results in "permission denied" error

2006-02-09 Thread Glen Plantz
Title: Message Hi Folks,   I need to delete several files from a directory that were associated with an Excel process. I did an $excel_app->quit which got rid of that process, but when I then tried to do an "unlink" to get rid of the Excel files, I received the error "can't unlink. perm

Which LWP?

2006-02-09 Thread Jerry Kassebaum
Tutors, I am to the LWP chapter in Suehring's "Beginning Perl Web Development". I know I need to use PPM to install LWP, but which one??? Here's what I tried: ppm> search LWP Searching in Active Repositories 1. LWP-attic [1.00] LWP-attic 2. LWP-Authen-Wsse

RE: Can sleep() be conditional?

2006-02-09 Thread Jones Robert TTMS Contractor
I ran your script from a cut-and-paste from your code below. The program worked exactly as it was expected. The script printed out "0 1 2 3 4 5", paused for 5 seconds, "6 7 8 9 10" continued. > -Original Message- > From: [EMAIL PROTECTED] > On Behalf Of Todd Morrison > Subject:

Re: Testing for Directories

2006-02-09 Thread $Bill Luebkert
Rod Butcher wrote: > Do we need to bear in mind here that Perl, because of its Unix origin, > considers a directory to be just a file containing a list of filenames ? > So the distinction between file or directory need not be made ? Rather, > "we have an entity in the file system named ...". N

SV: Problem loading OLE.dll on Windows 98

2006-02-09 Thread Thomas Mostrup Nymand
Hi Rob You are absolutely right, perl -MWin32::OLE -e 'print "ok\n"' triggers the same error: $ perl -MWin32::OLE -e 'print "ok"' Can't load '/usr/lib/perl5/vendor_perl/5.8/cygwin/auto/Win32/OLE/OLE.dll' for module Win32::OLE: Permission denied at /usr/lib/perl5/5.8/cygwin/DynaLoader.pm line 230.

Re: Problem loading OLE.dll on Windows 98

2006-02-09 Thread Sisyphus
- Original Message - From: "Thomas Mostrup Nymand" <[EMAIL PROTECTED]> . . > > Can't load > '/usr/lib/perl5/vendor_perl/5.8/cygwin/auto/Win32/OLE/OLE.dll' for > module Win32::OLE: Permission denied at > /usr/lib/perl5/5.8/cygwin/DynaLoader.pm line 230. at r.pl line 2 > As you're subsequ

Re: SV: Problem loading OLE.dll on Windows 98

2006-02-09 Thread Foo Ji-Haw
Thomas Mostrup Nymand wrote: Yes, good point, but line 2 is use Win32::OLE qw(EVENTS); so the code below crashes before there is any mention of "InternetExplorer.Application". You are right. Can't help you there. Seldom used cygwin. ___ Perl-Win32

Query on reading COM port

2006-02-09 Thread Rajesh Vattem
Hi all, I have a query on reading the serial port using Win32:: Serial Port. I am trying to write a command to the COM port and reading the response of it. The following script is not working if I open the serial port before starting the loop and keep writing the command until the desired respo

SV: Problem loading OLE.dll on Windows 98

2006-02-09 Thread Thomas Mostrup Nymand
Yes, good point, but line 2 is use Win32::OLE qw(EVENTS); so the code below crashes before there is any mention of "InternetExplorer.Application". /Thomas -Oprindelig meddelelse- Fra: Foo Ji-Haw [mailto:[EMAIL PROTECTED] Sendt: 9. februar 2006 04:26 Til: Thomas Mostrup Nymand Cc: pe

Re: Testing for Directories

2006-02-09 Thread $Bill Luebkert
Foo Ji-Haw wrote: >>-d could fail if a file exists with the same name as a dir you're >>expecting to find. >> > > Hmm, I am under the impression that no file can exist with the same name > as a subdir in the same path. That's not what I said. I said if you found a file that had the same name

Re: Testing for Directories

2006-02-09 Thread Foo Ji-Haw
-d could fail if a file exists with the same name as a dir you're expecting to find. Hmm, I am under the impression that no file can exist with the same name as a subdir in the same path. ___ Perl-Win32-Users mailing list Perl-Win32-Users@listser

Re: Testing for Directories

2006-02-09 Thread Rod Butcher
$Bill Luebkert wrote: Rod Butcher wrote: Foo Ji-Haw wrote: Dirk Bremer wrote: What is the easiest method to detect whether or not a directory exists? I will need to create the directory/subdirectory if it is not already present. The file test -d does not seem to do the trick. What's wrong