In my opinion, root should only use the system Perl. But if you're careful with always using the "correct", fully qualified hashbang line (#!/opt/perl/... or #!/usr/bin/perl) instead of using perl -w ... from the command line, and all shell scripts also do that, you should be fine. But I'd still leave the system Perl the "standard" Perl and explicitly call the other Perl.
In reply to Re: After installing my own perl into /opt, is it ok to set root's PATH so /opt/perl/bin/perl comes before /usr/bin/perl? (Debian)
by Corion
in thread After installing my own perl into /opt, is it ok to set root's PATH so /opt/perl/bin/perl comes before /usr/bin/perl? (Debian)
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |