RE: Calling a console application

2001-03-27 Thread Stephen Morley
Or you could use the start command and specify minimized. Or you could use the process functions, in which case the stdout would appear in the same window as the calling program. Stephen -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Tuesday, March 27, 2001

Re: Calling a console application

2001-03-27 Thread dave . clarke
> I need to call a win32 console application from a perl program. > I create the perl executeable program using perl2exe (registered). > > When called, the external application (which is, just to inform > you, the indexer/search engine Swish 2 Enhanced) writes on > Standard Output and opens on

RE: getting quote for large Perl programming job

2001-03-27 Thread Stephen Morley
If your going to hire someone over the internet I would be very careful about who you hire and insure that they have adequate references. This would definitely be a case for a fixed cost, but that would also imply fixed requirements and any changes to the requirements would open the contact again,

Re: getting quote for large perl programming job

2001-03-27 Thread Lee Goddard
At 03:47 27/03/2001 -0800, Bennett Haselton wrote: >For anyone who does contracting jobs or works for a company that does: I do. >Can I write a description of a large perl programming job that I need done >-- of the form, "I want to run a Web site where a user can log in and do >this and thi

Calling a console application

2001-03-27 Thread Gian Luca Fracasso
I need to call a win32 console application from a perl program. I create the perl executeable program using perl2exe (registered). When called, the external application (which is, just to inform you, the indexer/search engine Swish 2 Enhanced) writes on Standard Output and opens on the sceen an

getting quote for large perl programming job

2001-03-27 Thread Bennett Haselton
For anyone who does contracting jobs or works for a company that does: Can I write a description of a large perl programming job that I need done -- of the form, "I want to run a Web site where a user can log in and do this and this and this, and then the Web server back-end has to be able to do

"memory leaks" in perl scripts?

2001-03-27 Thread Bennett Haselton
I seem to remember there was a time when if you ran a script like this with ActivePerl: >>> use LWP::UserAgent; while(1) { ++$count; if ($count%1000 == 0) { print "Count: $count\n"; } $ua = new LWP::UserAgent; } >>> the output would eventua

Re: Print on Closed Filehandle?

2001-03-27 Thread Lee Goddard
At 02:35 27/03/2001 -0800, $Bill Luebkert wrote: >Lee Goddard wrote: > > > > I've just been told I'm printing > > on a closed filehandle, but I'm > > printing to STDOUT. > > > > Is it me? > >Definitely. :) :) Funny thing: I switched it to a warn, and AOK So, I'd opened a filehandle on the pr

Re: Print on Closed Filehandle?

2001-03-27 Thread $Bill Luebkert
Lee Goddard wrote: > > I've just been told I'm printing > on a closed filehandle, but I'm > printing to STDOUT. > > Is it me? Definitely. :) -- ,-/- __ _ _ $Bill Luebkert ICQ=14439852 (_/ / )// // DBE Collectibles http://www.todbe.com/ / ) /--< o // //

Re: Opening files of gigabytes

2001-03-27 Thread Lee Goddard
At 10:01 27/03/2001 +0200, Kamphuys, ing. K.G. wrote: >Hi all, > >I have a question regarding opening very large webserver logfiles. They are >about a gigabyte each and I have seven of them so I run out of memory. Have you tried reading line-by-line? >This is what I do now: > >for $file (@logfi

Print on Closed Filehandle?

2001-03-27 Thread Lee Goddard
I've just been told I'm printing on a closed filehandle, but I'm printing to STDOUT. Is it me? ___ Perl-Win32-Users mailing list [EMAIL PROTECTED] http://listserv.ActiveState.com/mailman/listinfo/perl-win32-users

Re: Opening files of gigabytes

2001-03-27 Thread Jon Bjornstad
With the line: @text = ; You are reading the ENTIRE file into an array. This is rarely necessary. Instead, read it line by line processing each line as it passes through your program: for $file (@logfiles) { open (FILE, $file); # what if it fails??? while ($line = )

problem with qr//

2001-03-27 Thread Nadav Popplewell
I've got a strange problem with qr//: when I run the following code : use strict; my $x='\ba\b'; my $qx=qr/$x/; print "$x:", " a "=~/$qx/,"\n"; my $xq='\b\Qa\E\b'; my $qxq=qr/$xq/; print "$xq:", " a "=~/$qxq/,"\n"; my $q=qr/\b\Qa\E\b/; print "hardcoded:", "