Removed confusing/unnecessary code in Recipe4 POD
Patrick Donelan [Mon, 25 Jan 2010 04:29:11 +0000 (15:29 +1100)]
lib/Moose/Cookbook/Basics/Recipe4.pod

index 58cdd5b..190f62b 100644 (file)
@@ -56,7 +56,7 @@ Moose::Cookbook::Basics::Recipe4 - Subtypes, and modeling a simple B<Company> cl
 
   sub BUILD {
       my ( $self, $params ) = @_;
-      if ( @{ $self->employees || [] } ) {
+      if ( $self->employees ) {
           foreach my $employee ( @{ $self->employees } ) {
               $employee->employer($self);
           }