> This doesn't work. Mouse doesn't see the superclass's attributes because they
> were declared by a different namespace, TB2::Mouse. The subclass must use
> TB2::Mouse if it wants to override attributes. I hadn't realized that. It
> also must use TB2::Mouse if it wants to consume TB2 roles.
On 2011.11.30 12:28 PM, Ricardo Signes wrote:
>> You're patching Test-Simple.
>
> Okay. So, I want to write a third-party test output formatter that emits test
> results in the binary language of my water vaporators. I subclass some core
> formatter with "use parent" and add some methods or some
* Michael G Schwern [2011-11-30T15:22:51]
> On 2011.11.30 7:20 AM, Ricardo Signes wrote:
> > re: "internal use"
> >
> > What does "internal" define here? What are the boundaries of the space to
> > which TB2::Mouse use is internal?
>
> Like any other "internal use only" .pm file in a CPAN modul
On 2011.11.30 7:20 AM, Ricardo Signes wrote:
> re: "internal use"
>
> What does "internal" define here? What are the boundaries of the space to
> which TB2::Mouse use is internal?
Like any other "internal use only" .pm file in a CPAN module, it can only be
used by the Test-Simple distribution (T
re: "internal use"
What does "internal" define here? What are the boundaries of the space to
which TB2::Mouse use is internal?
In what scenarios do I have to write something that uses it?
If I do that, am I likely using Mouse sugar?
--
rjbs
On Tue, Nov 29, 2011 at 10:33:42PM -0800, Michael G Schwern wrote:
> On 2011.11.29 9:49 PM, David E. Wheeler wrote:
> > How much slower will this make running the core tests,
> > since neither Mouse nor Mouse::XS will every be available
> > there (during development, at core installation time).
>
Please stop cc'ing my personal email address on this mailing list mail. I'm
already a subscriber. It just pollutes my "personal mail from friends"
folders.
--
rjbs
On 2011.11.30 4:31 AM, David Golden wrote:
> On Wed, Nov 30, 2011 at 6:13 AM, Michael G Schwern wrote:
>> Unfortunately, that would be a circular dependency between Mouse and TB2
>> unless...
>
> Not a complete dependency, though, as one can function without the
> other. As long as the CPAN cli
On Wed, Nov 30, 2011 at 6:13 AM, Michael G Schwern wrote:
> Unfortunately, that would be a circular dependency between Mouse and TB2
> unless...
Not a complete dependency, though, as one can function without the
other. As long as the CPAN clients are smart enough not to follow the
prereq chain
On 2011.11.30 2:04 AM, David Golden wrote:
> On Wed, Nov 30, 2011 at 12:39 AM, Michael G Schwern wrote:
>> There is a 3rd choice, which brings us full circle to where this discussion
>> started. We write TB2::Object [1] to select load Mouse if its available,
>> TB2::Mouse otherwise. That way TB2
On Nov 29, 2011, at 9:39 PM, Michael G Schwern wrote:
> 1. The core gets a shrouded copy of Mouse::Tiny, with different
> namespaces, as discussed at the beginning.
>
> 2. TB2 gets a performance kick once Mouse is installed.
>
> 3. Extension authors can use Mouse to subclass TB2 and consume
>
On Wed, Nov 30, 2011 at 12:16 PM, David Golden wrote:
> On Tue, Nov 29, 2011 at 11:25 PM, Gabor Szabo wrote:
>> What is your suggestion to solve this?
>> Does a request for such feature in Capture::Tiny sound reasonable?
>
> It's reasonable and has been requested before:
>
> https://rt.cpan.org/P
On Tue, Nov 29, 2011 at 11:25 PM, Gabor Szabo wrote:
> What is your suggestion to solve this?
> Does a request for such feature in Capture::Tiny sound reasonable?
It's reasonable and has been requested before:
https://rt.cpan.org/Public/Bug/Display.html?id=60515
I haven't found the tuits to div
On Wed, Nov 30, 2011 at 12:39 AM, Michael G Schwern wrote:
> There is a 3rd choice, which brings us full circle to where this discussion
> started. We write TB2::Object [1] to select load Mouse if its available,
> TB2::Mouse otherwise. That way TB2 classes are compatible with Mouse just in
> tim
14 matches
Mail list logo