Re: Perl with MS Word files

2000-05-19 Thread Robert White
From: "John Michelini" <[EMAIL PROTECTED]> > Does anyone have any pointers to information on using Perl to read and > write MS Word files? Gladly appreciated. Ron has some new tutorials up http://savage.net.au/index.html Rob http://bangkokwizard.com/ Putting the "fun" in dysfunctional since 19

Re: cant install Tk800.022 on Win2K - Help !

2000-05-19 Thread Robert White
From: "Mary Ustinova" <[EMAIL PROTECTED]> > I'm a beginner. I've downloaded Tk800.022 from CPAN,but trying to > install it on my Windows 2000 get several access violations during >perl makefile.pl > > I have ActivePerl 5.6 (VC 6 installed). > > Should I edit somehow makefile.pl ? Well, no. Si

cant install Tk800.022 on Win2K - Help !

2000-05-19 Thread Mary Ustinova
I'm a beginner. I've downloaded Tk800.022 from CPAN,but trying to install it on my Windows 2000 get several access violations during perl makefile.pl I have ActivePerl 5.6 (VC 6 installed). Should I edit somehow makefile.pl ? --- You are currently subscribed to perl-win32-users as: [archi

OLE: Perl with MS Word files

2000-05-19 Thread John Michelini
Does anyone have any pointers to information on using Perl to read and write MS Word files? Gladly appreciated. John --- You are currently subscribed to perl-win32-users as: [archive@jab.org] To unsubscribe, forward this message to [EMAIL PROTECTED] For non-automated Mailing List supp

Re: 500 Internal Server Error

2000-05-19 Thread Charles Pelkey
> > > [Thu May 18 20:40:44 2000] [error] [client 128.1.9.63] Premature end of > > > script headers: /home/httpd/ > > > /test/cgi-bin/helloworld.pl > > > > > > I got 500 Internal Server Error and the error message above is in my > > > error.log file Sounds like your server is misconfigured to me...

Re: Tk::JPEG and Tk800.021 (EPR#834)

2000-05-19 Thread Murray Nesbitt
> > An E-mail to the Tk mailing list just got answered by Nick Ing-Simmons. > > Apparently, > > the Tk::JPEG module must be built against separate Tk's. i.e. It has to be > > built against Tk800.021, as opposed to Tk800.020. > > > > Could someone look into this please? > > The Tk-JPEG package

Re: Tk::JPEG and Tk800.021 (EPR#834)

2000-05-19 Thread Murray Nesbitt
> An E-mail to the Tk mailing list just got answered by Nick Ing-Simmons. > Apparently, > the Tk::JPEG module must be built against separate Tk's. i.e. It has to be > built against Tk800.021, as opposed to Tk800.020. > > Could someone look into this please? The Tk-JPEG package on our AP522 PPM

Re: perl-ldap available as PPM [Was: Re: PerLDAP problems]

2000-05-19 Thread Murray Nesbitt
> Could perl-ldap-0.17 (and the required ASN1-0.05) be made similarly available? I've upgraded the AP522 repository with 0.17, and added Convert-ASN1, but there were test failures with 0.17 and AP613. I took a quick look at it, but can't spend any more time investigating. This is the test code

Re: Getting the computer name

2000-05-19 Thread Kamal
No, just the usual identification computer name, that comes with the domain name. Kamal --- You are currently subscribed to perl-win32-users as: [archive@jab.org] To unsubscribe, forward this message to [EMAIL PROTECTED] For non-automated Mailing List support, send email to

Win32::TieRegistry 0.23

2000-05-19 Thread Borkur Gudjonsson
I'm using Win32::TieRegistry with ActivePerl Build 613 When I run the following script I get this output: D:\Program Files\Common Files (in cleanup) Can't call method "FETCH" on an undefined value at d:/Perl/site/lib/Win32/TieRegistry .pm line 1486 during global destruction. Can anyone help m

Re: FTP within cgi

2000-05-19 Thread Ranga
You can run a perl ftp script (see Net::ftp) or you can zip and upload via a web page. The ftp could be anonymous or password protected. Ther latter (http file upload) has no security implication. Both are easy to accomplish. With the ftp, you can do 'mput' but with http, to transfer a number

Re: Getting the computer name

2000-05-19 Thread Ranga
print $ENV{'computername'}; :-) On 19 May 00, at 11:07, Kamal wrote: Date sent: Fri, 19 May 2000 11:7:20 Subject:Getting the computer name To: "Perl-Win32-Users Mailing List" <[EMAIL PROTECTED]> From: "Kamal" <[EMAIL PROTECTED]>

ActivePerl 5.6.0 Build 613 Installation

2000-05-19 Thread Khang Ta
I downloaded the ActivePerl Software and was looking forward to working with it. However, after the installation, I realized that the only part of Perl that was installed was the documentation. I uninstalled and reinstalled the software again. Still, this didn't help. There was no PATH chan

Re: Any Tricks for catching ctrl-c?

2000-05-19 Thread Ned Konz
Frank Merrow wrote: > > Okay, so signals don't work ActiveState builds. > > Does anyone out there have a trick or spoof for catching ctrl-c? > > I've tried running nested eval's, double processes . . . > > I am racking my brain for a way to get around the limitation and make sure > some proces

Re: Mapi and Attachments

2000-05-19 Thread Douglas Wilson
On 05/19/00, ""Elizabeth" <[EMAIL PROTECTED]>" wrote: > I am using MAPI 1.4 version. I have problem when I retrieve an attached > file from a newly read mail. If suppose the name of the attached file is > nscript12.exe, the file gets extracted into the directory I point out to, > but, the filen

Re: Getting Dos Short name...

2000-05-19 Thread Jan Dubois
On Fri, 19 May 2000 15:37:19 -0400, "Jon S. Jaques" <[EMAIL PROTECTED]> wrote: >Hello Group, >long ones, but I have a problem where I need to turn long names into short >ones... partially because they are bogusly named Macintosh files... Does >anybody know of an easy way to do this? (short of par

Re: Basics Help

2000-05-19 Thread Rajil Saraswat
just use the perl interpreter. perl filename.pl --- You are currently subscribed to perl-win32-users as: [archive@jab.org] To unsubscribe, forward this message to [EMAIL PROTECTED] For non-automated Mailing List support, send email to [EMAIL PROTECTED]

outputting shtml file thru a cgi script

2000-05-19 Thread Rajil Saraswat
how do i output an shtml output from a cgi script. i am using the following print "Content-type: text/x-server-parsed-html\n\n"; print ""; but this does not execute the ssi. instead if i make a static shtml page, it works. maybe for my isp for ssi shtml has to be explicitly given. then how do

Any Tricks for catching ctrl-c?

2000-05-19 Thread Frank Merrow
Okay, so signals don't work ActiveState builds. Does anyone out there have a trick or spoof for catching ctrl-c? I've tried running nested eval's, double processes . . . I am racking my brain for a way to get around the limitation and make sure some processing is done after everything is blown

Mapi and Attachments

2000-05-19 Thread Elizabeth
I am using MAPI 1.4 version. I have problem when I retrieve an attached file from a newly read mail. If suppose the name of the attached file is nscript12.exe, the file gets extracted into the directory I point out to, but, the filename is not the same as the one I used to attach it. The ex

administer IIS4 using Perl

2000-05-19 Thread Michael Burstin
I am currently trying to write a script to create some virtual directories (and some other misc functionality) for IIS using Perl. I've been searching the web using Google, and don't find anything, but have discovered the MetabaseConfig perl module installed w/ ActivePerl, which is giving me a goo

Getting Dos Short name...

2000-05-19 Thread Jon S. Jaques
Hello Group, I found some old messages about people needing to turn short DOS names into long ones, but I have a problem where I need to turn long names into short ones... partially because they are bogusly named Macintosh files... Does anybody know of an easy way to do this? (short of parsing th

Re: Win32::OLE Question

2000-05-19 Thread Jan Dubois
On Fri, 19 May 2000 11:30:45, "Scott K Purcell" <[EMAIL PROTECTED]> wrote: >#! perl >use Win32::OLE; >my $mailer = Win32::OLE->new("SMTPsvg.Mailer") or die >scalar($Win32::OLE->LastError()); >And the error is: >Can't call method "LastError" on an undefined value at >G:\Inetpub\wwwroot\test4.pl l

RE: PPM Hotfix...Didn't Work!!!

2000-05-19 Thread Alan Hutchinson
This is my problem too, and I would be delighted to understand your answer. Please excuse my ignorance: What is the ".xml file" you generated? How did you generate it? Regards Alan On 05/10/00, "Kirk Rogers <[EMAIL PROTECTED]>" wrote: > Never mind...I fixed it by generating a new .xml file and r

Re: dates

2000-05-19 Thread Jan Dubois
On Fri, 19 May 2000 15:51:42 +0800, "Rhonald Lua" <[EMAIL PROTECTED]> wrote: >Is there an 'easy' way to compute the difference between two VT_DATE's? Or >equivalently, is there a method to convert a VT_DATE to a numerical value >such that the difference of two such values is proportional to the

Re: Aspmail Question Basic

2000-05-19 Thread Jan Dubois
On Fri, 19 May 2000 7:56:11, "Scott K Purcell" <[EMAIL PROTECTED]> wrote: >OK, I am still hacking with this ASPMail COM object. > >Anyway, I dug hard into the OLE information, and figured I would walk step >by step. > >So I figured I would start with the basics here, and dig a little deeper as

Win32::OLE Question

2000-05-19 Thread Scott K Purcell
Hello, Well I think I scared everyone off with the email subject of my last post that said ASPMail, so I am trying to get a response this way. Anyway, I have a COM object and want to talk to it with Win32::OLE. Is this do-able.? I will start here with this question and go from here. And if it

Re: Getting the computer name

2000-05-19 Thread Paul Rogers [CE]
> Is there a way(or a function) by which you can get > the computer name of a client and send it to theserver using the perl. do you mean from a web client? pls specify. p --- --- You are currently subscribed to perl-win32-users as: [archive@jab.org] To unsubscribe, forward this message to

Re: FTP within cgi

2000-05-19 Thread CBC
> you need a FTP client or at least a webserver at HIS end...or with Netscape > he can send the files. IE does not allow this type of operation. > > Chuck If you mean they should ftp to my site and drop off the files, that's what they are doing now and that's what we're trying to get around. Th

Getting the computer name

2000-05-19 Thread Kamal
Hi Is there a way(or a function) by which you can get the computer name of a client and send it to theserver using the perl. regards, Kamal N. Yassin Intel Corporation Software Engineering & Validation Platform Components Group Santa Clara, Ca 95052 --- You are currently subscribed to perl

RE: 500 Internal Server Error

2000-05-19 Thread Thomas_M
You're on a Unix or Linux machine, so you need to make sure that /usr/bin/perl is really where your perl executable is, and you should use -w. Did you try executing it from the command line? Also, you should post in Perl-Unix-Users instead of Perl-Win32-Users. -- Mark Thomas [EMAIL PROTECTED] >

Re: Aspmail Question Basic

2000-05-19 Thread Justin Rogers
> #! perl > use Win32::OLE; > my $mailer = Win32::OLE->new("smtpsvg.mailer") or die "ooops\n"; Did you try case sensitivity. Definitely this would be a better area for Jan to answer on. But I need to place in my blurb here. I've recently tried to use two ActiveX controls within my web site

Re: Win32::OLE - Error message

2000-05-19 Thread Jan Dubois
On Fri, 19 May 2000 18:19:31 +0100, "Axel Tietje" <[EMAIL PROTECTED]> wrote: >my $s1 = $doc->Styles("Standard"); >$word->Selection->({Style => $s1}); # this is line 43 $word->Selection->{Style} = $s1; >I get the following Error: >'Not a CODE reference at word.pl line 43.' > >Could anyone pleas

I hate to ask this.

2000-05-19 Thread Hogue, Jon
Can someone point me to documentation on the win32::lanman module? I can not find it in web searches, on jenna's page, or cpan. --- You are currently subscribed to perl-win32-users as: [archive@jab.org] To unsubscribe, forward this message to [EMAIL PROTECTED] For non-automated Mailing

Re: need help

2000-05-19 Thread Ned Konz
$aa = "Mike , Mark "; my @fields = $aa =~ m{ <([^>]+)> }gx; print "$fields[0]|$fields[1]\n"; -- Ned Konz currently: Stanwood, WA email: [EMAIL PROTECTED] homepage: http://bike-nomad.com, Perl homepage: http://bike-nomad.com/perl --- You are currently subscribed to

Re: An attempt to clear up Active Scripting Misconceptions

2000-05-19 Thread tim_meadowcroft
Justin, Between you and Jan I think we have it wrapped up. ASP always had a facility for compile-once/run-many, but until the 6xx builds PerlScript didn't take advantage of it (ie the Clone() call that Jan mentions). My interpretation of what was happening was generally correct for those 5xx

Re: need help

2000-05-19 Thread Philip Newton
Nolen, Mike wrote: > I need to return all data inside each set > of <> in a string ... my $aa = "Mike , Mark "; print "aa is [$aa]\n"; while( $aa =~ /<([^>]*)>/g ) { print "Matched [$1]\n"; } > I've included 2 examples, but they both return > the last item only... Tha

RE: need help

2000-05-19 Thread Nolen, Mike
Title: RE: need help Works great, thanks. Mike -Original Message- From: Eric Heaton [mailto:[EMAIL PROTECTED]] Sent: Friday, May 19, 2000 10:27 AM To: Nolen, Mike Subject: Re: need help a couple of things: 1. the regular expression is doing ".*" greedy matching (see p. 63 of the

Re: An attempt to clear up Active Scripting Misconceptions

2000-05-19 Thread Justin Rogers
> Ah, but does it have a "Reset the data page for this script to be as it was when > I parsed the page, but hadn't actually executed any code" call. > If it doesn't (and that's what mod_perl does have), then when you executed the > page again it would still have all it's globals etc. set up as the

Re: help with specific changes in all files in a directory

2000-05-19 Thread Douglas Wilson
On 05/19/00, "Philip Newton <[EMAIL PROTECTED]>" wrote: > $^I = '.bak'; # save backups in .bak files > while(<>) { > (my $datname = $ARGV) =~ s/\.ctl$/.dat/; > s<^INFILE .*>; > } you forgot: continue {print} Cheers, Douglas Wilson --- You are currently subscribed to perl-win32-users

Re: need help

2000-05-19 Thread Martin Moss
my @array=split (/\,/, $aa); foreach my $elem(@array) { my ($orig)=$elem=~/\<(.*?)\>/i; print $orig; } Marty - Original Message - From: "Nolen, Mike" <[EMAIL PROTECTED]> To: "Perl-Win32-Users Mailing List" <[EMAIL PROTECTED]> Sent: Friday, May 19, 2000 5:53 PM Subject: need hel

Fw: need help

2000-05-19 Thread Eric Heaton
-Original Message- From: Eric Heaton <[EMAIL PROTECTED]> To: Nolen, Mike <[EMAIL PROTECTED]> Date: Friday, May 19, 2000 10:27 AM Subject: Re: need help >a couple of things: >1. the regular expression is doing ".*" greedy matching (see p. 63 of the >Camel book, 2nd ed., or the perlre man

Re: need help

2000-05-19 Thread Douglas Wilson
On 05/19/00, ""Nolen, Mike" <[EMAIL PROTECTED]>" wrote: > I need to return all data inside each set of <> in a string ... > I've included 2 examples, but they both return the last item only... > for ( $aa =~ s/^.*\<(.*)\>.*$/\1/g ) { > print "$aa\n"; > } This is not a substitution, just a

Re: Win32::OLE - Error message

2000-05-19 Thread Ian D. Stewart
Axel Tietje wrote: > > Hi, > > is there anyone out there who knows more about > Win32::OLE than I do? I can think of at least one person who knows more about Win32::OLE than all of us combined. That is its author, Jan Dubois. > I have some problems with > the objects, methods and properties t

RE: 500 Internal Server Error

2000-05-19 Thread Casey Nguyen
It runs OK from the command prompt And everyone have access to the cgi-bin dir. > -- > From: Dusty[SMTP:[EMAIL PROTECTED]] > Reply To: Dusty > Sent: Friday, May 19, 2000 8:53 AM > To: Perl-Win32-Users Mailing List > Subject: Re: 500 Internal Server Error > > wo

Re: File::Copy

2000-05-19 Thread Cassell . David
You wrote: > pls. help me understand. what does the "!" mean below? does it mean "not"? when you were looking at this code in Douglas Wilson's message: > I meant '!/^\.+$/' which is usually 'good enough' for me. > > > grep { !/^\.\.?$/ } > Much better. > > > grep { !/^\.\.?\z/ } > Hadn't even

need help

2000-05-19 Thread Nolen, Mike
Title: need help I need to return all data inside each set of <> in a string ... I've included 2 examples, but they both return the last item only... TIA, mike - $aa = "Mike , Mark "; print "$aa\n"; -- ie. 1 $aa =~ s/^.*\<(.*)\>.*$/\1/g; print "$aa\n"; --ie. 2 for

Re: 500 Internal Server Error

2000-05-19 Thread Cassell . David
You wrote: > Is anyone know what this error mean in perl. > > [Thu May 18 20:40:44 2000] [error] [client 128.1.9.63] Premature end of > script headers: /home/httpd/ > /test/cgi-bin/helloworld.pl > > I got 500 Internal Server Error and the error message above is in my > error.log file I'm sorry,

Re: 500 Internal Server Error

2000-05-19 Thread Dusty
would you believe it runs on my server? Did you try it from the command prompt? Does everyone have access to the dir specified? ** "There is nothing in a caterpillar that tells you it's going to be a

Re: gd package (GIF)

2000-05-19 Thread Oliver Schleede
On 12/22/99, "Craig Kelley <[EMAIL PROTECTED]>" wrote: I have win32 binaries for a GD that uses GIF, if you cannot find it > elsewhere. may i take the liberty to ask you to mail it to me? i don't know where to look for it... mail: [EMAIL PROTECTED] thank: you! --- You are currently subscribed t

RE: looping through the alphabet - i win ;-)

2000-05-19 Thread Wantock, Ron L.
I just wanted to say that this thread was one of the most good natured examples of one-upmanship ever posted to the list. I enjoyed reading it. my thanks to its contributors for brightening my day, wantor > -Original Message- > From: Jan Dubois [mailto:[EMAIL PROTECTED]] > Sent: Thurs

Re: An attempt to clear up Active Scripting Misconceptions

2000-05-19 Thread tim_meadowcroft
Jan Dubois wrote: >> No, Active Scripting Engines can support a Clone() method to allow >> duplication of already compiled scripts. This isn't implemented in >> PerlScript from builds 5xx whereas VBScript and JavaScript do support it. Exactly the sort of call I expected - now why did I think

Perl-Gtk module

2000-05-19 Thread D. Scott Barninger
Is anyone aware of a port, or port-in-progress of the Perl-Gtk module? --- You are currently subscribed to perl-win32-users as: [archive@jab.org] To unsubscribe, forward this message to [EMAIL PROTECTED] For non-automated Mailing List support, send email to [EMAIL PROTECTED]

Win32::OLE - Error message

2000-05-19 Thread Axel Tietje
Hi, is there anyone out there who knows more about Win32::OLE than I do? I have some problems with the objects, methods and properties that can be used with MS Word. For example: What's wrong with these lines: my $s1 = $doc->Styles("Standard"); $word->Selection->({Style => $s1}); # this is line

RE: Win32::Process (concurrent processes)

2000-05-19 Thread kevin . burton
I guess I cannot even get as far as you. When I run the following: use Win32::Process Win32::Process::Create($ProcessObj, "D:\\Program Files\\Microsoft Visual Studio\\Common\\IDE\\IDE98 \\devenv.exe", "DevEnv /release /rebuild CaptureServer.

Re: 500 Internal Server Error

2000-05-19 Thread Ned Konz
Casey Nguyen wrote: > #!/usr/bin/perl > > print "Content-type: text/html\r\n\r\n"; > print "test"; > print "\n"; > print "Hello World\n"; > print "This is Perl Script\n"; > print "\n"; Some things to look at: 1. Your line endings are wrong. Under dos-ish systems, every "\n" results in a CR/LF

Re: File::Copy

2000-05-19 Thread Douglas Wilson
On 05/19/00, ""JIMMY" <[EMAIL PROTECTED]>" wrote: > pls. help me understand. what does the "!" mean below? does it mean "not"? > > > > On 05/12/00, "[EMAIL PROTECTED]" wrote: > > > grep { !/^\.\.?\z/ } Thanks for extending the life of my blunder! :) Anyway, yes it is 'not'. '/.../' is 'matches

FTP within cgi

2000-05-19 Thread CBC
Is there a module or way to ftp the contents of a directory from a client side to the server side? I would have a webpage that would ask for a local directory name and try transfering all the files from that directory to the web server. Typically there would be a couple of hundred small ASCII

RE: 500 Internal Server Error

2000-05-19 Thread Casey Nguyen
Yes, here is the permission of the file: -rwxr-xr-x1 root root 254 May 19 08:35 helloworld.pl and here is the helloworld.pl code: -- #!/usr/bin/perl print "Content-type: text/html\r\n\r\n"; print "test"; print "\n"

Re: An attempt to clear up Active Scripting Misconceptions

2000-05-19 Thread Jan Dubois
On Fri, 19 May 2000 11:08:12 +0100, [EMAIL PROTECTED] wrote: >Ah, but does it have a "Reset the data page for this script to be as it was when >I parsed the page, but hadn't actually executed any code" call. >If it doesn't (and that's what mod_perl does have), then when you executed the >page aga

Compiling Crypt-SSLeay

2000-05-19 Thread David Paxson
I've been trying to compile Crypt::SSLeay so that I can use LWP::UserAgent with https web-sites and things don't seem to be working for me. The compile works fine, the tests run fine (using 'nmake -f makefile test'). But things don't work when I try to connect using lwp-request. Here is my r

Re: An attempt to clear up Active Scripting Misconceptions

2000-05-19 Thread Ian D. Stewart
[EMAIL PROTECTED] wrote: > > Ian. D. Stewart wrote: > > > From "ASP in a Nutshell", p. 27: > >> > The Application object is initialized by IIS the moment the first client > requests > >> > any file from within the given virtual directory. It remains in the > server's > >> > memory until either

Aspmail Question Basic

2000-05-19 Thread Scott K Purcell
OK, I am still hacking with this ASPMail COM object. Anyway, I dug hard into the OLE information, and figured I would walk step by step. So I figured I would start with the basics here, and dig a little deeper as I went. So I wrote this, and I get the ooops, so this is not working. But if I ch

Re: Array in Perl

2000-05-19 Thread Philip Newton
Title: Re: Array in Perl Olivier CLERE wrote: > Does anybody know how > to represent an array only > thanks to an integer? > Is this posssible anyway? > The address of an array > is a scalar but not an > integer (?) You can take a reference to an array. This reference, when used in numeric c

Re: An attempt to clear up Active Scripting Misconceptions

2000-05-19 Thread tim_meadowcroft
Ian. D. Stewart wrote: > From "ASP in a Nutshell", p. 27: >> > The Application object is initialized by IIS the moment the first client requests >> > any file from within the given virtual directory. It remains in the server's >> > memory until either the web service is stopped or the applic

Re: LWP::Parallel::UserAgent

2000-05-19 Thread Grant Hopwood
-start- > John Deighan <[EMAIL PROTECTED]> >at05/19/2000 09:32 AM >I found a Perl script that generates benchmark data for a web server >(crashme.pl). However, it uses LWP::Parallel::UserAgent, which I don't >have. BTW, I'm using ActiveState's Perl on Windows NT 4.0. It came with >some LWP

Re: need an easy run-time conditional stmt for 'use Net::SMTP' ...

2000-05-19 Thread John Green
Bob, Try: if ($^O eq 'MSWin32') { require 'Net::SMTP.pm'; Net::SMTP->import(); } This is essentialy what 'use Net::SMTP' does, but 'require' is performed at runtime, while 'use' is performed at compile time. John On Thu, May 18, 2000 at 03:38:29PM -0700, Bob Hoffmaster wrote: > Is there a

Re: Win32::Process (concurrent processes)

2000-05-19 Thread John Green
You could use Win32::Process::Wait(0) to poll the process. John On Thu, May 18, 2000 at 03:09:32PM -0400, Cameron, Thomas P wrote: > I too am interested in this. I'm firing off a number of processes on NT > using Win32::Process::Create() and later I want to detect If the process is > running or

Re: help with specific changes in all files in a directory

2000-05-19 Thread Philip Newton
Satish Vadlamani wrote: > I have a directory in which I have about sixty files. Of > these say 30 have a .ctl extension. The 2nd or 3rd line in > the files that have a .ctl extension reads something like this > in all files: > > INFILE '/u/svadlama/eCAMPUS/df4.3_2/prototype1/data/buckets.dat'

LWP::Parallel::UserAgent

2000-05-19 Thread John Deighan
I found a Perl script that generates benchmark data for a web server (crashme.pl). However, it uses LWP::Parallel::UserAgent, which I don't have. BTW, I'm using ActiveState's Perl on Windows NT 4.0. It came with some LWP modules, but not that one (it does have LWP::UserAgent). Also, I couldn't

Re: Win32::API - Get file version information

2000-05-19 Thread Eloy A. Gonzales
On 19 May 2000 [EMAIL PROTECTED] wrote: > Hello. > I'm trying to retrieve version information from file(s). > Check out Mike Blazer's Win32::Ver. It uses Win32::API and works on NT and Win9x. Mike Blazer, [EMAIL PROTECTED] http://www.dux.ru/guest/fno/perl/ ~=

Help With ASPMail In Perl

2000-05-19 Thread Scott K Purcell
Hello, I hate to ask, but I was given a mission outside of my knowledge arena. I am working with a customer, who has ASPMail installed on their webserver. I am writing a website for them, and prefer to use Blat or a Perl module, but they want to use the ASPMail COM object. ... so I could use som

help with specific changes in all files in a directory

2000-05-19 Thread Satish Vadlamani
Hi: I have a directory in which I have about sixty files. Of these say 30 have a .ctl extension. The 2nd or 3rd line in the files that have a .ctl extension reads something like this in all files: INFILE '/u/svadlama/eCAMPUS/df4.3_2/prototype1/data/buckets.dat' the text after the word INFIL

Re: Perl speed vs ASP speed

2000-05-19 Thread Benjamin Samuel
>We had a yuppie "consultant" come and visit us who >claimed to be an e-commerce boffin. He reckoned to us >that Perl was dying because ASP was now capable of >running on Linux. Of course, this all ignores your application development environment and programmer productivity. Remember, ASP+Whate

Basics Help

2000-05-19 Thread Satish_Vadlamani
how do I run an example program? I have the perl executable in c:\perl. Say I want to run one of the example programs in the c:\perl\eg directory. thanks. Satish --- You are currently subscribed to perl-win32-users as: [archive@jab.org] To unsubscribe, forward this message to [E

Re: An attempt to clear up Active Scripting Misconceptions

2000-05-19 Thread Ian D. Stewart
[EMAIL PROTECTED] wrote: > > Justin Rogers said: > >> Everyone is saying that ASP caches pages in memory, but not the compiled > >> pages. But I'd like to go straight to the root of the problem and that > >> lies in some C/C++ code. So here goes: > > >> An Active Scripting Engine has to suppor

Re: A question?

2000-05-19 Thread Paul Rogers [CE]
> Bron ( s/,/\n/;print ) was this included as an afterthought? good idea though... $test =~ s/,/\n/g & print $test; p --- --- You are currently subscribed to perl-win32-users as: [archive@jab.org] To unsubscribe, forward this message to [EMAIL PROTECTED] For non-automated Mailing L

Array in Perl

2000-05-19 Thread Olivier CLERE
Does anybody know how to represent an array only thanks to an integer? Is this posssible anyway? The address of an array is a scalar but not an integer (?) Thanks in advance, Olivier. --- You are currently subscribed to perl-win32-users as: [archive@jab.org] To unsubscribe, forward this messa

Win32::OLE, attributes of a picture

2000-05-19 Thread Axel Tietje
Friends, why doesn't the following code work? I have no idea what else I could try to change the attributes of a picture. use Win32::OLE; use Win32::OLE::Const 'Microsoft Word'; $word = Win32::OLE->new('Word.Application', 'Quit'); $doc = $word->Documents->add(); $doc->Activate(); $word->{ 'Visi

Tk800.022 LabEntry and Optionmenu woe

2000-05-19 Thread Lyndon Rickards
I have a couple of problems. This with Activestate 5.005 (522) and Tk 800.022. These did not exist with 800.021 built from CPAN and patched from http://www.Lehigh.EDU/~sol0/ptk/. First, LabEntry. The label does not appear: ... my $refdes_LabEntry = $containerWidget->LabEntry( -label

RE: looping through the alphabet - i win ;-)

2000-05-19 Thread Bellenger, Bruno (Paris)
"Paul Rogers [CE]" wrote: > > > for ('A'..'Z') { print }; > > why even do all that? > > just do: > > print ('A'..'Z') Hey, who needs parens? print 'A'..'Z' -- Ned Konz Hey, who needs quotes ? print A

MIME::Parser dies occasionaly

2000-05-19 Thread Kuhnibert
hi, ok - i recently started playing around with this neat MIME::Parser module for autmotcically detaching attachments from my incoming mails, here goes the code (as said in the manual) ... my $parser = new MIME::Parser output_dir => "c:\\temp\\mime",ยท output

Re: 500 Internal Server Error

2000-05-19 Thread Dusty
Are you sure you have the permissions set OK? Do you have the line print "Content-Type: text/html\r\n\r\n"; anywhere in your script? at the beggining afore you start printing? Do you have permission to execute scripts? Ask and find answers to questions like these!

Time Regex (was:[RE: Thank You ActiveState - Please one more thin g)

2000-05-19 Thread Dave . Clarke
# You can remove the g modifier if you are sure there is only one time field per record. while (<>) { s/\d+:\d+\:\d+\s+[AP]M//g; print; } > -Original Message- > From: Theo Vermeulen [SMTP:[EMAIL PROTECTED]] > Sent: Friday, May 19, 2000 5:01 AM > To: Perl-Win32-Users Mail

Re: Win32::API - Get file version information

2000-05-19 Thread tim_meadowcroft
>> I'm trying to retrieve version information from file(s). >> It seems that I have to use 3 Win32 functions: Personally, I just use Win32::AdminMisc use Win32::AdminMisc; my %vInfo; if (Win32::AdminMisc::GetFileInfo( $file, \%vInfo )) { print "$_ : $vInfo{$_}\n" foreach sort keys

Win32::API - Get file version information

2000-05-19 Thread Borkur . Gudjonsson
Hello. I'm trying to retrieve version information from file(s). It seems that I have to use 3 Win32 functions: 1. GetFileVersionInfoSize() which gets the size of the version information. 2. GetFileVersionInfo() which retrieves the version information buffer. 3. VerQueryValue() to retrieve sel

Re: An attempt to clear up Active Scripting Misconceptions

2000-05-19 Thread tim_meadowcroft
Justin Rogers said: >> Everyone is saying that ASP caches pages in memory, but not the compiled >> pages. But I'd like to go straight to the root of the problem and that >> lies in some C/C++ code. So here goes: >> An Active Scripting Engine has to support many interfaces (thus the way of >>

Re: File::Copy

2000-05-19 Thread JIMMY
pls. help me understand. what does the "!" mean below? does it mean "not"? > On 05/12/00, "[EMAIL PROTECTED]" wrote: > > Doug, while your posts are always full of useful info, you made > > a typo or two in this one. You wrote: > > > > > my @filelist = grep { !/^.+/ } readdir DIR; > > Oops! Mus

Re: Piping and redirection in NT

2000-05-19 Thread Philip Newton
Hogue, Jon wrote: > Is there something wrong at the system level with redirection > and piping in NT. There's something wrong with redirection on scripts that are called based on their prefix (e.g. if .pl is associated with Perl, you can start foo.pl by just typing 'foo.pl', but redirection does

RE: Thank You ActiveState - Please one more thing

2000-05-19 Thread Theo Vermeulen
Title: RE: Thank You ActiveState - Please one more thing Hi How can I replace 1:00:37 PM with a blank space for a large text file were the time differs all the time 1012,5/10/00 1:00:37 PM, Thanks Theo

Good database tutorial

2000-05-19 Thread Gregory Bair
Does anyone know where one could find a good database tutorial? Thanks. Gregory Bair = If the gold rusts, what then of the iron? --- You are currently subscribed to perl-win32-users as: [archive@jab.org] To unsubscribe, forward this message to [EMAIL PROTECTED] For non-automate

dates

2000-05-19 Thread Rhonald Lua
Hi. Is there an 'easy' way to compute the difference between two VT_DATE's? Or equivalently, is there a method to convert a VT_DATE to a numerical value such that the difference of two such values is proportional to the time difference between the corresponding dates? I know that in ATL, DATE i

Thank You ActiveState - Please one more thing

2000-05-19 Thread Dunnigan,Jack [Edm]
Thank you for upgrading Tk to 800.022. If possible, could you also rebuild Tk::JPEG against this newest Tk? One of my applications absolutely depends on this module. Thanks again. Jack --- You are currently subscribed to perl-win32-users as: [archive@jab.org] To unsubscribe, forward this mes