projects
/
gitmo/Moose.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
076b0c2
)
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
patch
|
blob
|
blame
|
history
diff --git
a/lib/Moose/Cookbook/Basics/Recipe4.pod
b/lib/Moose/Cookbook/Basics/Recipe4.pod
index
58cdd5b
..
190f62b
100644
(file)
--- a/
lib/Moose/Cookbook/Basics/Recipe4.pod
+++ b/
lib/Moose/Cookbook/Basics/Recipe4.pod
@@
-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);
}