Re: Win32 compilation problem

2004-11-12 Thread Randy Kobes
On Fri, 12 Nov 2004, Sisyphus wrote: > However, you would expect that if compilation has > succeeded, then there will surely be some way to get it > installed. Since it seems to build OK, might it be a problem with understanding some command in the "install" target of win32/Makefile? Is there any

Re: Win32 compilation problem

2004-11-12 Thread Sisyphus
Lyle Hopkins wrote: All looked good until I went into my new perl folder (INST_TOP = $(INST_DRV)\perlc as I have an old binary install in \perl). It only had the folders bin and html. html had the fake file I created, and bin had a few perl files, namely perlglob.exe pl2bat.bat and wperl.exe. Wher

Re: Win32 compilation problem

2004-11-12 Thread Sisyphus
Lyle Hopkins wrote: Rob wrote:- nmake install >install.txt Thanks for the pointer. As I suspected it's going into the source folder. Here are a few exerts:- ..\miniperl.exe -I..\lib buildext.pl nmake -nologo perldll.def ..\ext Making B nmake -nologo ..\..\miniperl.exe "-I..\..\lib"

RE: Win32 compilation problem

2004-11-12 Thread Lyle Hopkins
Rob wrote:- >nmake install >install.txt Thanks for the pointer. As I suspected it's going into the source folder. Here are a few exerts:- ..\miniperl.exe -I..\lib buildext.pl nmake -nologo perldll.def ..\ext Making B nmake -nologo ..\..\miniperl.exe "-I..\..\lib" "-I..\..\lib" -M

Re: Win32 compilation problem

2004-11-12 Thread Sisyphus
Lyle Hopkins wrote: Hi, I'm compiling ActivePerl on Win2000 professional. I've hit a bit of a snag. It's work, and then it hasn't. Here are the details of what I've done. If you fancy giving it a go yourself feel free:- I downloaded the latest ActivePerl source from:- ftp://ftp.activestate.com/Ac

Win32 compilation problem

2004-11-12 Thread Lyle Hopkins
Hi,   I'm compiling ActivePerl on Win2000 professional.   I've hit a bit of a snag. It's work, and then it hasn't. Here are the details of what I've done. If you fancy giving it a go yourself feel free:-     I downloaded the latest ActivePerl source from:- ftp://ftp.activestate.com/ActivePer

Re: Parse::RecDescent grammar error?

2004-11-12 Thread Tom Pollard
On Fri, 12 Nov 2004, Christopher Hahn wrote: > I am trying to use Parse::Recdescent on fairly simple data, > but am getting stuck on capturing an escaped carriage return. > > I am not able to make too many assumptions about the structure of the data, > or I would probably just us a regexp. [...]

RE: Win32::OLE->new("MAPI.Session") generates Cannot change thread mode after it is set.

2004-11-12 Thread Ken Cornetet
Title: Message Win32::OLE->Initialize(Win32::OLE::COINIT_OLEINITIALIZE);my $session = Win32::OLE->new("MAPI.Session");   -Original Message-From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Warner, JimSent: Friday, November 12, 2004 1:21 PMTo: '[EMAIL P

Win32::OLE->new("MAPI.Session") generates Cannot change thread mo de after it is set.

2004-11-12 Thread Warner, Jim
Title: Win32::OLE->new("MAPI.Session") generates Cannot change thread mode after it is set. I am using the example code in the Active State documentation under the title, Is there a way to access MAPI from my Perl script?, at http://aspn.activestate.com/ASPN/docs/ActivePerl-5.6/faq/Windows/Act

Parse::RecDescent grammar error?

2004-11-12 Thread Christopher Hahn
Hey, I am trying to use Parse::Recdescent on fairly simple data, but am getting stuck on capturing an escaped carriage return. I am not able to make too many assumptions about the structure of the data, or I would probably just us a regexp. Here is a sample snippet: -

RE: Alternative to Expect.pm for ActiveState?

2004-11-12 Thread Thomas, Mark - BLS CTR
> Ordinarily I'd use Expect.pm, but that doesn't seem to have > made it to the ActiveState repository yet, and I've > completely given up on using CPAN here. > > Are there any suggestions for an ASPerl-friendly alternative? > > If anybody has an alternate approach to this problem, I'm all ears.

Re: A regular expression question

2004-11-12 Thread Ted Schuerzinger
$Bill Luebkert graced perl with these words of wisdom: >>>B. I want to get 1.62 from the string, how can I do it? >> >> >> Nobody seems to have answered part B. > > Actually they did. Sam's for one : > > $string = "sct-1.62-1"; > print "$1\n" if ($string =~ /^.+-(.+)-.+$/); You mean $1 capt

Re: Probably need help with a hash to do this

2004-11-12 Thread Jonathan D Johnston
On Wed, 10 Nov 2004 15:34:23 -0800, "Huber. John \(MSA\)" <[EMAIL PROTECTED]> wrote: > If you are looking to determine which numbers are on every line, the > following code will do that. The data set you presented didn't have a > number that appeared on every line, so changed one of the numbers i

RE: Folder manipulation (Win32)

2004-11-12 Thread Bullock, Howard A.
Title: Folder manipulation (Win32) One method for doing this is documented in the DirHog.pl at http://home.comcast.net/~habullock/Perlutilities.htm From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Conor Lillis Sent: Friday, November 12, 2004 7:10 AM To: [EMAIL PROTECT

Re: Folder manipulation (Win32)

2004-11-12 Thread gerhard . petrowitsch
Hi Conor, using a subroutine that is called recursively might be the best approach. Something like: use DirHandle; doJobInFolder( $curDir ); sub doJobInFolder { my ($dir) = @_; my $DH = new DirHandle $dir; while (defined (my $entry = $DH->read() ) ) { # skip '.' and '..' entries

Re: Folder manipulation (Win32)

2004-11-12 Thread $Bill Luebkert
Conor Lillis wrote: > Hi, > I have a script that works on certain file types that it finds in the > current folder, however what I require is that it will loop through the > current folder and all subfolders beneath it. What is the most efficient > way to do this ? use File::Find (it's fairly sim

Folder manipulation (Win32)

2004-11-12 Thread Conor Lillis
Title: Folder manipulation (Win32) Hi, I have a script that works on certain file types that it finds in the current folder, however what I require is that it will loop through the current folder and all subfolders beneath it. What is the most efficient way to do this ? thanks conor The

Re: threads::shared

2004-11-12 Thread $Bill Luebkert
Paul Sobey wrote: > Ended up writing this, which seems to work. Not sure it's perfect but I get > copies of the hash that look identical with Data::Dumper... > > Does anyone know a better way of doing this? Seems awfully long winded... I'm wondering if it will make a difference if you quit usin

RE: threads::shared

2004-11-12 Thread Paul Sobey
Ended up writing this, which seems to work. Not sure it's perfect but I get copies of the hash that look identical with Data::Dumper... Does anyone know a better way of doing this? Seems awfully long winded... P. $TestHash2 = ShareRecurse($TestHash); sub ShareRecurse { my $orig = shif