[P] ayudita con perl

Cesar Castillo cumache at yahoo.com
Mon Oct 30 07:09:38 CST 2000


saludos!

On Fri, 27 Oct 2000, Salvador Spataro wrote:
> Saludos.
> Estoy tratando de aprender a escribir cgis con perl.
> el siquiente ejemplo (sacado igualito de un libro)
> 
> 01: #! /usr/local/bin/perl
> 02: print "Content-type: text/html\n\n";
> 03: print <<'ending_print_tag';
> 04: <html>
> 05: <head>
> 06: <title> My first CGI </title>
> 07: <background="#000000" text="#FF0000" >
> 08: </head>
> 09: <body>
> 10: <h1>  My First CGI </h1>
> 11: <em> HELLO, INTERNET! </em>
> 12: <hr noshade>
> 13: Watch out cyber space, another programmer is on the loose ;-)
> 14: </body>
> 15: </html>
> 16: ending_print_tag
> 
> genera este error:
> Can't find string terminator "ending_print_tag" anywhere before EOF at
> ./first.cgi line 16???

me he copiado el codigo y me funciono !!, no tengo idea de que pueda ser
:(

el perl que uso es el de redhat 6.0 version 5.005_03
 
> preguntas: como se hace (estoy usando perl5)
> donde busco info de perl para no preguntar mas (que no sea perl.org)

hay una lista de perl de usuarios de perl venezolanos, para subscribirte
mandas un mail a majordomo at pm.org
y el el cuerpo colocas

subscribe caracas-pm-list


    ####################################################################
    ##                                                                ##
    ##                 Cesar Anibal Castillo                          ##
    ## Email :         anibal at ldc.usb.ve cumache at yahoo.com            ##
    ## Cargo :         Consultor-Analista                             ##
    ## Compa~nia:      Computacion UNIXSupport                        ##
    ## Telefono Ofic.: 563-1503 , 564-4644.                           ##
    ##                                                                ##
    ####################################################################





------------------------------------------------------------------------
Enviar e-mail a <majordomo at pm.org> colocando en el cuerpo:
"UNSUBSCRIBE caracas-pm-list" para desuscribirse.
"INFO caracas-pm-list" para conocer las reglas de etiqueta.
------------------------------------------------------------------------



More information about the caracas-pm mailing list