Skip to content

Instantly share code, notes, and snippets.

#Created by tryperl.com
use strict;
use warnings;
print 'Hello My World';
#Created by tryperl.com
use strict;
use warnings;
for(1..10) {
print 'Created by tryperl.com';
}
use strict;
use warnings;
for(1..10) {
print "$_ >TryPerl is awesome!\n";
}
#Created by tryperl.com
use strict;
use warnings;
print 'This is an example :)';
# So if you created a file anonymously, the you can open your file via the left grid.
# Double click or Click the little Edit icon to open your file.
# Solution to projecteuler.net/problem=3
# Question:
# The prime factors of 13195 are 5, 7, 13 and 29.
# What is the largest prime factor of the number 600851475143 ?
# Answer: 6857
use strict;
use warnings;
my @factors;
@tryperl
tryperl / WhatVersion.pl
Last active December 12, 2015 09:18
Created by www.tryperl.com.
#
# Prints the current Perl version
#
use strict;
use warnings;
print $^V, "\n";
@tryperl
tryperl / test.pl
Created February 11, 2013 01:02
Created by www.tryperl.com
#Created by tryperl.com
use strict;
use warnings;
print 'Hello World';
#Created by tryperl.com
use strict;
use warnings;
print 'Hello World';
@tryperl
tryperl / test.pl
Created February 11, 2013 11:45
Created by www.tryperl.com.
use warnings;
use strict;
print "Hello World\n";
#Created by tryperl.com
use strict;
use warnings;
for(1..10) {
print "\n$_ I am in a forloop";
}