Uh oh, it turns out I'm trying to use the 'ln $HOME/perl5/perlbrew/perls/perl-5.20.1/bin/perl /usr/bin/perl' and getting a "Invalid cross-device link" because my $HOME and /usr/bin are on different devices. Any advice to fix this?
Use a soft link for cross-device linking instead of a hard link (which is a technical impossibility in that case). ie:
rm /usr/bin/perl; ln -s $HOME/perl5/perlbrew/perls/perl-5.20.1/bin/perl /usr/bin/perlNote that this only "solves" the problem quoted. The usual caveats raised in the other replies still stand.
In reply to Re: How to make symlink to new upgraded Perl?
by hippo
in thread How to make symlink to new upgraded Perl?
by bulrush
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |