Initial commit.

This commit is contained in:
Johannes Findeisen 2024-02-07 09:27:22 +01:00
commit 317e1b4e10
13 changed files with 260 additions and 0 deletions

19
perl/perl.pl Executable file
View 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"); }