Hi Stevan,
Would you be kind to review v0.04 at
http://search.cpan.org/~karasik/MooseX-Lists-0.04/ ?
I think I incorporated all your notes.
--
Sincerely,
Dmitry Karasik
om writers, readers, is=>bare etc are documented to be unsupported.
It's at http://karasik.eu.org/misc/MooseX-Lists-0.02.tar.gz until it hits
CPAN.
--
Sincerely,
Dmitry Karasik
> > This means that I welcome patches and advices
> I neither have the time or the inclination to provide a patch, I
> prefer to work with references only, so advice is all I can provide.
Thank you for the advice, I'll see what I can do.
--
Sincerely,
Dmitry Karasik
On Wed, Jan 13, 2010 at 04:52:13PM -0800, Karen Etheridge wrote:
> On Thu, Jan 14, 2010 at 01:45:18AM +0100, Dmitry Karasik wrote:
> > ...I have no idea how to work around these problems...
> > This means that I welcome patches and advices that would not only help me
> >
learer => 'clear_foo'
> );
>
> When you call clear_foo it will remove the value stored in 'foo', and
> then when you call $object->foo the next time you will get "Can't use
> an undefined value as an ARRAY reference at lib//MooseX/Lists.pm line
> 22." as an error.
>
> Thats about all I see for now, if you want to repost 0.02 we can
> review again.
>
> - Stevan
--
Sincerely,
Dmitry Karasik
reference to
> 'array_ref' (which doesn't exist).
The fact that you're saying this here after being rude on irc channel,
makes me think that you're just trolling at this point.
--
Sincerely,
Dmitry Karasik
/ (coming soon)
--
Sincerely,
Dmitry Karasik
> The fact that you put that in the same category as "tabs vs. spaces" makes me
> think that you're just trolling at this point.
I guess this puts nicely the end of the argument. Thank you for tolerance
and empathy.
/unsubscribe
--
Sincerely,
Dmitry Karasik
rting everyone.
That's, well, one extremely huge exagerration :) Srsly, what kind of argument
is that? People also discourage others from writing perl code for exactly same
reasons :)))
And no, I never agreed that this is bad or wrong. It's neither good or right,
for the record. It
lution you come up with will be ugly
> and
> fragile, and if a future Moose upgrade breaks it, you will get to keep both
> halves.
Thank you, I'll look at these modules.
--
Sincerely,
Dmitry Karasik
> BTW, snottiness won't help.
I apologize if my text was interpreted as snottiness, that totally wasn't
intended. It's just, if I can't help, I don't criticize, especially if wasn't
asked. Sorry if anyone's offended.
--
Sincerely,
Dmitry Karasik
w just to step back, I'd like to ask for help solving the original
problem, - how would I install accessor in a trait or a metaclass?
Thank you.
--
Sincerely,
Dmitry Karasik
I'd like to use array and hash attributes in mixed list and array contexts:
@list = $obj-> prop;
$obj->prop(@list);
$array = $obj->prop;
$obj->prop($array);
I though I could do that with "around":
has prop;
around prop => \&my_accessor;
--
Sincerely,
Dmitry Karasik
package Moose::Meta::Attribute::Custom::Trait::MyAccessor;
sub register_implementation { return 'MyAccessor' }
package MyAccessor;
use Moose::Role;
my $meta = __PACKAGE__->meta;
I thought that I should manipulate $meta, but I'm unsure how. Any ideas?
Thank you!
--
Sincerely,
Dmitry Karasik
14 matches
Mail list logo