Substitution formats

2002-01-19 Thread Troy May
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!

Re: search and replace

2002-01-19 Thread Jonathan E. Paton
--- 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 : >

search and replace

2002-01-19 Thread Rene Verharen
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

mkdir in cgi-script

2002-01-19 Thread Rene Verharen
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

Re: Boxes

2002-01-19 Thread Henk van Ess
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]

RE: Boxes

2002-01-19 Thread Bob Showalter
> -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,

Boxes

2002-01-19 Thread Henk van Ess
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

RE: Cgi on IIS

2002-01-19 Thread Gary Hawkins
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