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, 'main::br' which can

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_all/; > > use ScheduleDay; > use Train; > > pack

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

2003-06-07 Thread Rob Richardson
Greetings again! I could of course be wrong... I just found that I had "use warnings" and "use strict" commented out in the module that compiled! Excuse me for a while while I track down a hundred or so violations that uncommenting them uncovered. RobR --- Rob Richardson <[EMAIL PROTECTED]> wr

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++ programmer and so I should be as con