Subject: | Warning on declaring a before/after method Before the main |
Date: | Wed, 24 Feb 2010 17:59:26 +0900 |
To: | bug-MooseX-Declare [...] rt.cpan.org |
From: | Ben Humphreys <benhumphreys [...] gmail.com> |
I've hit this a few times.
Example:
before foo {
}
method foo {
}
after foo {
}
The "before" doesn't get run, and there's no warning.
It'd be nice if there was a warning or even an error.
From IRC earlier:
<bhumphreys> I keep forgetting it's not declarative
<Sartak> can you file a bug to ask for MXD to whine more loudly about that
Hope this is concise enough
Ben