RE: br -- problem caused by "Package"?

2003-06-07 Thread Charles K. Clarkson
Rob Richardson <[EMAIL PROTECTED]> wrote: : : Here is the entire program: : : #!/usr/bin/perl : : use warnings; : use strict; : use CGI qw/:standard center *big delete_all/; All the above functions from CGI.pm are imported to 'main'. They are available as, for example, 

Re: br -- problem caused by "Package"?

2003-06-07 Thread Dave K
Rob, > > I tried another program to illustrate the "br" problem. Here is the > entire program: > Not really - the packages ScheduleDay and Train are missing > #!/usr/bin/perl > > use warnings; > use strict; > use CGI qw/:standard center *big delete_a

Re: br -- problem caused by "Package"? -- my bad

2003-06-07 Thread Rob Richardson
on <[EMAIL PROTECTED]> wrote: > Kristofer and everybody else, > > "br" is successfully used without parentheses in the first snippet I > posted. I don't believe that parentheses are required for subroutine > calls that don't have arguments, although I suppose I

Re: br -- problem caused by "Package"?

2003-06-07 Thread Rob Richardson
Kristofer and everybody else, "br" is successfully used without parentheses in the first snippet I posted. I don't believe that parentheses are required for subroutine calls that don't have arguments, although I suppose I should use them since I'm mainly a C++ program

Re: br

2003-06-07 Thread Kristofer Hoch
Rob, Great going, you are adding the 'use strict;' pragma to your code.! Bravo. Now, here is the deal. Tell Perl that 'br' is a function by doing either '&br' or 'br();'. That should do the trick. You'll notice that all of your other fun

br

2003-06-07 Thread Rob Richardson
Greetings! I am attempting to use objects to organize a program somewheat intelligently. I am running into a problem using the CGI method "br". My main routine has the following use statements: use CGI::Carp qw(fatalsToBrowser); use CGI qw/:standard center *big delete_all/; It begi