X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FMooseX%2FStorage%2FEngine%2FTrait%2FOnlyWhenBuilt.pm;fp=lib%2FMooseX%2FStorage%2FEngine%2FTrait%2FOnlyWhenBuilt.pm;h=f7f0199bee8e4140fc48f1de27689fb8ec79f72d;hb=8af2c2b01fe7c63f2748d1b1deca3198c8974b7f;hp=427dfb4795ecb84dea457d82aa9659cb0a218f2a;hpb=8b2ba857269b040d3a0f11f3d95e2c5b9af44415;p=gitmo%2FMooseX-Storage.git diff --git a/lib/MooseX/Storage/Engine/Trait/OnlyWhenBuilt.pm b/lib/MooseX/Storage/Engine/Trait/OnlyWhenBuilt.pm index 427dfb4..f7f0199 100644 --- a/lib/MooseX/Storage/Engine/Trait/OnlyWhenBuilt.pm +++ b/lib/MooseX/Storage/Engine/Trait/OnlyWhenBuilt.pm @@ -54,7 +54,7 @@ MooseX::Storage::Engine::Trait::OnlyWhenBuilt - An engine trait to bypass serial Sometimes you don't want a particular attribute to be part of the serialization if it has not been built yet. If you invoke C as outlined in the C, only attributes that have been built -(ie, where the predicate returns 'true') will be serialized. +(i.e., where the predicate returns 'true') will be serialized. This avoids any potentially expensive computations. This trait is applied to an instance of L, for the