Tengo el siguiente código.
#!usr/bin/perl
use Cwd;
sub cargar_archivo {
if($^O =~/Win/) {
system("start $_");
} else {
system("firefox $_");
}
}
cargar_archivo(getcwd()."/logs_html/logs.html");
El problema es que no me carga el archivo html. ¿Qué estoy haciendo mal?
News of Foro - Perl en Español