[Perl] Plataforma-S.O.
Antonio Galicia
jcgalici en agc.com.mx
Jue Dic 9 10:59:40 CST 2004
Quoting Adrian Galindo <agalindo en gmail.com>:
> Ya le revisé en la documentación y no le hallo:
Ug...
> ¿Con qué función o variable (dentro del lenguaje de Perl) puedo ver la
> versión, plataforma y/o S.O. donde está corriendo mi interprete?
$ perldoc perlvar
$] The version + patchlevel / 1000 of the Perl interpreter. This
$PERL_VERSION
$^V The revision, version, and subversion of the Perl interpreter,
$OSNAME
$^O The name of the operating system under which this copy of Perl
chance este en ese "man" lo que buscas. Por cierto, en RH también puedes hacer
"man perlvar" ;)
--
Saludos
Toño
----
http://agc.com.mx/antoniogc/blog
Más información sobre la lista de distribución Perl