On Tue, Nov 11, 2003 at 05:02:28PM -0500, Bob Showalter wrote:
> > What am I doing wrong?
> 
> You can't use a reference to a subroutine in @INC; you need to use paths.

It's a new feature (although the OP should probably be using FindBin
like you said).

   % perldoc -f require
   ...

       You can also insert hooks into the import facility, by putting
       directly Perl code into the @INC array.  There are three forms
       of hooks: subroutine references, array references and blessed
       objects.

-- 
Steve

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

Reply via email to