3 # Create a Person class in lib/Person.pm
5 # A Person has the following attributes:
7 # * first_name - read-write
8 # * last_name - read-write
10 # This class should also have a method named "full_name". This
11 # method should return the first and last name separated by a string
14 # Write a BUILDARGS method for this class which allows the caller to
15 # pass a two argument array reference. These should be assigned to the
16 # first and last name respectively.
18 # Person->new( [ 'Lisa', 'Smith' ] );
20 # Create an Employee class in lib/Employee.pm
22 # The Employee class is a subclass of Person
24 # An Employee has the following read-write attributes:
26 # * title - read-write
27 # * salary - read-write
30 # The Employee class should override the "full_name" method to
31 # append the employee's title in parentheses ("Jon Smith
32 # (Programmer)"). Use override() and super() for this.
34 # Finally, both classes should be free of Moose droppings, and should be
42 use MooseClass::Tests;
47 MooseClass::Tests::tests01();