[Moose-commits] r7417 - File-Stat-Moose/trunk/lib/File/Stat
dexter at code2.0beta.co.uk
dexter at code2.0beta.co.uk
Thu Jan 29 18:08:47 GMT 2009
Author: dexter
Date: 2009-01-29 10:08:47 -0800 (Thu, 29 Jan 2009)
New Revision: 7417
Modified:
File-Stat-Moose/trunk/lib/File/Stat/Moose.pm
Log:
* Quote "has" keyword's parameter.
Modified: File-Stat-Moose/trunk/lib/File/Stat/Moose.pm
===================================================================
--- File-Stat-Moose/trunk/lib/File/Stat/Moose.pm 2009-01-29 18:06:47 UTC (rev 7416)
+++ File-Stat-Moose/trunk/lib/File/Stat/Moose.pm 2009-01-29 18:08:47 UTC (rev 7417)
@@ -92,7 +92,7 @@
# File which is checked with stat
-has file => (
+has 'file' => (
is => 'ro',
isa => 'Str | FileHandle | CacheFileHandle | OpenHandle',
required => TRUE,
@@ -100,21 +100,21 @@
);
# Follow symlink or read symlink itself
-has follow => (
+has 'follow' => (
is => 'ro',
isa => 'Bool',
default => FALSE,
);
# Speeds up stat on Win32
-has sloppy => (
+has 'sloppy' => (
is => 'ro',
isa => 'Bool',
default => FALSE,
);
# Use accessors rather than direct hash
-has strict_accessors => (
+has 'strict_accessors' => (
is => 'rw',
isa => 'Bool',
default => FALSE,
More information about the Moose-commits
mailing list