I'm trying to number packages the way it's written about on page 406 of 
Programming Perl, 4th ed., e.g. 

package Emailer 1.01;

However, when I do that, I get the following error:

syntax error at ss_files/Emailer.pm line 1, near "package Emailer 1.01"
Compilation failed in require at admin.cgi line 38.
BEGIN failed--compilation aborted at admin.cgi line 38.

        I'm running Perl 5.10.1 on my laptop so that should be new enough to 
handle this.  What am I doing wrong?

Thanks,
Frank

http://www.surfshopcart.com/
Setting up shop has never been easier!


--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to