in reply to Re: Error "Compilation failed in require" with "use" syntax
in thread Error "Compilation failed in require" with "use" syntax

Thanks Ken. Sorry for a slow reply.

1) I added the use warnings;

2) I checked that the user (me) has read access to both files (At least, I right-clicked on their icon in Package Explorer of Eclipse, and saw that all three groups - Owner, Group, Other - had "Read" checked)

3) I do not know how to check the package namespace is correct in both files. I tried typing "package pmFile1;" into command line terminal but did not get a return value of 1. (I do not use terminal and command line much, I am sorry.) Could you tell me more specifically how I can check this?

Thanks again
  • Comment on Re^2: Error "Compilation failed in require" with "use" syntax

Replies are listed 'Best First'.
Re^3: Error "Compilation failed in require" with "use" syntax
by kcott (Archbishop) on Oct 04, 2013 at 09:15 UTC

    You seem to have very limited knowledge about your operating system and Perl. I suggest you look at the following:

    "3) I do not know how to check the package namespace is correct in both files."

    Just look at the code.

    -- Ken