Re: More subroutine confusion

2003-06-08 Thread Rob Dixon
Rob Richardson wrote: > --- Kristofer Hoch <[EMAIL PROTECTED]> wrote: > > 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 $STRI

Re: More subroutine confusion

2003-06-08 Thread Rob Richardson
Kris, Thanks for the suggestion, but I'm not sure what the benefit is. I like objects. The goal of my current effort is to objectify an unbelievably ugly mass of spaghetti code. I am a C++ programmer by trade. But I don't see what the use of a CGI object gets me here. Rob --- Kristofer Hoch

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

Re: More subroutine confusion

2003-06-08 Thread Rob Dixon
Rob Dixon wrote: > You then have '$CGI::strong' and '$main::strong' as synonyms for > the same subroutine. There is still, however, no 'Schedule::strong'. Should have been 'CGI::strong' and 'main::strong'. My apologies. Rob -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional command

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-07 Thread Dave K
Rob, > Your response dovetails nicely with my next question. The module I'm > working in begins as follows: > > use warnings; > use strict; > use CGI qw/:standard center strong *big delete_all/; Because the code you have included does not specifically say so I have to guess that: package NotShow

More subroutine confusion

2003-06-07 Thread Rob Richardson
Dave, Your response dovetails nicely with my next question. The module I'm working in begins as follows: use warnings; use strict; use CGI qw/:standard center strong *big delete_all/; After putting parentheses after my calls to "br", the program compiled and started running. It barfed, though,