| Home  | Casa  | Hardware  | Networking  | Programmazione  | Software  | Domanda  | Sistemi  |   
Programmazione  
  • C /C + + Programming

  • Computer Programming Languages

  • Delphi Programming

  • Java Programming

  • Programmazione Javascript

  • PHP /MySQL Programmazione

  • Perl Programming

  • Python Programming

  • rubino Programmazione

  • Nozioni di base di Visual Programming
  •  
    Conoscenza Informatica >> Programmazione >> Perl Programming >> Content
    Come aggiungere un link con uno script Perl
    Perl è un linguaggio di programmazione versatile e compatto. È possibile sviluppare rapidamente i propri script Perl per generare documenti HTML al volo. Questi documenti Perl e HTML possono quindi essere utilizzati sul server Web per visualizzare un elenco di link o di un singolo collegamento per i visitatori del tuo sito web . Verificare con il provider di hosting Web per sapere quale versione di Perl è installato sul server Web e il percorso del programma prima di iniziare a scrivere il vostro script Perl . Istruzioni
    1

    Fare clic sul pulsante "Start " sul vostro computer nell'angolo in basso a sinistra .
    2

    selezionare "Esegui ". Tipo " blocco note " nel dialogo "Apri" . Fare clic su "OK".
    3

    Copia e incolla questo esempio nel file di blocco note :

    # /usr /bin /perl

    stampa " \\ r \\ n ";

    print" \\ t \\ r \\ n ";

    print" \\ t \\ t titolo del tuo sito web < /title> , \\ r \\ n "; <br> <p> print" \\ t <head> \\ r \\ n "; <br> <p> print" \\ t <body> \\ r \\ n "; <br> < p > print " \\ t \\ t se si href=\\"http://www.your-website-URL.com\\"> Nome del file o link < /a> \\ r \\ n"; <br> < p > print " \\ t < /body> \\ r \\ n"; <br> <p> print " < /html > \\ r \\ n"; <br> <p> Modificare il nome del titolo , il link e il link per adattarsi il tuo sito web . <br> <p> Questo file Perl genererà un file HTML che contiene il collegamento . Aggiunta sia \\ r e \\ n dopo ogni riga dice a Perl per creare una nuova riga e un ritorno a capo . L' uso di entrambi \\ r e \\ n garantisce la compatibilità con più sistemi operativi . <br> 4 <p> Cliccare su " File " nella parte superiore della finestra di Blocco note. Selezionare "Salva con nome " dal menu . <br> 5 <p> Nome file nella casella " Nome file " . Aggiungere l'estensione di file " . Pl " alla fine del nome del file . Selezionare "Tutti i file " dal "Salva come tipo " casella a discesa . Fare clic sul pulsante "Salva" . <br> <br> <div class=ad2><script language='javascript' src='/ad/201310/4.js'></script></div> </div> </td> </tr> </table> <table width="95%" height="1" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#DEE7EE"> <tr> <td></td> </tr> </table> <table width="100%" height="7" border="0" cellpadding="0" cellspacing="0"> <tr> <td></td> </tr> </table> <table width="91%" height="52" border="0" align="center" cellpadding="0" cellspacing="0"> <tr> <td width="51%"><p>Previous : <a class='LinkPrevArticle' href='/Programmazione/perl-programming/93350.html' >Come ordinare un array associativo in Perl </a></li></p></td> </tr> <tr> <td width="49%"> next : <a class='LinkNextArticle' href='/Programmazione/perl-programming/93352.html' >Estensioni dei file Perl </a></li></td> </tr> </table></td> </tr> </table> <table width="100%" height="7" border="0" cellpadding="0" cellspacing="0"> <tr> <td></td> </tr> </table> <table width="770" height="246" border="0" align="center" cellpadding="0" cellspacing="0"> <tr> <td width="375" height="246" valign="top"><table width="380" border="0" cellpadding="0" cellspacing="0" class="bian"> <tr> <td height="244" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0" background="img_dm/danmai_r4_c04 -.jpg" bgcolor="#DBE3EE"> <tr> <td width="4%" height="29"> </td> <td width="96%" class="lan_lm"> Articoli Correlati </td> </tr> </table> <table width="95%" height="209" border="0" align="center" cellpadding="0" cellspacing="4"> <tr> <td height="201"><table width="100%" cellpadding="0" cellspacing="0"><tr><td width="10" valign="top" class="">·</td><td class=""><a class="" href="/Programmazione/perl-programming/93362.html" title="Come incorporare i comandi UNIX in Perl " target="_self">Come incorporare i comandi UNIX in Perl </a></td></tr><tr><td width="10" valign="top" class="">·</td><td class=""><a class="" href="/Programmazione/perl-programming/93394.html" title="Come convertire script in Perl per auto EXE Estrazione " target="_self">Come convertire script in Perl per auto EXE Estrazione </a></td></tr><tr><td width="10" valign="top" class="">·</td><td class=""><a class="" href="/Programmazione/perl-programming/93378.html" title="Come utilizzare le etichette in Perl " target="_self">Come utilizzare le etichette in Perl </a></td></tr><tr><td width="10" valign="top" class="">·</td><td class=""><a class="" href="/Programmazione/perl-programming/93390.html" title="Qual è il significato di Pseudocodice " target="_self">Qual è il significato di Pseudocodice </a></td></tr><tr><td width="10" valign="top" class="">·</td><td class=""><a class="" href="/Programmazione/perl-programming/93336.html" title="Come rimuovere una variabile di matrice in Perl " target="_self">Come rimuovere una variabile di matrice in Perl </a></td></tr><tr><td width="10" valign="top" class="">·</td><td class=""><a class="" href="/Programmazione/perl-programming/93318.html" title="Come trovare i numeri di riga utilizzando Perl " target="_self">Come trovare i numeri di riga utilizzando Perl </a></td></tr><tr><td width="10" valign="top" class="">·</td><td class=""><a class="" href="/Programmazione/perl-programming/93419.html" title="Come eseguire Perl su un computer portatile " target="_self">Come eseguire Perl su un computer portatile </a></td></tr><tr><td width="10" valign="top" class="">·</td><td class=""><a class="" href="/Programmazione/perl-programming/93238.html" title="Come trovare duplicati nel file utilizzando Perl " target="_self">Come trovare duplicati nel file utilizzando Perl </a></td></tr><tr><td width="10" valign="top" class="">·</td><td class=""><a class="" href="/Programmazione/perl-programming/93201.html" title="Come testare un CGI script Sendmail " target="_self">Come testare un CGI script Sendmail </a></td></tr><tr><td width="10" valign="top" class="">·</td><td class=""><a class="" href="/Programmazione/perl-programming/93339.html" title="Come convertire un array in una stringa in Perl " target="_self">Come convertire un array in una stringa in Perl </a></td></tr><tr></tr></table></td> </tr> </table></td> </tr> </table></td> <td width="20" valign="top"></td> <td width="375" valign="top"><table width="380" border="0" cellpadding="0" cellspacing="0" class="bian"> <tr> <td height="244" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0" background="img_dm/danmai_r4_c04 -.jpg" bgcolor="#DBE3EE"> <tr> <td width="4%" height="29"> </td> <td width="96%" class="lan_lm">Articoli in evidenza </td> </tr> </table> <table width="95%" height="207" border="0" align="center" cellpadding="0" cellspacing="4"> <tr> <td height="199"><table width="100%" cellpadding="0" cellspacing="0"><tr><td width="10" valign="top" class="">·</td><td class=""><a class="" href="/Programmazione/php-mysql-programming/92444.html" title="Come fare un Array Javascript con PHP " target="_self">Come fare un Array Javascript con PHP </a></td></tr><tr><td width="10" valign="top" class="">·</td><td class=""><a class="" href="/Programmazione/php-mysql-programming/92227.html" title="Come Pull Out Data di database MySQL quindi visualizzare tramite PHP " target="_self">Come Pull Out Data di database MySQL quindi visualizzar…</a></td></tr><tr><td width="10" valign="top" class="">·</td><td class=""><a class="" href="/Programmazione/visual-basics-programming/96518.html" title="Come impostare l' orologio sul tuo desktop " target="_self">Come impostare l' orologio sul tuo desktop </a></td></tr><tr><td width="10" valign="top" class="">·</td><td class=""><a class="" href="/Programmazione/computer-programming-languages/88764.html" title="Come creare un link in Oracle Database " target="_self">Come creare un link in Oracle Database </a></td></tr><tr><td width="10" valign="top" class="">·</td><td class=""><a class="" href="/Programmazione/java-programming/89364.html" title="Come installare un file JAR in Eclipse " target="_self">Come installare un file JAR in Eclipse </a></td></tr><tr><td width="10" valign="top" class="">·</td><td class=""><a class="" href="/Programmazione/javascript-programming/91088.html" title="Come scrivere script RFT in Java " target="_self">Come scrivere script RFT in Java </a></td></tr><tr><td width="10" valign="top" class="">·</td><td class=""><a class="" href="/Programmazione/php-mysql-programming/92571.html" title="Come contare il numero di record con criteri in PHP MySQL " target="_self">Come contare il numero di record con criteri in PHP MyS…</a></td></tr><tr><td width="10" valign="top" class="">·</td><td class=""><a class="" href="/Programmazione/cc-programming/85369.html" title="Come ottenere la Prospettiva C in Eclipse " target="_self">Come ottenere la Prospettiva C in Eclipse </a></td></tr><tr><td width="10" valign="top" class="">·</td><td class=""><a class="" href="/Programmazione/computer-programming-languages/86318.html" title="IDE Debugging Tools " target="_self">IDE Debugging Tools </a></td></tr><tr><td width="10" valign="top" class="">·</td><td class=""><a class="" href="/Programmazione/php-mysql-programming/92919.html" title="Tutorial di Row Level Locks in MySQL " target="_self">Tutorial di Row Level Locks in MySQL </a></td></tr><tr></tr></table></td> </tr> </table></td> </tr> </table></td> </tr> </table></td> </tr> </table> <table width="980" height="8" border="0" cellpadding="0" cellspacing="0"> <tr> <td></td> </tr> </table> <table border=0 cellSpacing=0 cellPadding=0 width=980 bgColor=#36506e height=90> <tr> <td class=bs height=90 align=middle>Copyright © Conoscenza Informatica http://it.wingwit.com <script language='javascript' src='/ad/201310/1.js'></script></td> </tr> </table> </div> </body> </html>