in reply to version change on solaris

Why not simply install another version of perl on the machine and test your code with it? I'd suggest leaving Solaris with the version of Perl which came bundeled with, you can mess up systems by changing this sort of thing, and installing your own version of perl to another location if required. Note also that 5.8.4 is pretty old (2004). Is there a reason you have to use this version?

Replies are listed 'Best First'.
Re^2: version change on solaris
by saintex (Scribe) on Mar 15, 2011 at 14:32 UTC
    As marto say to you, you can always install your version of Perl (5.8.0, if you need it) and you can run the scripts with that version.
    It is really simple, and you can do it as user (no need to be root).
    You have to download the Perl sources, and then:

    ./Configure -des Dprefix =/your_path
    make all
    make test
    make install


    Then you can run your script with /your_path/bin/perl yourScript.pl

    UPDATE: Naturally, with this method you can test the perl versions you prefer, also the most recent.
    In addition you can run multiple perl installations on your system.
Re^2: version change on solaris
by krishnapriya (Initiate) on Mar 15, 2011 at 14:14 UTC
    actually we are migrating application from solaris 8 to solaris 10. perl 5.8.4 is there by default. But my scripts are there in 5.8.0. I am just finding out all possible ways. Is there any possibility to downgrade the version

      You should have been more specific when asking your question, the question title and text provided suggests that you are changing Perl version on Solaris, rather than changing Solaris versions. See How do I post a question effectively?.

      Why not simply test your script? Surely this new system is going to be tested before production use? If you don't have access to the new Solaris 10 platform, follow my previous advice, install whatever version you need elsewhere in your existing system, test your script using that verson. I wouldn't consider downgrading to 5.8.0.