se
'parent' and show the light to its users. Olivier.
FWIW, these all seem like legitimate reasons to abolish the use of
Base.pm within Moose. Our company uses Moose and 5.8.8 perl currently,
so even though there may be a few tweaks necessary, it seems like the
right thing to do.
Steve
when using perl. That said, I do agree
that some don't appear to be particularly relevant to our language of
choice!
Thanks again,
Steve
On 10/11/2011 10:01 AM, Stevan Little wrote:
On Oct 11, 2011, at 9:02 AM, John Napiorkowski wrote:
From: Steve
To: "moose@perl.org"
Sent: Tues
ose.
The only thing I've seen referenced is how Moose 'almost' can be used to
create an abstract class with roles. This might be good subject matter
for a book on Moose!
Steve
rk
for is investigating Moose and Catalyst as development tools and we
would like to have a local source of help. If any of the above gets you
curious, email me personally .
Thx,
Steve
Thanks for that bit. I changed my code so that I am calling a method
from my BUILDARGS sub. This seems to be working quite nicely.
Steve
On 2/26/2010 2:30 PM, Jesse Luehrs wrote:
On Fri, Feb 26, 2010 at 12:52:44PM -0500, Steve wrote:
I've moved on to a slightly more complex situ
and
I'm sure there are more elegant ways to 'getter done', but this works.
Now on with life...
On 2/26/2010 12:52 PM, Steve wrote:
I've moved on to a slightly more complex situation. The same phone
call record contains two different date fields. One is a string like
;ve
identified that by the time the subroutine gets called, I have no
reference to either the date, or my object.
elsif ($d =~ \d\d\/\d\d) {$d = &explodeDate;}
sub explodeDate {
my $self = shift; # Nothing here...
}
Is this proper use of coercion, or is there a better way? If I'
This method works great! I was very close to getting coercion to work,
but somehow my substitution returned '2' every time. Thanks all for the
help
Steve
Something along the lines of the following should work:
package Types;
use Moose::Util::TypeConstraints;
# note, need a
and my WirelessNumber
attr. isa 'Str' currently. Also, I can't modify the value passed into
my constructor, as it is used for many different tables. Any
suggestions are greatly appreciated.
Steve