in your %ENV should be the information of what OS you run
try this statement:
for (sort keys %ENV) { print "$_ is $ENV{$_}\n" }
for my win2k machine it says:
OS is Windows_NT
if you're looking for the perlversion it's stored in the $] variable...
hth,
Jos Boumans
> Hi, there is an equivalent of the C getversion in Perl because I am making
a
> program which could work in Win Nt and Win 98 with different
implementations for
> the OS.
>
> Thanks.
>
>
>
- Re: Perl & Getversion Jorge Goncalvez
- Jos I. Boumans
