Wiggins d'Anconia wrote:

Harry Putnam wrote:

  pfnc.pm did not return a true value at ./use.pl line 2.
  BEGIN failed--compilation aborted at ./use.pl line 2.

Place a line such as:

1;

In the bottom of the library so that it "returns true". This is standard.

http://danconia.org


Sorry "customary" (as the perldoc for require states) is a better word than "standard". From perldoc -f require:

"The file must return true as the last statement to indicate successful execution of any initialization code, so it’s customary to end such a file with "1;" unless you’re sure it’ll return true otherwise. But it’s better just to put the "1;", in case you add more statements."

http://danconia.org


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

Reply via email to