On 7/1/06, Ryan Dillinger <[EMAIL PROTECTED]> wrote:

The first error states:  unquoted string "subroutines" may clash with
future reserved word at NPtest.pl line 6.

That is because perl doesn't know what "subroutines" means, at that
point in your program. The message is suggesting that you use quotes,
in case you meant it to be a string.

package NEWPACKAGE

I think you need a semicolon after that line. Also, either NewPackage
or New_Package is probably easier to read than NEWPACKAGE.

                                    use warnings;

subroutines
require 'NEWPACKAGE.pl';

Is the word "subroutines" intended to be a comment? I can't see any
other reason for it to be there.

Hope this helps!

--Tom Phoenix
Stonehenge Perl Training

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to