Re: using an AND operator

2003-01-11 Thread Rob Dixon
Hi Susan "Susan Aurand" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > Is there an AND operator in perl? For example; > > if ($SRF=1 and $SRL=1) {print"YES";) > > Any help would be appreciated. > Thank you - Susan > What you've written will work as it is, e

Forcing a refresh from within a CGI script

2003-04-02 Thread Rob Dixon
Hi all. I'm in the process of modifying an existing CGI script. There is a page of HTML which has an anchor to the script which, when run, modifies the HTML file which linked to it and redisplays it. At present this is done by returning just the header line Location: http://www.domain.com/ref

Re: File::Find

2003-04-03 Thread Rob Dixon
Hi Jeff Jeff wrote: > I am attempting to use the File::Find module to go through all directories and > subdirectories > and preform a search and replace function. I am simply opening each file and line > by line > comparing to an input string parameter. If I find it, I replace with the input

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: look arounds

2003-07-07 Thread Rob Dixon
Steve Grazzini wrote: > On Sun, Jul 06, 2003 at 11:20:03AM -, mark sony wrote: > > $_ = "The brown fox jumps over the lazy dog"; > > /the (\S+)(?{ $color = $^N }) (\S+)(?{ $animal = $^N })/i; > > print "color = $color, animal = $animal\n"; > > > > When I run the program it gives :color = ,

Re: Date to seconds

2003-09-17 Thread Rob Dixon
Kit-Wing Li wrote: > > Does anybody know of a quick method in perl to turn a date string into its > equivalent in seconds, include milliseconds if possible? Ex: 20030910 > 13:50:25.6 to 1063202644. Thanks much! The Date::Manip module will do it for you easily, as long as you're not worried abou

Laying Out HTML Forms

2003-10-15 Thread Rob Dixon
Does anyone know of a tidy way to go about the tedious business of laying out HTML forms using enclosing tags? Thanks, Rob -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Laying Out HTML Forms

2003-10-16 Thread Rob Dixon
Casey West wrote: > > It was Wednesday, October 15, 2003 when Rob Dixon took the soap box, saying: > : Does anyone know of a tidy way to go about the tedious > : business of laying out HTML forms using enclosing > : tags? > > I admit that the internals of CGI::Form

Active 'back' buttons

2004-03-29 Thread Rob Dixon
Hi guys. What's the 'usual' way (if there is one) of implementing an 'active' back button (which does the equivalent of the browser's back button but is implemented in CGI code)? If, say, I'm doing a database search and come up with a list of records, each of which can be clicked on to provide th