Skip to content

Instantly share code, notes, and snippets.

@chizmeeple
chizmeeple / cmp_versions.pl
Created January 30, 2013 23:31
Comparing some version numbers for a post on http://blogs.perl.org/users/chisel
#!/usr/bin/env perl
use strict;
use warnings;
use feature ':5.12';
use version;
use Text::SimpleTable;
my @versionstrings = (
'0.0.4',
@marshyon
marshyon / test_net_ssh_expect.pl
Created July 29, 2012 13:51
test and demonstrate the use of Net::SSH::Expect Perl module to connect via SSH using key authentication, to known and unknown hosts, running commands and processing captured standard output from those commands
#!/usr/bin/env perl
use warnings;
use strict;
use Date::Parse;
use Net::SSH::Expect;
use POSIX qw(strftime);
# set to a known host on your network