Hello,
I only knew of one way to do them: s///
But japhy once answered me with this format: s{}{}
Another guy said you can use exclamation points? I'm assuming: s!!!
I've tried some other formats with brackets, parenthesis, etc. Nothing else
works.
What other formats will work?
Thanks!
--- Rene Verharen <[EMAIL PROTECTED]> wrote:
> Hi,
>
> In one of my scripts I do a search and replace like this
> :
>
> $text =~ s/$search/$replace/;
>
> This works fine, but if $search or $replace contains
> one or more words between round brackets () it doesn't
> what I had in mind :
>
Hi,
In one of my scripts I do a search and replace like this :
$text =~ s/$search/$replace/;
This works fine, but if $search or $replace contains one or more words
between round brackets () it doesn't what I had in mind :
$text = "This is a text (with brackets)...";
$rearch = "(wi
Hi,
Can someone please point me in the right direction ?
In a script I'm trying to write I need to create a new directory. This new
directory looks something like /directory/somedir/someotherdir/yetanotherdir.
What I do now is :
mkdir "$homeDir/directory", 0755";
mkdir "$homeDir/dire
Dear Bob,
Ty for the answer, but I can't figure out how to rewrite the cgi script for
this use. Can you be more specific?
Henk
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
> -Original Message-
> From: Henk van Ess [mailto:[EMAIL PROTECTED]]
> Sent: Saturday, January 19, 2002 8:20 AM
> To: [EMAIL PROTECTED]
> Subject: Boxes
>
>
> Can someone have a look at
>
> http://www.voelspriet.nl/googledocumentenzoeker.htm
>
> I want to use ONE search box - not five,
Can someone have a look at
http://www.voelspriet.nl/googledocumentenzoeker.htm
I want to use ONE search box - not five, as I do now. Can this be done?
Henk van Ess
www.voelspriet.nl
Maybe the file name has a .cgi extension? .cgi is not set for exeeute by
default. Try renaming it .pl assuming you installed ActivePerl. Or in
Internet Services Manager right click the scripts folder, and take a look at
the instructions in the attached mail of few days ago. I'm figuring that'l