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 consistent as
possible between the two languages.

I tried another program to illustrate the "br" problem.  Here is the
entire program:

#!/usr/bin/perl

use warnings;
use strict;
use CGI qw/:standard center *big delete_all/;

use ScheduleDay;
use Train;

package Brtest;

my $testString = br;


When I compile this, I get the following error:

Bareword "br" not allowed while "strict subs" in use at brtest.pm line
12.

When I comment the "package Brtest;" line, I don't get the error.

What is happening?

Thanks again!

Rob

P.S.  I am cross-posting this to the [EMAIL PROTECTED] list because
this is looking as though it's not a CGI issue.

P.P.S. to any list administrator who may read this:  Whenever I click
"Reply", the original sender is automatically put into my "To:" box,
but "[EMAIL PROTECTED]" is not.  The same is true for the
"[EMAIL PROTECTED]" list.  Can that be changed?


__________________________________
Do you Yahoo!?
Yahoo! Calendar - Free online calendar with sync to Outlook(TM).
http://calendar.yahoo.com

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to