On Wed, May 06, 2009 at 10:42:00AM -0700, Jonathan Leto wrote:
Wow, I was taken aback when I read not interested in changing/fixing
Perl itself. Ever heard of technical debt? You can feel it every time
you type my ($self) = @_. Also, Perl 5 doesn't have OO, it has
blessed scalars. Just
On Wed, May 06, 2009 at 11:40:26AM -0700, Jonathan Leto wrote:
Jonathan forgot to attribute whoever wrote:
1. Not every module you're using will be Moose-based, so if you're working
on one of those, you'll need to remember to switch back and forth. It's bad
enough having both (Perl's
Do you mean Parse::Method::Signatures ?
On Tue, May 5, 2009 at 10:54 PM, breno oainikus...@gmail.com wrote:
On Wed, May 6, 2009 at 12:04 AM, Bill Ward b...@wards.net wrote:
Params::Validate has the right features, but I really don't like the
verbosity of its configuration. I was hoping
On Wed, May 6, 2009 at 2:59 AM, Bill Ward b...@wards.net wrote:
Do you mean Parse::Method::Signatures ?
No, I mean http://search.cpan.org/perldoc?Method::Signatures
http://www.slideshare.net/schwern/methodsignatures-presentation
I haven't looked at it much, but it seems to fill most of your
On Tue, May 5, 2009 at 11:48 PM, breno oainikus...@gmail.com wrote:
On Wed, May 6, 2009 at 2:59 AM, Bill Ward b...@wards.net wrote:
Do you mean Parse::Method::Signatures ?
No, I mean http://search.cpan.org/perldoc?Method::Signatures
You seem to hate everything. I am confused as to why people even waste
their time trying to help you.
* On Wed, May 06 2009, Bill Ward wrote:
1. Same problem as Moose - it changes the language too much for my
taste. I don't see what all the fuss is about declaring $self.
Most people want to
On Wed, May 6, 2009 at 6:50 AM, Jonathan Rockway j...@jrock.us wrote:
You seem to hate everything. I am confused as to why people even waste
their time trying to help you.
[snip]
Anyway, embrace modules. They are the reason to use Perl.
I think Bill gets Perl. (c.f.
On Wed, May 06, 2009 at 07:10:49AM -0400, David Golden wrote:
I don't think he deserves public scorn in response to a reasonable
question and reasonable objections to suggestions.
I agree about the public scorn, but I disagree that Perl 5's OO is fine is
reasonable. It's horrible; we just all
On Wed, May 6, 2009 at 6:38 AM, Hans Dieter Pearcey
hdp.perl.module-auth...@weftsoar.net wrote:
On Wed, May 06, 2009 at 07:10:49AM -0400, David Golden wrote:
I don't think he deserves public scorn in response to a reasonable
question and reasonable objections to suggestions.
I agree about
Howdy,
Thanks guys for sticking up for me. I am just old-fashioned, I guess; for
better or for worse, I'm not interested in changing/fixing Perl itself, just
in finding writing reusable code that meets my needs without adding stuff
that doesn't.
Wow, I was taken aback when I read not
On Wed, May 6, 2009 at 10:42 AM, Jonathan Leto jal...@gmail.com wrote:
Howdy,
Thanks guys for sticking up for me. I am just old-fashioned, I guess;
for
better or for worse, I'm not interested in changing/fixing Perl itself,
just
in finding writing reusable code that meets my needs
On Wed, May 06, 2009 at 11:27:05AM -0700, Bill Ward wrote:
1. Not every module you're using will be Moose-based, so if you're working on
one of those, you'll need to remember to switch back and forth. It's bad
enough having both (Perl's approximation of) OO and procedural calls.
If you're
Howdy,
There are a couple of big problems with adopting Moose or one of the similar
redesigns of Perl OO.
You mean implementing OO in Perl, but I get it.
1. Not every module you're using will be Moose-based, so if you're working
on one of those, you'll need to remember to switch back and
On Wed, May 6, 2009 at 3:54 PM, Paul LeoNerd Evans
leon...@leonerd.org.ukwrote:
On Wed, 6 May 2009 11:27:05 -0700
Bill Ward b...@wards.net wrote:
(Perl's approximation of) OO
I've often seen this one bandied about, and I can't say I agree with it.
Neither do I, but I threw the
Is anyone aware of any modules that will check subroutine arguments? I can
think of two similar features of Perl, but neither is quite right:
1. Prototypes (perlsyn) - put something like ($$@) after your subroutine
declaration - but doesn't work for object methods and a few other cases.
Plus,
On Tue, May 05, 2009 at 07:51:09PM -0700, Bill Ward wrote:
I'm often having to add a half dozen lines of code to every subroutine to
perform argument validation and I'd like to offload it once and for all into a
CPAN module. Has anyone written or seen such a beast? I haven't, so I've
started
On Tue, 5 May 2009, Bill Ward wrote:
I'm often having to add a half dozen lines of code to every subroutine to
perform argument validation and I'd like to offload it once and for all into
a CPAN module. Has anyone written or seen such a beast? I haven't, so I've
started writing it... but
On Tue, May 5, 2009 at 7:55 PM, Hans Dieter Pearcey
hdp.perl.module-auth...@weftsoar.net wrote:
On Tue, May 05, 2009 at 07:51:09PM -0700, Bill Ward wrote:
I'm often having to add a half dozen lines of code to every subroutine to
perform argument validation and I'd like to offload it once
On Tue, May 5, 2009 at 7:55 PM, Dave Rolsky auta...@urth.org wrote:
On Tue, 5 May 2009, Bill Ward wrote:
I'm often having to add a half dozen lines of code to every subroutine to
perform argument validation and I'd like to offload it once and for all
into
a CPAN module. Has anyone written
On Tue, May 05, 2009 at 08:04:35PM -0700, Bill Ward wrote:
I'm not interested in being locked-in to a framework like Moose, so I won't
even consider those.
http://search.cpan.org/~drolsky/Moose-0.77/lib/Moose/Util/TypeConstraints.pm#Use_with_Other_Constraint_Modules
Moose's type constraints
On Tue, May 5, 2009 at 8:27 PM, Hans Dieter Pearcey
hdp.perl.module-auth...@weftsoar.net wrote:
On Tue, May 05, 2009 at 08:04:35PM -0700, Bill Ward wrote:
I'm not interested in being locked-in to a framework like Moose, so I
won't
even consider those.
On Wed, May 6, 2009 at 12:04 AM, Bill Ward b...@wards.net wrote:
Params::Validate has the right features, but I really don't like the
verbosity of its configuration. I was hoping for something more like the
Perl prototyping or Getopt::Long syntax. Maybe I'll write a wrapper around
22 matches
Mail list logo