: reference to a subroutine in @INC
On Tue, Nov 11, 2003 at 04:12:03PM -0500, Raj (Basavaraj) Karadakal wrote:
> Hi,
> I am trying to package a perl script and the modules it uses , in a
> tar file. When untarred on any machine, the modules can be found in a
known
Have you looked at PAR?
&
On Tue, Nov 11, 2003 at 05:04:43PM -0500, Bob Showalter wrote:
> Bob Showalter wrote:
> > You can't use a reference to a subroutine in @INC
>
> Oops. Apparently in 5.8, you *can* do this.
And earlier, though it wasn't documented. I think this message started
the ball rolling - I was trying to d
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
Bob Showalter wrote:
> You can't use a reference to a subroutine in @INC
Oops. Apparently in 5.8, you *can* do this.
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Raj (Basavaraj) Karadakal wrote:
> Hi,
> I am trying to package a perl script and the modules it
> uses , in a
> tar file. When untarred on any machine, the modules can be
> found in a known
> relative path with respect to the script. The path in which
> these modules
> are available can chan
On Tue, Nov 11, 2003 at 04:12:03PM -0500, Raj (Basavaraj) Karadakal wrote:
> I am trying to package a perl script and the modules it uses , in a
> tar file. When untarred on any machine, the modules can be found in a known
> relative path with respect to the script. The path in which these modules
On Tue, Nov 11, 2003 at 04:12:03PM -0500, Raj (Basavaraj) Karadakal wrote:
> Hi,
> I am trying to package a perl script and the modules it uses , in a
> tar file. When untarred on any machine, the modules can be found in a known
Have you looked at PAR?
> relative path with respect to the s
On Tuesday, Nov 11, 2003, at 13:12 US/Pacific, Raj (Basavaraj)
Karadakal wrote:
I am trying to package a perl script and the modules it uses , in a
tar file. When untarred on any machine, the modules can be found in a
known
relative path with respect to the script. The path in which these
modu