Does this mean that I have to change the first line of my script to /m1/shared/bin/perl to get it to point to 5.8.5 vs. /usr/bin/perl?
Yeah, or to make it more explicit you could create a symlink:
ln -s /m1/shared/bin/perl /usr/bin/perl5.8.5
and then use:
#!/usr/bin/perl5.8.5
One thing to keep in mind is when you install new modules you'll probably want to:
perl5.8.5 Makefile.PL make make test make install
So that the modules are available under perl5.8.5. That's a neat utility, thanks for posting Michael.
//Ed