Fix typo in test directions
[gitmo/moose-presentations.git] / moose-class / exercises / t / 01-classes.t
index dd11fab..b0b5f72 100644 (file)
@@ -8,7 +8,7 @@
 # * last_name - read-write
 #
 # This class should also have a method named "full_name". This
-# method should return the first and last name separated by a string
+# method should return the first and last name separated by a space
 # ("Jon Smith").
 #
 # Write a BUILDARGS method for this class which allows the caller to
 #
 #   Person->new( [ 'Lisa', 'Smith' ] );
 #
+# Hint: A quick and dirty way to check for this is to use ref() to check if
+# the first value in @_ is an array reference (perldoc -f ref). A nicer way to
+# do this would be use to use Scalar::Util::reftype().
+#
 # Create an Employee class in lib/Employee.pm
 #
 # The Employee class is a subclass of Person
 #
-# An Employee has the following read-write attributes:
+# An Employee has the following attributes:
 #
 # * title - read-write
 # * salary - read-write
@@ -41,7 +45,4 @@ use lib 't/lib';
 
 use MooseClass::Tests;
 
-use Person;
-use Employee;
-
 MooseClass::Tests::tests01();