in reply to
Dynamic $^X
why not just use
#!/usr/bin/env perl
[download]
it is then up to your environment to set up which perl to use, which may be 5.8 on one machine and 5.10 on another.
Comment on
Re: Dynamic $^X
Download
Code
In Section
Seekers of Perl Wisdom