RE: deterministic regexps (missed something)

2002-03-27 Thread Ken Fox
Folks - $check is not set following the line if ($line=~ =~/$megapat/ ) { because I am trying to figure this part out -- actually, One of the issues I am having is that $megapat is currently matching every line in the file... which is not really what I

Re: deterministic regexps (missed something)

2002-03-27 Thread Dirk Bremer
Ken, Why don't you post a few lines of the data that you are trying to match, especially the lines that match. Dirk Bremer - Systems Programmer II - ESS/AMS - NISC St. Peters 636-922-9158 ext. 652 fax 636-447-4471 [EMAIL PROTECTED] www.nisc.cc - Original Message - From: Ken Fox

Re: deterministic regexps (missed something)

2002-03-27 Thread Dirk Bremer
Ken, The following code used after your search might be useful: # A regex debug structure. use English; if (defined $PREMATCH) {print(PREMATCH = $PREMATCH\n)} if (defined $MATCH) {print(MATCH = $MATCH\n)} if (defined $POSTMATCH) {print(POSTMATCH = $PREMATCH\n)}

[HDI] Find out reason for AdminMisc::LogOnAsUser failing?

2002-03-27 Thread Ky-Anh Phan
HDI = How Do I :-) Have tried GetLastError, and $^E .. No cigar :( Thanks. ___ Perl-Win32-Users mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Re: Win32::API

2002-03-27 Thread Carl Jolley
On Wed, 27 Mar 2002, Chris Yocum wrote: Hello All, Well, I have a project that requires me to: parse a PDF file, add some content inside the file, then out put the file for viewing on a browser that has Adobe Acrobat reader installed. I searched the net. I found the great pdflib

Perms question

2002-03-27 Thread MacAlpine, Tim
I found a reference to Win32::Perms in one of the activestate lists as an alternative to Win32::FileSecurity. (My code using Win32::FileSecurity stopped working when I moved it to Win2k from NT 4.0. There seems to be a problem adding domain accounts to file ACLs - something about the name

RE: Perms question

2002-03-27 Thread MacAlpine, Tim
Well, sometimes just asking the question gets your mind working in new paths. I discovered that the Set method that I was using tries to set the SACL, owner and group as well as the DACL. Setting the Owner requires the Take Ownership privilege which is by default restricted to administrators. By

Re: deterministic regexps

2002-03-27 Thread Carl Jolley
On Wed, 27 Mar 2002, Ken Fox wrote: Hi folks -- not 100% sure this is the rigt place so point me right if I'm wrong G I'm trying to do a fast search through an extremely large file and what I want to do is to execute code (or at least set a variable to a value) based on which regular

Re: deterministic regexps

2002-03-27 Thread Keith C. Ivey
Ken Fox [EMAIL PROTECTED] wrote: I cannot figure out how to set a variable based on which regexp matched -- If you're using a relatively new version of Perl (5.6.1 may be required), the special variables @- and @+ may be useful. They are arrays holding the start and end positions of the

Mail-Sender upgrade problem

2002-03-27 Thread Mike Reilley
I have just install perl v5.6.1 build 631 I used ppm to install Mail-Sender from the ActiveState Repository This installed Mail-Sender 0.7.10 I the went to Jenda's site to upgrade to the latest Mail-Sender 0.7.13.1 I used the following command upgrade Mail-Sender -install the reply Error: Package

Re: Win32::API

2002-03-27 Thread Chris Yocum
Thanks everyone for your help. First, Mr. Calpini, I tried what you put in your email. I still got an access violation (I'm on a Win2000 Service Pack 2; the library was compiled with Visual C++ 6.0 Enterprise Edition). The violation was The instruction at 0x78001c9d referenced memory

Re: Mail-Sender upgrade problem

2002-03-27 Thread $Bill Luebkert
Mike Reilley wrote: I have just install perl v5.6.1 build 631 I used ppm to install Mail-Sender from the ActiveState Repository This installed Mail-Sender 0.7.10 I the went to Jenda's site to upgrade to the latest Mail-Sender 0.7.13.1 I used the following command upgrade Mail-Sender

Re: Mail-Sender upgrade problem

2002-03-27 Thread Edward G. Orton
- Original Message - From: Mike Reilley [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, March 27, 2002 7:46 PM Subject: Mail-Sender upgrade problem I have just install perl v5.6.1 build 631 I used ppm to install Mail-Sender from the ActiveState Repository This installed

Re: Mail-Sender upgrade problem

2002-03-27 Thread Mike Reilley
Bill, I found MIME/Decoder/QuotedPrint.pm as advertised in my C:\perl directory. I then retried to install using ver 3.0 beta 3 of ppm and received the same error. I then tried to install using ppm version 2.1.5 and received no errors install went as advertised. Both versions ship with PERL