![Antiguo](http://static.forosdelweb.com/fdwtheme/images/statusicon/post_old.gif)
07/04/2005, 05:41
|
![Avatar de monoswim](http://static.forosdelweb.com/customavatars/avatar10266_7.gif) | $moderador{'Esteban'} | | Fecha de Ingreso: febrero-2002 Ubicación: Buenos Aires - Argentina
Mensajes: 8.762
Antigüedad: 23 años Puntos: 90 | |
Primero que nada $nombre=$input_data('usuario'); debería ser $nombre=$input_data{'usuario'};
Ahora bien...Veamos probaste algo así...
#!/usr/bin/perl
print "Content-type: text/html\n\n";
print "Hola mundo";
exit;
Y funcionó...?
Intentaste
#!/usr/bin/perl
use strict;
use CGI;
my $cgi = new CGI;
my %input_data = $cgi->Vars;
print "Content-type: text/html\n\n";
print "Hola mundo";
exit;
Y funcionó...?
Pero cuando metiste el
$nombre=$input_data{'usuario'};
Ya te saltó el error ????
Pues eso no puede ser !!!!!!!
A ver, Intentá esto
#!/usr/bin/perl
use strict;
use CGI ':standard';
$usuario = param('usuario');
print "Content-type: text/html\n\n";
print "Hola $usuario";
exit;
Decime si te funciona o no ?
Saludos
__________________ Esteban Quintana |