3 # You will go back to the Person class and add several method modifiers.
5 # First, add before and after modifiers to the full_name() method. The
6 # modifiers will be using for debugging. These modifiers will record debugging
7 # info by setting a package global, @Person::CALL;
9 # The before modifier should push the string "calling full_name" onto
10 # @Person::CALL. The after modifier should push "called full_name" onto this
13 # You do not need to declare this global, but you can if you like.
15 # Finally, create an around modifier for full_name. This modifier should call
16 # the real full_name method.
18 # However, if the person object's last name is "Wall" (as in Larry Wall), your
19 # modifier should wrap the full name in asterisks (*), one before the name and
20 # one after, and then return that new version of the name.
26 use MooseClass::Tests;
28 MooseClass::Tests::tests04();