Initial commit.
This commit is contained in:
parent
a9c913c9a7
commit
317e1b4e10
13 changed files with 260 additions and 0 deletions
19
perl/perl.pl
Executable file
19
perl/perl.pl
Executable file
|
|
@ -0,0 +1,19 @@
|
|||
---
|
||||
permalink: /cgi/perl/index.pl
|
||||
---
|
||||
|
||||
use warnings;
|
||||
use strict;
|
||||
use POSIX qw(strftime);
|
||||
|
||||
my $date = strftime "%m/%d/%Y", localtime;
|
||||
|
||||
print "Hello from Perl!\n\n";
|
||||
print $date;
|
||||
print "\n\n";
|
||||
|
||||
print('my @i = (1..10); for(@i) { print("$_", "\n"); }');
|
||||
print("\n");
|
||||
|
||||
my @i = (1..10); for(@i) { print("$_", "\n"); }
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue