From: Florian Ragwitz Date: Wed, 8 Apr 2009 21:06:19 +0000 (+0200) Subject: Don't screw up vim's syntax highlighting. X-Git-Tag: 0.00801~8 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=6b6bc6e865ccae161f6c312440b741d17eb1ecfd;p=gitmo%2FMooseX-Emulate-Class-Accessor-Fast.git Don't screw up vim's syntax highlighting. --- diff --git a/lib/MooseX/Emulate/Class/Accessor/Fast.pm b/lib/MooseX/Emulate/Class/Accessor/Fast.pm index 19b1410..424e6e5 100644 --- a/lib/MooseX/Emulate/Class/Accessor/Fast.pm +++ b/lib/MooseX/Emulate/Class/Accessor/Fast.pm @@ -101,7 +101,7 @@ will be passed. Please see L for more information. =cut -sub mk_accessors{ +sub mk_accessors { my $self = shift; my $meta = $locate_metaclass->($self); my $class = $meta->name; @@ -142,7 +142,7 @@ Create read-only accessors. =cut -sub mk_ro_accessors{ +sub mk_ro_accessors { my $self = shift; my $meta = $locate_metaclass->($self); my $class = $meta->name; @@ -171,7 +171,7 @@ Create write-only accessors. =cut #this is retarded.. but we need it for compatibility or whatever. -sub mk_wo_accessors{ +sub mk_wo_accessors { my $self = shift; my $meta = $locate_metaclass->($self); my $class = $meta->name; @@ -200,7 +200,7 @@ See original L documentation for more information. =cut -sub follow_best_practice{ +sub follow_best_practice { my $self = shift; my $meta = $locate_metaclass->($self); @@ -218,8 +218,8 @@ See original L documentation for more information. =cut -sub mutator_name_for{ return $_[1] } -sub accessor_name_for{ return $_[1] } +sub mutator_name_for { return $_[1] } +sub accessor_name_for { return $_[1] } =head2 set @@ -227,7 +227,7 @@ See original L documentation for more information. =cut -sub set{ +sub set { my $self = shift; my $k = shift; confess "Wrong number of arguments received" unless scalar @_; @@ -245,7 +245,7 @@ See original L documentation for more information. =cut -sub get{ +sub get { my $self = shift; confess "Wrong number of arguments received" unless scalar @_; my $meta = $locate_metaclass->($self);