OLE-Browser Problem

2005-10-10 Thread Bernard Kenik
I have a brand new installation of ActivePerl 5.8.7 on a Windows XP with SP2 included When I select the OLE Browser htm short cut, I get an IE Window with blank frames. I have Browser.htm and Browser.html in the html::OLE-Brower folder. Clicking on the html file brings up an IE Window with em

Win32::OLE, ADODB.Stream and ADODB.Command problem.

2005-10-10 Thread Luke Bakken
Hello all, I'm trying to use Win32::OLE (version 0.1703) and the ADODB objects to retrieve XML being produced by a stored procedure on SQL server. I used the following code as a guide: http://msdn.microsoft.com/library/en-us/dnsqlmag2k/html/adoxmlListing_02.txt If I create a VB project using the

Re: Regex Newbie Q: Non-Trivial Substitution and Modifying the Matched String

2005-10-10 Thread Andy_Bach
Not sure I'm getting it completely, but using match in a while loop w/ the /g modifier lets you process a string one match at a time: my $string = "Lots of words to be read one at a time.\nthough more than one line"; while ( $string =~ /(\w+)/g ) { print "Found: $1\n"; print "Proceessing ..

RE: SOAP::Lite agent connecting through an authenticated proxy

2005-10-10 Thread Peter Guzis
I believe this is what you need: http://cookbook.soaplite.com/#accessing%20service%20with%20proxy%20authentication -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Jason Rice Sent: Monday, October 10, 2005 8:05 AM To: perl-win32-users@listserv.ActiveState.com

Re: filename sorting by last letter in the filename

2005-10-10 Thread Chris Wagner
At 04:10 PM 10/10/05 +0200, Miha Radej wrote: >Thanks for the fast reply. The blokes use an intersection of the local >and english alphabet, which leaves 22 characters to work with (exclude >x, y, w, q). The wrap only occurs at the end of the alphabet and when >letters from the beginning are bei

Re: Regex Newbie Q: Non-Trivial Substitution and Modifying the MatchedString

2005-10-10 Thread Veli-Pekka Tätilä
Joe Discenza wrote: "Veli-Pekka Tätilä" wrote, on Sun 10/9/2005 15:58 replacement is so complex that it cannot be expressed as a straight substitution. So I would have to find a piece of text, process it in a separate function, and replace the matched text with the newly computed text. This goes

Re: Regex Newbie Q: Non-Trivial Substitution and Modifying the Matched String

2005-10-10 Thread Veli-Pekka Tätilä
Kenneth McNamara wrote: You're implying that the music macro language is pos() sensitive. That is a pretty severe problem in itself. Hmm, I'm not totally sure if it is. But true certain modifiers apply until the next note, such as one or more periods. My MML experience is actually from trying t

SOAP::Lite agent connecting through an authenticated proxy

2005-10-10 Thread Jason Rice
I’ve got a SOAP::Lite based user agent at a client site connecting to our hosted APIs. Previously they had an IP based proxy where setting HTTP_proxy in the environment worked fine. They have recently switched to an authenticated proxy (with the user/pass/domain). I have had our client ad

Re: filename sorting by last letter in the filename

2005-10-10 Thread Miha Radej
Hi! Thanks for the fast reply. The blokes use an intersection of the local and english alphabet, which leaves 22 characters to work with (exclude x, y, w, q). The wrap only occurs at the end of the alphabet and when letters from the beginning are being used again. They had agreed on such nome

Re: filename sorting by last letter in the filename

2005-10-10 Thread Kenneth McNamara
Miha - Drop the extension. Split the name into an array, reverse the array and join it, put it into an array. Sort alphabetically the array (special subroutine that you can find online) -- then reverse the name, add the extension and print out. KenMc On Oct 10, 2005, at 5:16 AM, Miha

Re: filename sorting by last letter in the filename

2005-10-10 Thread Chris Wagner
The problem with ur "type b" sort is that u need some way to automatically know which letter is "first" in the custom sort. This is a round-robin sort where the incrementation wraps around to the beginning. U need a way to save state information between sorts so that the script knows to start thi

RE: Regex Newbie Q: Non-Trivial Substitution and Modifying the MatchedString

2005-10-10 Thread Joe Discenza
Title: Regex Newbie Q: Non-Trivial Substitution and Modifying the MatchedString "Veli-Pekka Tätilä" wrote, on Sun 10/9/2005 15:58: Yet another newbie question about regular expressions:: I'd like to find and replace bits of text as usual. However, rather than: replace all occurrences in one

Re: Regex Newbie Q: Non-Trivial Substitution and Modifying the Matched String

2005-10-10 Thread Kenneth McNamara
Veli-Pekka You're implying that the music macro language is pos() sensitive. That is a pretty severe problem in itself. Can you output the macro language in a format that is not position sensitive - do a global change - then process the macro language back into original format? I thin

filename sorting by last letter in the filename

2005-10-10 Thread Miha Radej
Hi! I have the following problem. As input data I have an array of filenames, ie: @files_a = qw(file1a.ext file1.ext file1m.ext file1g.ext) @files_b = qw(file2w.ext file2a.ext file2z.ext file2b.ext file2.ext file2x.ext file2y.ext file2c.ext) What I need to is sort the arrays by the versions