develooper Front page | perl.perl5.porters | Postings from March 2000

use() bug in 5.005_02

Thread Previous | Thread Next
From:
Jeff Pinyan
Date:
March 30, 2000 09:21
Subject:
use() bug in 5.005_02
Message ID:
Pine.GSO.4.21.0003301217490.13802-100000@crusoe.crusoe.net
I'm not going to BOTHER trying perlbug.

jeffp@friday [12:17pm] ~ #535> perl -e 'BEGIN { use CGI; }'

jeffp@friday [12:18pm] ~ #536> perl -e 'BEGIN { use CGI }'
syntax error at /usr/local/lib/perl5/5.00502/CGI.pm line 1, near "package CGI"
BEGIN failed--compilation aborted at -e line 1.

What is the reason for that?  Why does it need the semicolon there?  To my
inexperienced brain, this is baffling.

-- 
MIDN 4/C PINYAN, NROTCURPI, US Naval Reserve             japhy@pobox.com
http://www.pobox.com/~japhy/                  http://pinyaj.stu.rpi.edu/
PerlMonth - An Online Perl Magazine            http://www.perlmonth.com/
The Perl Archive - Articles, Forums, etc.    http://www.perlarchive.com/


Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About