RE: regex confusion...

2005-02-21 Thread Tom Pollard
On Mon, 21 Feb 2005, Peter Eisengrein wrote: > sorry about that. a bit too quick on the trigger finger. I have the > following: > > @files = grep { /^ccs_[cas|pri|atsm]/ && -f "$dir/$_" } readdir(DIR); > > There are other files in $dir that start with ccs but I only want ccs_cas > ccs_pri or ccs

RE: regex confusion...

2005-02-21 Thread cassell . david
Peter Eisengrein <[EMAIL PROTECTED]> wrote: > sorry about that. a bit too quick on the trigger finger. I have the following: No problem. A little fat-fingering happens now and then. > @files = grep { /^ccs_[cas|pri|atsm]/ && -f "$dir/$_" } readdir(DIR); > > There are other files in $dir that sta

RE: regex confusion...

2005-02-21 Thread Chris Snyder
Try changing the square brackets to parentheses.   -Original Message- From: Peter Eisengrein [mailto:[EMAIL PROTECTED] Sent: Monday, February 21, 2005 4:05 PM To: 'Perl-Win32-Users Mailing List (E-mail)' Subject: RE: regex confusion...   sorry about that. a bit too quick on

Re: Problem compiling VC++ module with XS

2005-02-21 Thread Sisyphus
[EMAIL PROTECTED] wrote: Hi List, I'm trying to compile a C++ XS module with MS VC++ 6.0. Due to defines (redifinition of standard c funktions like eof) in win32iop.h several VC++ standard headers throw errors: cl -c -I. -TP -MD -Zi -DNDEBUG -O1 -DVERSION=\"0.01\" -DXS_VERSION=\"0.01\" "-ID:\Pe

RE: regex confusion...

2005-02-21 Thread Peter Eisengrein
sorry about that. a bit too quick on the trigger finger. I have the following:   @files = grep { /^ccs_[cas|pri|atsm]/ && -f "$dir/$_" } readdir(DIR); There are other files in $dir that start with ccs but I only want ccs_cas ccs_pri or ccs_atsm but for some reason it seems to also match a fi

regex confusion...

2005-02-21 Thread Peter Eisengrein
Hey gang... having a bit of a regex conundrum. I have the following statement:   ___ Perl-Win32-Users mailing list Perl-Win32-Users@listserv.ActiveState.com To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

RE: Intercept IE or Netscape

2005-02-21 Thread Steven Manross
Scraping HTML pages is relatively easy.. Figuring out someone's HTML format on the other hand is relatively difficult (in my opinion). :) The InternetExplorer.Application COM object has everything you need to pull out the compartmentalized text in any tag (or attributes of a tag). Some valuable

Problem compiling VC++ module with XS

2005-02-21 Thread thomas . hoffmann
Hi List,   I'm trying to compile a C++ XS module with MS VC++ 6.0. Due to defines (redifinition of standard c funktions like eof) in win32iop.h several VC++ standard headers throw errors: cl -c -I. -TP -MD -Zi -DNDEBUG -O1 -DVERSION=\"0.01\" -DXS_VERSION=\"0.01\" "-ID:\Perl\lib\CORE" -DWIN3

RE: Intercept IE or Netscape

2005-02-21 Thread Jerry Kassebaum
Ken, I tried your code, adding "use Win32::OLE; " at the beginning, and using my site (biblescramble.com) instead of "http://whatever";. The browers pops up for a split second with my site. Now what? * It would probably be easier to drive IE via OLE my $ie = Win32::OL

Re: Intercept IE or Netscape

2005-02-21 Thread Jerry Kassebaum
Lyle, That sounds like EXACTLY what I would like to do. But...I don't know how. How do I create a proxy server? Or where would I find an existing one? Jerry *** Jerry Kassebaum wrote: This may be a socket question. Is there a way to read the data coming into my co

RE: Threads + Memory Leak??

2005-02-21 Thread John Serink
Title: Message 1,000,000? No kidding, I always stopped by app in the 100,000 range. I didn't think it would survive past 256,000. Your machine must have really be crawling along with a million handles open, must have been consuming gobs of memory.   Hopefully Jena will have time to deal with

RE: Threads + Memory Leak??

2005-02-21 Thread Paul Sobey
Title: Message Blimey, I stopped counting at 1,000,000!   Will check that bug report you mailed.   Paul   From: John Serink [mailto:[EMAIL PROTECTED] Sent: 21 February 2005 12:03To: Paul Sobey; perl-win32-usersSubject: RE: Threads + Memory Leak?? Its not memory directly that's leaking, it

Re: Suspending threads

2005-02-21 Thread $Bill Luebkert
Goetz Sebastian MTA wrote: > Hallo everyone, > > First of all I have to mark myself as perl newbie so please be lenient > towards me. > > Now the facts: > I am using perl 5.8.0 on a WinXP machine. > I have increasing needs for some kind of mechanism that supplies me with > extended thread functi

RE: Threads + Memory Leak??

2005-02-21 Thread John Serink
Title: Message Its not memory directly that's leaking, its handles which start to consume memory. Have a look at the open handles on your app...maybe use perfmon to monitor is and see if its the number of open handles that's doing it.   Cheers, John -Original Message-From: [E

Threads + Memory Leak??

2005-02-21 Thread Paul Sobey
I have a fairly large threaded script which maintains a cache of information between threads using a shared hash. I'm storing hashrefs in the hash. I've noticed that the memory usage of the script gets absolutely huge (over a gig) after about an hour of information, despite the fact that I a

Suspending threads

2005-02-21 Thread Goetz Sebastian MTA
Title: Suspending threads Hallo everyone, First of all I have to mark myself as perl newbie so please be lenient towards me. Now the facts: I am using perl 5.8.0 on a WinXP machine. I have increasing needs for some kind of mechanism that supplies me with extended thread functionality. Espe

Re: Capitalize every 1st character of all the words in a string

2005-02-21 Thread Chris Wagner
http://cernunnos.cc/Resources/perl_bookshelf_CD_ver2/index.htm -- REMEMBER THE WORLD TRADE CENTER ---=< WTC 911 >=-- "...ne cede males" 0100 ___ Perl-Win32-Users mailing list Perl-Win32-Users@listserv.ActiveState.com To unsubscribe: h

Re: Capitalize every 1st character of all the words in a string

2005-02-21 Thread $Bill Luebkert
fad3r wrote: > Hi again, > > I would like capitalize every 1st character of all the words in a > string. So something like please help me would become Please Help Me. > Recently people on this list were helpful enough to tell me about a > function called substr. I used this to successfully remo