summaryrefslogtreecommitdiff
path: root/dist/base/lib/fields.pm
diff options
context:
space:
mode:
authorFather Chrysostomos <sprout@cpan.org>2011-07-31 22:21:42 -0700
committerFather Chrysostomos <sprout@cpan.org>2011-07-31 22:21:42 -0700
commit8965f5324ad556c313c9a4251014e73c99f1614d (patch)
tree2bfff6369fd024a49a57a2a4ee080c6fd5dfd964 /dist/base/lib/fields.pm
parented7422811df45bc27a3ad79b1478ba6440c189ba (diff)
downloadperl-8965f5324ad556c313c9a4251014e73c99f1614d.tar.gz
Make verbatim pod in fields.pm fit in 80 columns
(actually 79, so ‘comfortably within’ 80 columns)
Diffstat (limited to 'dist/base/lib/fields.pm')
-rw-r--r--dist/base/lib/fields.pm6
1 files changed, 3 insertions, 3 deletions
diff --git a/dist/base/lib/fields.pm b/dist/base/lib/fields.pm
index de6f379d9f..fd59b6a465 100644
--- a/dist/base/lib/fields.pm
+++ b/dist/base/lib/fields.pm
@@ -11,7 +11,7 @@ unless( eval q{require warnings::register; warnings::register->import; 1} ) {
}
use vars qw(%attr $VERSION);
-$VERSION = '2.15';
+$VERSION = '2.16';
# constant.pm is slow
sub PUBLIC () { 2**0 }
@@ -278,8 +278,8 @@ This makes it possible to write a constructor like this:
sub new {
my $self = shift;
$self = fields::new($self) unless ref $self;
- $self->{cat} = 'meow'; # scalar element
- @$self{'dog','bird'} = ('bark','tweet'); # slice
+ $self->{cat} = 'meow'; # scalar element
+ @$self{'dog','bird'} = ('bark','tweet'); # slice
return $self;
}