Perl version used when running the script - Perl

This is a discussion on Perl version used when running the script - Perl ; If I need to use a certain perl version only to run by script, is there a way to check that before my script continue down the main body of the code? Or is there any way we can check ...

+ Reply to Thread
Results 1 to 3 of 3

Perl version used when running the script

  1. Default Perl version used when running the script

    If I need to use a certain perl version only to run by script, is
    there a way to check that before my script continue down the main body
    of the code?
    Or is there any way we can check the version?

  2. Default Re: Perl version used when running the script

    lfchew1@yahoo.com wrote:
    > If I need to use a certain perl version only to run by script, is
    > there a way to check that before my script continue down the main body
    > of the code?


    perldoc -f use

    > Or is there any way we can check the version?


    perldoc perlvar
    and check for $^V

    jue



  3. Default Re: Perl version used when running the script


    Quoth "Jürgen Exner" <jurgenex@hotmail.com>:
    > lfchew1@yahoo.com wrote:
    >
    > > Or is there any way we can check the version?

    >
    > perldoc perlvar
    > and check for $^V


    $] is safer when dealing with potentially old perls.

    Ben


+ Reply to Thread

Similar Threads

  1. Replies: 5
    Last Post: 10-27-2007, 10:52 AM
  2. Re: Running Perl script in the backend from Html
    By Application Development in forum Perl
    Replies: 0
    Last Post: 09-13-2007, 01:11 AM
  3. Running Perl script in the backend from Html
    By Application Development in forum Perl
    Replies: 1
    Last Post: 09-11-2007, 01:29 AM
  4. which perl version is mod_perl running??
    By Application Development in forum Perl
    Replies: 0
    Last Post: 04-15-2006, 04:48 AM
  5. Running a Perl script from another Perl script
    By Application Development in forum Perl
    Replies: 5
    Last Post: 08-03-2005, 07:00 AM