Re: XPath gurus???

2006-04-11 Thread Trevor Joerges
Thanks Trevor... Here's what I'm attempting to get my hnads around... Basically, I'm looking to create a massive class schedule application for 300-500 universities. This requires that I be able to parse the class schedule/faculty information from the college web sites, which requires that I ha

RE: XPath gurus???

2006-04-11 Thread bruce
bottom post it is!!! check my responses below.. -Original Message- From: Trevor Joerges [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 11, 2006 5:52 PM To: [EMAIL PROTECTED] Cc: Perl-Win32-Users@listserv.ActiveState.com Subject: Re: XPath gurus??? > Thanks Trevor... > Here's what I'm at

Re: Network shares

2006-04-11 Thread Trevor Joerges
I'm a bit new to this... What's the sensible equivalent to: `net use z: names.changed.to.protect\\the\\innocent`; -- David Budd, IT Services Kilburn Building, University of Manchester Tel 56033 Email [EMAIL PROTECTED] Look at Win32::NetResource::AddConnection This is not necessarily a

RE: XPath gurus???

2006-04-11 Thread bruce
Thanks Trevor... Here's what I'm attempting to get my hnads around... Basically, I'm looking to create a massive class schedule application for 300-500 universities. This requires that I be able to parse the class schedule/faculty information from the college web sites, which requires that I have

RE: Replace Leading Spaces (fwd)

2006-04-11 Thread Thomas, Mark - BLS CTR
> I think I can explain it. When (5) sees the .*\d, the .* > grabs all the characters, then the RE engine backs up until > it "releases" a digit to match the \d. (1a), on the other > hand, just grabs spaces with \s*; it isn't allowed to grab > anything else. That wasn't it... Surprisingly, rep

RE: What is the best way to write a sort comparison function thataccesses non-global data?

2006-04-11 Thread D D Allen
So... going a bit overboard  I coded three variations of the print_names subroutine.   Version 1 is my version with the sort comparison inline (no external sort subroutine).   Version 2 is your version with the sort comparison in a sort subroutine that includes two internally scoped variable

Network shares

2006-04-11 Thread David Budd
I'm a bit new to this... What's the sensible equivalent to: `net use z: names.changed.to.protect\\the\\innocent`; -- David Budd, IT Services Kilburn Building, University of Manchester Tel 56033 Email [EMAIL PROTECTED] ___ Perl-Win32-Users mai

XPath gurus???

2006-04-11 Thread bruce
Hi... Any XPath gurus on the list? -Bruce [EMAIL PROTECTED] ___ Perl-Win32-Users mailing list Perl-Win32-Users@listserv.ActiveState.com To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

RE: Replace Leading Spaces (fwd)

2006-04-11 Thread Joe Discenza
Thomas, Mark - BLS CTR wrote, on Tuesday, April 11, 2006 10:28 AM : $Bill Luebkert wrote: : > Rate RE2 RE5 RE3 RE4 RE1 RE1a : > RE2 136761/s -- -58% -61% -64% -74% -74% : > RE5 326584/s 139% -- -6% -14% -37% -37% : > RE3 347705/s 154% 6% -- -9% -33% -33% : > RE4 381098/s

Re: Replace Leading Spaces (fwd)

2006-04-11 Thread $Bill Luebkert
Thomas, Mark - BLS CTR wrote: > What surprises me is the substantial difference between the lookahead > expressions, RE1a and RE5. Can anyone explain why there's such a > difference? I may have had a cut-n-paste problem there - here's the subs : sub re0 { $str = ' 5999'; } sub re1 { $str = '

RE: Replace Leading Spaces (fwd)

2006-04-11 Thread Thomas, Mark - BLS CTR
$Bill Luebkert wrote: > Rate RE2 RE5 RE3 RE4 RE1 RE1a > RE2 136761/s -- -58% -61% -64% -74% -74% > RE5 326584/s 139% -- -6% -14% -37% -37% > RE3 347705/s 154% 6% -- -9% -33% -33% > RE4 381098/s 179% 17% 10% -- -26% -26% > RE1 516529/s 278% 58% 49% 36% -- -0% >

RE: What is the best way to write a sort comparison function thataccesses non-global data?

2006-04-11 Thread Charles K. Clarkson
Levner, David wrote: : Thanks to everyone who replied to my original message (see below). : I think both the alternatives that have been posted so far have : merit. I looked up nested subroutines in the Camel book today and : got a new idea: closures. [snip] : The warning is bogus, but according