in. I saw your other E-mail about getting the problem
below fixed.
Regards,
Shlomi Fish
--
-----
Shlomi Fish http://www.shlomifish.org/
http://www.shlomifish.org/humour/ways_to_do_it.html
Absolutely. Also: a German do
think they were necessary. The main change was adding
sanity checks (Which are also not necessary) and converting an attribute to
"lazy => 1" so it will be initialised in the right time.
Hope it works fine for you.
Regards,
Shlomi Fish
--
------
,
Shlomi Fish
On Tue, 23 Apr 2013 15:48:36 +0300
Shlomi Fish wrote:
>
>
> Begin forwarded message:
>
> Date: Tue, 23 Apr 2013 09:50:01 +0100
> From: "Toby Inkster"
> To: "Shlomi Fish"
> Subject: Re: MooX-late-0.009 Breaks XML-Grammar-Fiction-0.
Begin forwarded message:
Date: Tue, 23 Apr 2013 09:50:01 +0100
From: "Toby Inkster"
To: "Shlomi Fish"
Subject: Re: MooX-late-0.009 Breaks XML-Grammar-Fiction-0.12.4
> What should be done? Can MooX::late be fixed?
Thanks. In the latest release I simplified much
as a result I'm getting tons of error reports.
What should be done? Can MooX::late be fixed?
I'm including below the error report from my local machine. If I use
MooX-late-0.007 all tests are fine.
Regards,
Shlomi Fish
[DZ] building distribution under .build/m4dAnNX4S0 for i
It should work as it is. Any insight would be appreciated. I
spent several hours yesterday being frustrated at it not working.
Regards,
Shlomi Fish
[START CODE]
package FooRNG;
use strict;
use warnings;
our $VERSION = '0.11.1';
use MooX 'late';
use XML::Gr
eople think « if Moose uses
> > > it, it's fine to use it in my code », and 'parent' keeps being
> > > unnoticed. So
> > keeping
> > > 'use base' in Moose helps to keep 'base' alive.
> > >
> > > Finally, if using
mally like to do to implement singletons is create an
"environment" object that contains all the common data, and keep a reference to
it for every class in the system. This way, one can have more than one
environment in the program.
Regards,
Shlomi Fish
--
---
, it does. http://www.catalystframework.org/ uses Moose, as do many other
modules on CPAN:
http://deps.cpantesters.org/depended-on-by.pl?module=Moose
Regards,
Shlomi Fish
> Thanks.
>
> Une messagerie gratuite, garantie à vie et des services en plus, ça vous
> tente ? Je crée ma
ent_values',
handles => {
'get_argument_value' => 'get',
'has_argument_value' => 'exists'
},
lazy => 1,
);
}}}
Causes the output to be "A" and no exception thrown. The problem is that the
"
t; The line 25 is:
>
> $xml .= inner();
>
> (from the augment modifier)
>
> Am I missing something from the sample script?
>
Well, I think Report::as_xml() is trying to call its inner() function that
returns undef because it's undefined. Perhaps you want to de
smart and just does
> things right. Also, since Moose depends on it, so it is already
> installed :)
I've yet to start drinking the Try::Tiny kool-aid, and am now using
Exception::Class along with some plain-Perl eval { ... } and if/else/elsif
logic. It works for me, but may not be ide
On Wednesday 28 Apr 2010 08:04:31 Daniel Pittman wrote:
> Shlomi Fish writes:
> > On Tuesday 27 Apr 2010 15:51:07 Stevan Little wrote:
> >> On Apr 27, 2010, at 3:36 AM, Shlomi Fish wrote:
> >> > After merging XML-Grammar-Fiction and XML-Grammar-Screenplay, I h
On Tuesday 27 Apr 2010 19:17:25 Dave Rolsky wrote:
> On Tue, 27 Apr 2010, Shlomi Fish wrote:
> > Wouldn't it mean that perl will call the _build_paragraph_name of the
> > sub- class upon every instantiation of an object? I could be prematurely
> > micro- optimising i
On Tuesday 27 Apr 2010 18:54:06 Dave Rolsky wrote:
> On Tue, 27 Apr 2010, Shlomi Fish wrote:
> > [code]
> > has '_get_paragraph_tag_name' => (is => 'ro', default => "para");
> > [/code]
> >
> > And maybe specialise it furthe
27;», but it
seems like it would be much more verbose.
Just wondering if there's a Moose best practice ("MBP", heh.) here.
Regards,
Shlomi Fish
--
-
Shlomi Fish http://www.shlomifish.org/
Funny Anti-
On Tuesday 27 Apr 2010 15:51:07 Stevan Little wrote:
> On Apr 27, 2010, at 3:36 AM, Shlomi Fish wrote:
> > Hi all!
> >
> > After merging XML-Grammar-Fiction and XML-Grammar-Screenplay, I have
> > accumulated several questions about Moose, so I'd post each one in
Bad plan. You planned 26 tests but ran 0.
t/screenplay/qnd-parser-unit.t (Wstat: 512 Tests: 0
Failed: 0)
Non-zero exit status: 2
Parse errors: Bad plan. You planned 3 tests but ran 0.
Files=18, Tests=117, 69 wallclock secs ( 0.21 usr 0.07 sys + 54.83 cusr 2.35
csys = 57.46
return \...@results;
}
[/code]
My question is: is there a better way to do it using Moose? (Or one of the
MooseX modules?) Instead, should I implement my own private logic or create a
new MooseX module?
Regards,
Shlomi Fish
--
--------
bad in
different circles, than those that I encountered.
> That all said, if the word "postmodern" has negative or different
> connotations within a culture (in this case Israeli) then any
> translated materials should take that into account and perhaps look
> for a better wo
).
I can attest that tzafrir_laptop ( see: http://tzafrir.org.il/ ) was not being
paranoid or nitpicky and is a trustworthy person, despite some of his faults.
Regards,
Shlomi Fish
--
-
Shlomi Fish http://ww
ps we can extend handles to be something like:
[code]
handles =>
{
'_get_get' => ['get1', 'get2'],
}
[/code]
(Syntax may be made better.)
Of course now the million dollar question is whether it should be $self-
>field->get1->get2 (Law of Demete
On Sunday 11 Apr 2010 18:45:33 Chris Prather wrote:
> On Sun, Apr 11, 2010 at 11:27 AM, Shlomi Fish wrote:
> > Hi all,
> >
> > I hope I'm not going to start a flamewar or appear as too domineering
> > (which I know has been an ongoing problem with me) but I'd
t it may
either make people wonder what the hell we mean, or may even give the wrong
impression, so I suggest we drop it.
I don't mind working on the patch to the site and to Moose.pm to change all
"post-modern"'s to "modern"'s, but I'd like to know it would
eased module, which is Resource::Pack and that can be found on my
> github (http://github.com/stevan/Resource-Pack).
Peace, Love and Meese,
Shlomi Fish
--
-
Shlomi Fish http://www.shlomifish.org/
First stop for Perl
On Tuesday 22 Dec 2009 15:10:06 Dermot wrote:
> 2009/12/22 Shlomi Fish :
> > Hi Dermot!
>
> Hi Shlomi,
>
Hi.
> >> package Media;
> >>
> >> use metaclass (
> >> metaclass => 'Moose::Meta::Class',
> >> erro
= shift;
> my $config = AppConfig->new( {
> CREATE => 0,
> });
> $config->define('media_root',{ ARGCOUNT=> 'ARGCOUNT_ONE' });
> my $config_file = "$Bin/../media.conf";
ur of the more
modern MRO::Compat (which defaults to mro.pm in perl-5.10.x and above).
YAML.pm was replaced with the faster and better YAML::XS . Finally, the
META.yml was enhanced with resources and keywords.
Have fun!
Shlomi
edo.com/MooseX-Exceptions/lib/MooseX/Exceptions.pm
> POD: http://www.friedo.com/MooseX-Exceptions/lib/MooseX/Exceptions.html
>
> There aren't any real unit tests or anything yet. I hope to have
> something CPAN-worthy in a week or two, depending on how much time I
> have to wor
se read it and respond to it here.
Regards,
Shlomi Fish
-----
Shlomi Fish http://www.shlomifish.org/
http://www.shlomifish.org/humour/ways_to_do_it.html
Shlomi, so what are you working on? Working on a new wiki about un
Hi Stevan!
Thanks for your informative response. See below for mine.
On Sun, Jun 1, 2008 at 5:19 PM, Stevan Little
<[EMAIL PROTECTED]> wrote:
> Shlomi,
>
> On Jun 1, 2008, at 8:57 AM, Shlomi Fish wrote:
>>
>> I said that I'd like to convert Test-Run to Moose. Well
Hi all!
[ I'm writing this email from a different address (with a typo of
Schrödinger's name) because I've encountered the following email
problem:
http://use.perl.org/~Shlomi+Fish/journal/36545 . Sorry for the inconvenience. ]
I previously wrote the following email:
http://ww
Hi Stevan!
On Friday 09 May 2008, Stevan Little wrote:
> Shlomi,
>
> On May 8, 2008, at 3:41 PM, Shlomi Fish wrote:
> > Hi all!
> >
> > Shlomif's Tenth Law of Perl OOP: "Every sufficiently complex
> > Class::Accessor
> > program contains contains
ese are classes whose constructors (the ->new() subroutines) can only be
passed proper pre-defined fields. It's very hacky and ad-hoc at the moment,
so I'm open for better Moose-based solutions.
# http://xrl.us/bkba3 - Test::Run::Base::Plugger
# http://xrl.us/bkba5 - Test::Run::Base:
34 matches
Mail list logo