Instantly share code, notes, and snippets.

View README.md
View test1.html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"><head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Smart Wizard 3 - Basic Example - a javascript jQuery wizard control plugin</title>
<link href="http://mstratman.github.com/jQuery-Smart-Wizard/styles/demo_style.css" rel="stylesheet" type="text/css">
<link href="http://mstratman.github.com/jQuery-Smart-Wizard/styles/smart_wizard.css" rel="stylesheet" type="text/css">
<script type="text/javascript" src="http://code.jquery.com/jquery-1.8.2.js"></script>
<script type="text/javascript" src="http://mstratman.github.com/jQuery-Smart-Wizard/js/jquery.smartWizard.js"></script>
View MooParent.pm
package MooParent;
use Moo;
has who => (
is => 'ro',
default => sub { 'MooParent' },
);
1;
View Animal3.pm
# NOTE: This is simply an example of a legacy array-based object.
# I do not recommend using it.
package Animal3;
use strict;
our $NAME_INDEX = 0;
sub new {
my $class = shift;
my $self = [];
View Animal2.pm
# NOTE: This is simply an example of a legacy blessed-hash object.
# I do not recommend using it.
package Animal2;
use strict;
sub new {
my $class = shift;
my $self = {};
$self->{_name} = shift;
bless($self, $class);
View Animal2.pm
# NOTE: This is simply an example of a legacy blessed-hash object.
# I do not recommend using it.
package Animal2;
use strict;
sub new {
my $class = shift;
my $self = {};
$self->{_name} = shift;
bless($self, $class);
View Animal1.pm
# NOTE: This is simply an example of a legacy blessed-hash object.
# I do not recommend using it.
package Animal1;
use strict;
sub new {
my $class = shift;
my $self = shift;
$self = {} unless $self && ref $self eq 'HASH';
bless($self, $class);
View MyDate.pm
package MyDate;
use Moose;
use namespace::autoclean;
use Date::Handler;
has '_date_handler' => (
is => 'ro',
isa => 'Date::Handler',
handles => qr/.*/,
);