http://www.perlmonks.org?node_id=1037535

Thai Heng has asked for the wisdom of the Perl Monks concerning the following question:

The ubuntu install perl 5.14.2 default, and I reinstall perl 5.18 in another directory.

According the monks' reply, I change $Path and can run perl 5.18 in command line. And another question coming: DBIx::Class::Schema cpan module can't works. my questions are

1. Is cpan modulers depending on the perl version? and I must reinstall cpan modulers using perl 5.18?

2. Catalyst.pl use '#!/usr/bin/perl', and Can this change to new perl 5.18.0

thanks a lot.

Replies are listed 'Best First'.
Re: perl version and cpan module
by Anonymous Monk on Jun 07, 2013 at 00:29 UTC
    1) yes 2) yes, if you use the new perl to install catalyst, the shebang should be rewritten automagically, but you have to add the directory where catalyst.pl lives into $PATH also, same as you did for your localperl