RE: regexp matching more unpredictable in ActivePerl?

2001-04-04 Thread Joseph P. Discenza
[EMAIL PROTECTED] : Also, if you start the regex at the beginning /^\W((\w+\W+){0,25})/) : there is no output Perhaps because there is no non-word character at the beginning of "word word word ..." :) Joe == Joseph P. Discen

Re: FW: Installation of Modules

2001-04-04 Thread Joe Schell
"Christopher L. Severson" wrote: > > PPM I get (at least I think I get it) and have successfully installed > numerous packages using this. I have also used VPM from ActiveState with a > fair amount of success. But, from what I read, this is the easy part. > > I have installed Perl v5.6.0 from

RE: ActiveState's PPM List Stalls Netscape

2001-04-04 Thread Cornish, Merrill
This broke only in the last week or so. I've been able to read the PPM list with Netscape before that. Merrill > -Original Message- > From: $Bill Luebkert [SMTP:[EMAIL PROTECTED]] > Sent: Tuesday, April 03, 2001 5:29 PM > To: Win32 Users Mailing List > Subject: Re: ActiveState's

Tie and BTree.pm

2001-04-04 Thread Mark Pryor
Hi Perl Hackers, Except for this inquiry, I am a lurker here. I've been going through the O'Reilly book, "Mastering Algorithms with Perl." http://perl.plover.com/BTree/BTree.pm In chapter 5, there is a section on balanced and sorted trees, BTree(s). They mention that it is left as an exercise f

Site link-checker

2001-04-04 Thread Goodier, Colin R
Hi, Does anybody know of a Perl script to check webpage links on a sitewide basis (this is on an NT webserver)? I used to use a spider script called MOMSpider (on a Unix box) that would do this, but I think it only worked under Perl 4. Anybody know of any more recent scripts, that work under Per

Re: Looking for code to mirror a site

2001-04-04 Thread Grant Hopwood
-start- > Vince Wilding <[EMAIL PROTECTED]> >at04/04/2001 10:22 AM >First off, apologies for the x-posting, but I'm not sure which list I >saw this in. I searched the archive at activestate to no avail. >Recently, someone posted code to mirror a given site. If they could >re-post or send

Grep Help

2001-04-04 Thread Dirk Bremer
I was following the thread glob vs. readdir and changed one of my scripts to readdir: # Clean-up the job/coop's directories. foreach $ForVar1 ("ctr","e??","frm","fmx","i??","lgo") { unless (chdir("$RootDir/$Coop/$JobName/$CoopDir/")) {next;}

RE: Grep Help

2001-04-04 Thread Wantock, Ron L.
Remember, the $ForVar1 is inside a regex. You need to write your wildcards in regex syntax foreach $ForVar1 ("ctr","e..","frm","fmx","i..","lgo" wantor > -Original Message- > From: Dirk Bremer [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, April 04, 2001 11:37 AM > To: perl-win3

Re: regexp matching more unpredictable in ActivePerl?

2001-04-04 Thread Ron Grabowski
> I am no regex expert, but maybe it has to do with the underlying regex > engine (i.e. NFA, DFA etc) and the implicit/explicit greediness of that > engine for the specific boxes used. Regardless of the implimentation of the engine, we should at least be getting the same results across different

Re: regexp matching more unpredictable in ActivePerl?

2001-04-04 Thread Ian . Stewart
But we are getting the same results.  Results have been posted for Perl 5.00x on UNIX, Perl 5.00x on Win32 (AKA Build 522) and Perl 5.6 on Win32. The results for Perl 5.00x on UNIX and Perl 5.00x on Win32 match.  No one has yet (at least as far as I've noticed) posted results using Per

Win32 compile for threads

2001-04-04 Thread Campbell
Once again, hi, I have recompiled my Perl for Ithreads and Multiplicity, as the ActivePerl distribution also, was compiled (correct me). Still I recieve the error on a simple test: No threads in this perl at perly.pl line 4. line 4 is the 'my $thr1 = new Thread \&threadsub;'. Am I being gross

RE: Threads in ASPerl build 623

2001-04-04 Thread Jesse Sookne
Title: RE: Threads in ASPerl build 623 See message below.  This is definitely a FAQ. -Jesse -Original Message- From: Jesse Sookne Sent: Thursday, March 29, 2001 11:17 AM To: 'Kirk Rogers'; Perl-Win32-Users2 (E-mail) Subject: RE: Multithreaded Apps on Win32? In perl 5.6, threads

Re: Where to get 'cmd.exe' for Win98 SE?

2001-04-04 Thread John Cuson
the desktop engineer's junk drawer e-newletter this morning contained a reference to bootdisk.com, a very handy site. the cmd.exe for win98se would of course be on one of the win98se bootdisks you can download from one of the references listed there. john cuson ([EMAIL PROTECTED], [EMAIL PR

Win32::API and Join() - Bug??

2001-04-04 Thread Lai KamLeong-CKL036
Can someone help to try out the below code to confirm whether there is a bug?? I am running it with Perl 5.6.0 (Binary build 620) on Windows 2000 and Win32::API Version: 0.01 (08 Jul 1997) from http://www.activestate.com/PPMPackages/zips/6xx-builds-only/Win32-API.zip The problem is that join()

Opening files of gigabytes

2001-04-04 Thread Kamphuys, ing. K.G.
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. This is what I do now: for $file (@logfiles) { open (FILE, "$file"); @text = ; close FILE; while ($#text > -1) { $line = shift @text;

Building a distribution package

2001-04-04 Thread JLamberton
Does anyone know how to create a distribution package as part of Activestate's distribution. If I need to purchase any tools, let me know. I have the Active State Perl Developers Kit and Active State Perl. John ___ Perl-Win32-Users mailing list [EMAIL

Re: prn to txt

2001-04-04 Thread Christophe Henquin
.prn is the text/binary output of a printer driver, change the driver and you change the content of the .prn file. To get your text easily you could use a generic text driver then easily parse it, the problem with here is that Microsoft text printer driver behave strangely if your screen resoluti

RE: Building a distribution package

2001-04-04 Thread Frank Novak
Title: RE: Building a distribution package This might help: http://jenda.krynicky.cz/perl/PPM.html   -Original Message- From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: 3/29/01 1:49 PM Subject: Building a distribution package Does anyone know how to create

Re: regexp matching more unpredictable in ActivePerl?

2001-04-04 Thread Ian . Stewart
Looks like 5.6 is returning different results, regardless of platform. What happens if you replace '\w+\W+' with \b (word boundary) ? Regards, Ian To:        [EMAIL PROTECTED] cc:         (bcc: Ian Stewart/Great Lakes/AirTouch) bcc:        Ian Stewart/Great Lakes/AirTouch S

Re: Opening files of gigabytes

2001-04-04 Thread Michael L. Semon
> 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. > > This is what I do now: > > for $file (@logfiles) { > open (FILE, "$file"); > @text = ; > close FILE; > while ($#text > -1) { >

RE: Opening files of gigabytes

2001-04-04 Thread Cornish, Merrill
Koen, Your line that says @text = ; is causing the ENTIRE gigabyte access log to be read into memory at one time. That's almost certainly what's causing the problem, and you don't need to do it. Try, while($line = ) { ...process $line... }#while li

Win32::API problem

2001-04-04 Thread Guillaume Huet
Title: Win32::API problem HELP! I'm experiencing a problem with the Win32::API module. I downloaded the module from CPAN and I installed it with PPM. The installation went fine, the PM is in one of my @INC dirs. When I try to put "use Win32::API;" at the top of a perl script and then try

PerlCheck Program

2001-04-04 Thread Dirk Bremer
I have a new version of my PerlCheck program available. I also wrote a program that will calculate voltage drops for 120AC lines. Email me direct if you are interested in either of these programs and indicate if you would like the files as attachments or inline. Dirk Bremer - Systems Programmer

RE: Threads in ASPerl build 623

2001-04-04 Thread Campbell
(sorry..) On Wed, 4 Apr 2001, Jesse Sookne wrote: >See message below. This is definitely a FAQ. > >-Jesse > >-Original Message- >From: Jesse Sookne >Sent: Thursday, March 29, 2001 11:17 AM >To: 'Kirk Rogers'; Perl-Win32-Users2 (E-mail) >Subject: RE: Multithreaded Apps on Win32? > > >In

RE: Threads in ASPerl build 623

2001-04-04 Thread Jesse Sookne
No problem, I just mean that ActiveState should document this in an obvious place, because it's confusing and I've seen lots of people asking this. Maybe someone from AS is monitoring the list and could improve the docs in this area? -Jesse -Original Message- From: Campbell [mailto:[EM

Grep Help

2001-04-04 Thread Dirk Bremer
Sorry if you get this message twice, but I don't think it made it out the first time. I was following the thread glob vs. readdir and changed one of my scripts to readdir: # Clean-up the job/coop's directories. foreach $ForVar1 ("ctr","e??","frm","fmx","i??","lgo")