Re: Perl Regular Expression Problem

2005-08-23 Thread $Bill Luebkert
[EMAIL PROTECTED] wrote: > Perl Regular Expression Problem > > We are having a problem with Perl's evaluation of regular expressions. > > Here is a code snippet: > ># This regular expression is looking for a word ending in "s" followed ># by something in parentheses ># If the while-

Re: Perl Regular Expression Problem

2005-08-23 Thread Chris Wagner
It works as expected for me and it's build 811. At this point I would take it onto Bugtraq. Something's not right with ur build C:\WINDOWS\Desktop>perl $method = 'Modules("M6833x LA")'; $method =~ /(\S+)s\s*\(\s*(.+)\s*\)\s*$/; $method = $1 . "s"; print( "POST METHOD [$method]\n" ); POST METHOD

RE: [OLE] Win32::OLE can't capture events from SAPI5 COM objects

2005-08-23 Thread Jan Dubois
On Tue, 23 Aug 2005, Jouke Visser wrote: > I've been trying to write a script that captures the events from SAPI5 > (Microsoft's Speech API 5) COM objects. I've tried this for the > SAPI.SpVoice (Text To Speech) and SAPI.SpSharedRecoContext (Speech > Recognition) objects, and my eventhandler never

Perl Regular Expression Problem

2005-08-23 Thread paul_schwotzer
Perl Regular Expression Problem We are having a problem with Perl's evaluation of regular expressions. Here is a code snippet: # This regular expression is looking for a word ending in "s" followed # by something in parentheses # If the while-block is entered, $1 should contain the word

Re: Directory Test -d

2005-08-23 Thread Adam Peterson
of course! thanks! -adam --- Lyle Kopnicky <[EMAIL PROTECTED]> wrote: > Adam Peterson wrote: > > >hi, > > > >i'm attempting to open a parent directory that contains many sub > >directories and a few text and .pdf files. i want to test to see if the > >current file/dir is a directory before atte

RE: Win32::ODBC -- is the DSN a server or DB or table?

2005-08-23 Thread Ken Barker
This is referring to the ODBC name. you set this under control panel>administrative tools>Data Sources ODBC. Once you define your name - this is the name you supply for DSN. HTH Ken Barker IT Lead Americall Group, Inc 314-213-7927 [EMAIL PROTECTED] -Original Message- From: [EMAIL

Re: Directory Test -d

2005-08-23 Thread Lyle Kopnicky
Adam Peterson wrote: hi, i'm attempting to open a parent directory that contains many sub directories and a few text and .pdf files. i want to test to see if the current file/dir is a directory before attempting to open it and test the filenames within it. i'm trying to use -d test but it doesn

Win32::ODBC -- is the DSN a server or DB or table?

2005-08-23 Thread Craig Cardimon
When using Win32::ODBC, what exactly is the DSN or "Data Source Name?" I got this from the web: *** Creating the ODBC data source: An ODBC data source name(DSN) contains the connection information to access a database. It can be created and configured via the ODBC Data Source Administrator:

RE: Issue with POST

2005-08-23 Thread Jim zaba
Hi Mark,   One more issue   How do you handle http-equiv='refresh' ?   I'm logged in but I'm getting redirected. How do you handle such a case?   I have tried     print $mech->content();     sleep (5);    $mech->get( "http://www.governmentsecurity.org/forum/index.php?act=Search&CODE=getnew" ); 

Re: Creating outlook calendar items

2005-08-23 Thread andrew Black
Ken Cornetet wrote: It really doesn't need a module - using the outlook object model is pretty simple. Thanks - that should be enough to get me going. I guess it is style question as to whether this better as a module. My inclination would be to write it once then hide it so you don't worry

Directory Test -d

2005-08-23 Thread Adam Peterson
hi, i'm attempting to open a parent directory that contains many sub directories and a few text and .pdf files. i want to test to see if the current file/dir is a directory before attempting to open it and test the filenames within it. i'm trying to use -d test but it doesn't seem to work and says

RE: Issue with POST

2005-08-23 Thread Jim zaba
Hi Mark,   Here is the page I'm getting. I'm logged in but I'm getting redirected. How do you handle such a case?   I have tried     print $mech->content();     sleep (5);    $mech->get( "http://www.governmentsecurity.org/forum/index.php?act=Search&CODE=getnew" );    But it did not work.   Thanks

[OLE] Win32::OLE can't capture events from SAPI5 COM objects

2005-08-23 Thread Jouke Visser
Hello, I've been trying to write a script that captures the events from SAPI5 (Microsoft's Speech API 5) COM objects. I've tried this for the SAPI.SpVoice (Text To Speech) and SAPI.SpSharedRecoContext (Speech Recognition) objects, and my eventhandler never gets called. I'm pretty sure the code i

AW: perl2exe and the Missing Files: Win32::ActAcc and Dlls

2005-08-23 Thread Dietmar Fiehn, Dr.
Is it possible for you to bring your "private perl" with you to the locations where you would like to launch your script? In that case you can start your script using your perl (which need not to be installed!) and you don't need a script-compiler. We are juggling with uninstalled, script privat

Re: perl2exe and the Missing Files: Win32::ActAcc and Dlls

2005-08-23 Thread Veli-Pekka Tätilä
Hi, I'll reply to all of this in one go rather than writing several very short mails. Hope this is OK on the list: Don VanSyckel wrote: I've had a similar issue with perl2exe. Try "require" instead of "use", Well, thanks for the tip, though I strongly suspect this is a DLL location issue bas

RE: Issue with POST

2005-08-23 Thread Thomas, Mark - BLS CTR
Jim, When you're using forms-based authentication rather than basic authentication, it's generally easier to use Mechanize. Mechanize handles cookies automatically. use WWW::Mechanize; my $mech = WWW::Mechanize->new(); $mech->get($url); $mech->submit_form( fields => {