Hi,
I'm using a perl cgi script which creates an html form, using a radio
button and a submit button, and I'm trying to find a way for the cgi code
to return two variables under one "onClick" command.
Here's the line-
As you can see, when the user clicks on the submit button, after making
the
this has some basic stuff
http://www.selectorweb.com/outlook.html
and i haven't looked deeply into it, but it could be a good starting place
http://www.slipstick.com/dev/outtech.htm
HTH
Tim
-Message d'origine-
De : [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]De la part de
Stovall, Adri
I've done it in the past using the Notes SQL Drivers and basic SQL syntax.
What you will need is:
- the drivers from the Lotus web site
- the Notes Client
- a Notes ID
- an SQL module for Perl like Win32::ODBC or DBI::ODBC (I would recommend
DBI).
The Notes ID you use to access the Notes databas
You mean will it store that info for you? Put the whole thing in
parentheses, and assign it to a variable...
$numberofchanges = ($dir =~ s/\\/\//g);
This should have a count of how many times it changed a "\" to a "/".
Got this straight out of "Programming Perl, 2nd Edition" page 73.
-O
Dovalle,
I use
the code below in a standard package of callable routines. It reads the
table passed to it and builds a pulldown box.
You
can modify that any way you want. Then I drop it into a html template
variable - but you can build your html in your script
if you
want and just hac
Cheers,
Can the regex expression below then be modified to find out if the number of
slashes in the expression is greater than one?
-Original Message-
From: Stovall, Adrian M. [mailto:[EMAIL PROTECTED]]
Sent: 10 September 2002 15:16
To: perl-win32-users
Subject: Regualr Expression
Y
> >$die=~s!\\!/!g;
> >
>
>There's also: $die =~ tr!\\!/!;
err, yes... there seems to be something wrong with the auto-correct in my
fingers, I'll have to look into them. 8^)
_
Chat with friends online, try MSN Messenger: htt
> > oops, do that and you'll confuse it. swap that for
> >
> > $dir=~s'\'/'g; #not interpolated with single quotes
>
>Huh? I've never heard of that. It doesn't work for me either. What version
>of Perl are you using, and where is this documented?
>
Hmm, it doesn't work either. meh. there's somet
OK, here is a question from a Perl newbie that maybe some of the masters
out there can help me with... ;-)
I have been asked to rewrite a program originally written in ObjectREXX on
a W2K platform to Perl, running on the same platform. I have found that by
far the Perl code is much nicer and ea
That worked perfectlythanks!
-Original Message-
From: $Bill Luebkert [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, September 10, 2002 1:42 AM
To: T&C Winquist
Cc: [EMAIL PROTECTED]
Subject: Re: substitution regular expression
T&C Winquist wrote:
> It seems like everytime I do a regular
On 10/09/2002 15:37:44 perl-win32-users-admin wrote:
>>$dir=~s!\!/!g; #should work better, no ambiguity with slashes
>
>
>oops, do that and you'll confuse it. swap that for
>
>$dir=~s'\'/'g; #not interpolated with single quotes
>
>~or~
>
>$die=~s!\\!/!g;
>
There's also: $die =~ tr!\\!/!;
> oops, do that and you'll confuse it. swap that for
>
> $dir=~s'\'/'g; #not interpolated with single quotes
Huh? I've never heard of that. It doesn't work for me either. What version
of Perl are you using, and where is this documented?
--
Mark Thomas[EMAIL PROTECTED]
Inter
>$dir=~s!\!/!g; #should work better, no ambiguity with slashes
oops, do that and you'll confuse it. swap that for
$dir=~s'\'/'g; #not interpolated with single quotes
~or~
$die=~s!\\!/!g;
that'll teach me
_
Send and receive Hotm
>Hi all,
>
>I am dealing with directories and I read somewhere that it is best to use /
>rather than \ when dealing with directories. In order to cover my back - I
>am attempting to parse the string and replace any \ with / using the
>following:
>
>print "Please enter directory to search: ";#
The problem here
$dir =~ s/\///g;
is that the two characters you are dealing with have special meaning. The
/ is interpreted as a quote delimiter because you are using s///. The
strings inside of s/// are interpolated, so the \ is interpreted as an
escape character. Try escaping both
Try this:
$dir =~ s/\//\\/g;
"Barlow, Neil" <[EMAIL PROTECTED]>
Sent by: [EMAIL PROTECTED]
09/10/2002 09:05 AM
To: [EMAIL PROTECTED]
cc:
Subject: Regualr Expression
Hi all,
I am dealing with directories and I read somewher
You're missing a few slashes...
$dir =~ s/\\/\//g;
Or (more clearly)
$dir =~ s|\\|/|g;
To use a backslash in a matching expression and have it treated as a
backslash (and not an escape sequence), you have to prefix it with
another backslash. If a forward-slash is the delimiter for your
expres
Hi all,
I am dealing with directories and I read somewhere that it is best to use /
rather than \ when dealing with directories. In order to cover my back - I
am attempting to parse the string and replace any \ with / using the
following:
print "Please enter directory to search: "; # directo
Hi all, as a favor to my wife, I am going to create a new mail notifier
(something that plays a sound and puts a picture on the screen when mail
shows up in outlook express). Incredimail sucks, and she finally
realized that. At any rate, I was wondering if anyone could point me to
some good docu
>>Adam Ingerman wrote:
>>
>>>I've seen a number of scripts that can use (or in some cases need) SSL,
>>>but the net:SSL from activeperl doesn't allow for Windows installs.
>>>Is there anyway arround this? or is there an SSL library that's just not
>>>on windows that it would need?
>>Net::SSL fro
>I'm really desperate here.
>I have a list of files in:
>D:\ftproot\edi\inbox\
>
>I want to move these files to :
>D:\ftproot\edi\tmp\
>before I can start processing.
>
>
>So I am using the code below but it doesn't work.
>I know I'm not eligible, but will you please help.
>
>
>opendir(INVOICES,'D
> Dovalle Yankelovich wrote:
>
> Hi,
> I want to read some data from a table of MySql then take every element I
> got and put it as item in html list box.
> I will appreciate if someone could help me
> Thanks
>
You could use DBI + DBD::mysql to retrieve the data from the table,
something like t
[EMAIL PROTECTED] wrote:
> I'm really desperate here.
> I have a list of files in:
> D:\ftproot\edi\inbox\
>
> I want to move these files to :
> D:\ftproot\edi\tmp\
> before I can start processing.
>
>
> So I am using the code below but it doesn't work.
> I know I'm not eligible, but will you p
23 matches
Mail list logo