RE: reference to a subroutine in @INC

2003-11-11 Thread Raj (Basavaraj) Karadakal
: 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? &

Re: reference to a subroutine in @INC

2003-11-11 Thread Paul Johnson
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

Re: reference to a subroutine in @INC

2003-11-11 Thread Steve Grazzini
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

RE: reference to a subroutine in @INC

2003-11-11 Thread Bob Showalter
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]

RE: reference to a subroutine in @INC

2003-11-11 Thread Bob Showalter
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

Re: reference to a subroutine in @INC

2003-11-11 Thread Steve Grazzini
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

Re: reference to a subroutine in @INC

2003-11-11 Thread Paul Johnson
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

Re: reference to a subroutine in @INC

2003-11-11 Thread drieux
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