[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-
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
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
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
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
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
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
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:
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" );
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
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
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
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
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
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
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 => {
16 matches
Mail list logo