Created
December 15, 2014 12:52
-
-
Save JJ/336f42272b4172626231 to your computer and use it in GitHub Desktop.
Write standard input or files as paragraphs in an HTML correct page
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env perl | |
use CGI qw(:standard); | |
use strict; | |
use warnings; | |
use v5.14; # Para say | |
my @parrafos = <>; | |
say start_html("Salida de párrafos"); | |
for my $p (@parrafos) { | |
say p( $p ); | |
} | |
say end_html; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment