RE: Simple character replace problem

2003-06-08 Thread Scot Robnett
Talk about a confusing-looking hack, but this one seemed to work to take care of the hex values. $value =~ s/(\%){1}(\d|[a-fA-F]){1}(\d|[a-fA-F]){1}/ /g; Scot R. inSite -Original Message- From: steve ryan [mailto:[EMAIL PROTECTED] Sent: Sunday, June 08, 2003 5:38 PM To: [EMAIL PROTECTE

Simple character replace problem

2003-06-08 Thread steve ryan
Hi, I was wondering if someone could help me with this as it is driving me insane! I have a CGI script which writes a series of form fields to a tab-delimited file. I read in the fields and then replace certain characters (like commas etc.) The problem is - 1. My "+" symbols are not being repl

Re: Targeting two frames from one CGI - Spoke too Soon!

2003-06-08 Thread Greenhalgh David
you will still need to deal with 'targets' so you will need to know when you want target="_top" since you are repainting all of the window, and when you want target="MainBody" so that something clicked in the vertical navigation will show up in the MainBody Section... Yes, happy with those as a

Re: Targeting two frames from one CGI - Spoke too Soon!

2003-06-08 Thread drieux
On Sunday, Jun 8, 2003, at 10:15 US/Pacific, Greenhalgh David wrote: [..] You guys are going to have to send me invoices at this rate! That does indeed help. What I decided to do (and then confirmed when I read these posts) was instead of trying to call a frame from the original script, print a

Re: Targeting two frames from one CGI - Spoke too Soon!

2003-06-08 Thread Greenhalgh David
On Sunday, June 8, 2003, at 05:12 pm, Greenhalgh David wrote: Each directory then has at least a. index.cgi b. Vert_nav managing cgi c. Main_data managing cgi and other pieces of CGI code that are the worker bee's for that level of the problem HTH. Drieux/Kristof

Re: Targeting two frames from one CGI

2003-06-08 Thread Greenhalgh David
Each directory then has at least a. index.cgi b. Vert_nav managing cgi c. Main_data managing cgi and other pieces of CGI code that are the worker bee's for that level of the problem HTH. Drieux/Kristofer You guys are going to have to send me invoices at this rate!

Re: Targeting two frames from one CGI

2003-06-08 Thread drieux
On Sunday, Jun 8, 2003, at 06:16 US/Pacific, Greenhalgh David wrote: [..] My question is this, How do I get the CGI to output one set of data to the left frame and then rerun a different CGI with the main frame as the target? Dave Oh this is never as easy as it looks. If anyone ever mentio

Re: Targeting two frames from one CGI

2003-06-08 Thread Kristofer Hoch
The answer to this one may seem a bit simplistic, but bear with me please. The 'main' frame should be a cgi script that does not ever change. You want the behaviour of this frame to change by passing parameters. The main file could be named main.pl and accept parameters such as doLogin if they n

Targeting two frames from one CGI

2003-06-08 Thread Greenhalgh David
Hi all, Searched the archives for an answer to this, but nothing seems to answer the right question. My basic page has three frames. The top frame contains global navigation and never changes. The left frame (side.html, name=leftFrame) contains a "console" for want of a better word. The main

Re: More subroutine confusion

2003-06-08 Thread Rob Dixon
Rob Richardson wrote: > Dave, > > Your response dovetails nicely with my next question. I don't think the list has a response from Dave at the time of writing? > The module I'm working in begins as follows: > > use warnings; > use strict; > use CGI qw/:standard center strong *big delete_all/; 's

Re: More subroutine confusion

2003-06-08 Thread Kristofer Hoch
Rob, Have you considered useing the object oriented method? It is a little bit more complicated, BUT it will work. use strict; use warnings use CGI; my $CgiObject = new CGI; my $STRING = "There are not any trains running on thi day.Use the date dropdowns above to select adifferent day."; my