Skip Menu |

This queue is for tickets about the Devel-REPL CPAN distribution.

Report information
The Basics
Id: 70928
Status: resolved
Priority: 0/
Queue: Devel-REPL

People
Owner: Nobody in particular
Requestors: zefram [...] fysh.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: re.pl picks up wrong perl
Date: Tue, 13 Sep 2011 15:31:04 +0100
To: bug-Devel-REPL [...] rt.cpan.org
From: Zefram <zefram [...] fysh.org>
The re.pl wrapper script starts "#!/usr/bin/env perl". This will pick up whichever perl is first in the path, which might be one that doesn't have Devel::REPL installed or has a broken version of some modules. It should instead build in the known path to the perl under which it was installed, like the cpan wrapper script and others. -zefram
On 2011-09-13 10:31:26, zefram@fysh.org wrote: Show quoted text
> The re.pl wrapper script starts "#!/usr/bin/env perl". This will pick > up whichever perl is first in the path, which might be one that doesn't > have Devel::REPL installed or has a broken version of some modules. > It should instead build in the known path to the perl under which it > was installed, like the cpan wrapper script and others.
This problem is still in the current version of Devel::REPL (1.003019). Solution is very probably to replace the shebang in re.pl: currently it's "#!/usr/bin/env perl", but it should be something like "#!perl". Regards, Slaven
On 2013-07-08 04:44:07, SREZIC wrote: Show quoted text
> This problem is still in the current version of Devel::REPL > (1.003019). Solution is very probably to replace the shebang in re.pl: > currently it's "#!/usr/bin/env perl", but it should be something like > "#!perl".
Agreed! thanks for the poke; this fix will be in the next release.