How to control version of OS

Discussion in 'Perl Misc' started by Maki, Sep 27, 2005.

  1. Maki

    Maki Guest

    How to control version of OS E.g., if is Perl script run on Windows XP ,
    Windows 98 etc.?

    Thanks
    Maki, Sep 27, 2005
    #1
    1. Advertising

  2. Maki

    Paul Lalli Guest

    Maki wrote:
    > How to control version of OS E.g., if is Perl script run on Windows XP ,
    > Windows 98 etc.?


    I have no idea how you would "control" what operating system the user
    is currently running.

    If you would like to *determine* what operating system the user is
    running, you might want to look at the $^O variable, as documented in
    perldoc perlvar

    You might also be interested in the Win32::MachineInfo module,
    available at
    http://search.cpan.org/~jmacfarla/Win32-MachineInfo-0.05/MachineInfo.pm

    Paul Lalli
    Paul Lalli, Sep 27, 2005
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Lloyd Sheen

    Express Version Kills Current Version

    Lloyd Sheen, Jun 29, 2004, in forum: ASP .Net
    Replies:
    11
    Views:
    550
    Ken Cox [Microsoft MVP]
    Jul 2, 2004
  2. Ily
    Replies:
    2
    Views:
    417
    Eliyahu Goldin
    Jul 27, 2005
  3. V Green
    Replies:
    0
    Views:
    826
    V Green
    Feb 5, 2008
  4. PA Bear [MS MVP]
    Replies:
    0
    Views:
    930
    PA Bear [MS MVP]
    Feb 5, 2008
  5. MowGreen [MVP]
    Replies:
    5
    Views:
    1,995
    PA Bear [MS MVP]
    Feb 9, 2008
Loading...

Share This Page