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 be written as 'br' or 'br()'.

: use ScheduleDay;
: use Train;
: 
: package Brtest;

    We have left package main and are now in package
'Brtest'.

: my $testString = br;

    There is no subroutine defined as 'br' which is
shorthand for 'Brtest::br'. So 'br' must be a bareword
which is not allowed under strict.


HTH,

Charles K. Clarkson
-- 
Head Bottle Washer,
Clarkson Energy Homes, Inc.
Mobile Home Specialists
254 968-8328




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

Reply via email to