X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FMoose%2FMeta%2FTypeConstraint%2FUnion.pm;h=14731988a44e1ebc2e3964c891a138880ad080cf;hb=eb4c4e821e3636e607b09919b1403d52ddbee092;hp=f75483479ba70aaee034e36512b89cffa466ca0f;hpb=6217e87a7755f70a92f848f7c609cfd8ef4d2873;p=gitmo%2FMoose.git diff --git a/lib/Moose/Meta/TypeConstraint/Union.pm b/lib/Moose/Meta/TypeConstraint/Union.pm index f754834..1473198 100644 --- a/lib/Moose/Meta/TypeConstraint/Union.pm +++ b/lib/Moose/Meta/TypeConstraint/Union.pm @@ -21,7 +21,7 @@ __PACKAGE__->meta->add_attribute('type_constraints' => ( sub new { my ($class, %options) = @_; my $self = $class->SUPER::new( - name => (join ' | ' => map { $_->name } @{$options{type_constraints}}), + name => (join '|' => map { $_->name } @{$options{type_constraints}}), parent => undef, message => undef, hand_optimized_type_constraint => undef,