Re: Beginner General Questions

2003-07-26 11:55:35
On July 26, 2003 at 18:30, Gunnar Hjalmarsson wrote:

A potential useful change to is to wrap the requiring
of in an eval block:

  eval {
    require '';
  if ($@) {
    die "Unable to require '': $(_at_)\n",
    "\(_at_)INC = (\n", join("\n", @INC), ")\n";
That sounds like a good idea. But in this case, considering the error 
message " did not return a true value", the problem can't 
reasonably be that wasn't found at all, can it?

With the @INC printed out, you can examine it, in order, to see
which is being loaded.  The error indicates that you
need to examine the file, but you need make sure you are examining
the file that Perl is trying to load.


To sign-off this list, send email to majordomo(_at_)mhonarc(_dot_)org with the

<Prev in Thread] Current Thread [Next in Thread>