use strict;
use warnings;
+use lib 't/lib';
+
+use Test::More tests => 1;
+
my %prereqs = (
- 'Test::More' => '0',
'Moose' => '0.80',
'Class::MOP' => '0.85',
);
}
if (@missing) {
- warn "\n# ***********************************************************\n";
- warn "#\n";
- warn "# Found the following prereq problems ...\n";
- warn "# $_\n" for @missing;
- warn "#\n";
- warn "# ***********************************************************\n";
-
- exit 255;
+ diag "\n***********************************************************\n";
+ diag "\n";
+ diag " Found the following prereq problems ...\n";
+ diag " $_\n" for @missing;
+ diag "\n";
+ diag " ***********************************************************\n";
}
-Test::More->import;
-
-plan( tests => 1 );
-ok( 'Looks like you have all the prereqs' );
-
+ok( ! @missing, 'Checking for prereqs' );
</ul>
</div>
+<div class="slide fake-slide0">
+ <h1>Part 0: Moose Concepts</h1>
+</div>
+
<div class="slide">
- <h1>Concepts</h1>
+ <h1>Moose background</h1>
<ul>
<li>Moose builds on Perl 5's native OO</li>
</div>
<div class="slide fake-slide0">
- <h1>Moose Classes</h1>
+ <h1>Part 1: Moose Classes</h1>
</div>
<div class="slide">
</div>
<div class="slide">
- <h1>Classes - Exercises</h1>
+ <h1>Exercises</h1>
<pre>$ cd exercises
-$ prove -lv t/00-prereq.t
+$ perl bin/prove -lv t/00-prereq.t
Missing anything? Install it. (see tarballs/)
-# prove -lv t/01-classes.t
-#
+# perl bin/prove -lv t/01-classes.t
+
+Iterate til this passes all its tests
</body>
</html>