RE: Easy Reg-Ex

2003-07-07 Thread Carl Jolley
On Fri, 4 Jul 2003, Beckett Richard-qswi266 wrote: Isn't it because the ! hasn't been escaped with a \ that it doesn't work? That's what I thought, hence: /^Test.+PASS\!$/ This seems to work nicely. - The ! is not a regex metacharacter so it does not

Re: Embedding Perl (Mail::SpamAssassin) in a C program

2003-07-07 Thread csaba . raduly
On 07/07/2003 16:09:21 perl-win32-users-admin wrote: [snip] I am really hoping for the fastest solution and not necessarily the easiest. I'm wondering if I can do something like: eval_pv(use Mail::SpamAssassin); eval_pv(my $spamobj = Mail::SpamAssassin-new()); eval_pv(my $status =

Re: Easy Reg-Ex

2003-07-07 Thread Carl Jolley
On Fri, 4 Jul 2003, M Ajmal wrote: Hi, I'm parsing a file and want to eliminate all lines that start with Test and end with PASS!. I'm trying to do the following: /^Test.+PASS!$/ but it says no patterns match! Some help please. Show more code, please. [EMAIL PROTECTED] Carl

Re: Help needed: String 'C++' was treated as Nested quantifiers

2003-07-07 Thread Carl Jolley
On Mon, 7 Jul 2003, Wenjie Wang wrote: Greetings, I'm using regular expressions to parse strings read in from a data file. The data file happened to have text which contains ++ and it was treated as Nested quantifiers before HERE in regex m/%s/ at run time. Is there any way to avoid it?

RE: Displaying a status bar

2003-07-07 Thread Hsu, David
Thanks Mark for the status bar. It seems to work well and definitely what I want, but the status bar is disappearing too soon, even though I am controlling when to disappear. I am not sure why it is skipping the other code and processing the code where I tell the status bar to disappear. Here is

RE: Installing Win32::SerialPort

2003-07-07 Thread Scott Campbell
I have never installed Win32::Serialport from a ppm/ppd. However, I always just place 2 files in my perl library directories, and it works fine. C:\perl\lib\Win32\SerialPort.pm C:\perl\lib\Win32API\CommPort.pm You can get this package at cpan, or if you want, email me, and I'll send them to

download patches.

2003-07-07 Thread Molumuri, Janardhan
Hi all, Can we automatically download patches, by parsing HFnetchk output and XML file. Thanks, --janardhan. ___ Perl-Win32-Users mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Re: pound sign trouble

2003-07-07 Thread Michael Higgins
Allegakoen, Justin Devanandan wrote: Peter, I was playing around with this earlier. Heres what I get:- Microsoft Windows XP [Version 5.1.2600] (C) Copyright 1985-2001 Microsoft Corp. C:\Perl\Programsperl -e print ord(''); 163 C:\Perl\Programsperl -e print chr(163); C:\Perl\Programsperl