Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

grink (8549)

grink
  (email not shown publicly)
+ -

  Comment: Patch posted (Score 1) on 2009.06.17 17:55

Hi, I posted a patch in #toolchain that integrates Archive::Tar->iter with tests
Read More 4 comments
Comments: 4
+ -

  Comment: Re:If only... (Score 1) on 2009.06.13 21:19

by grink on 2009.06.13 21:19 (#69066)
Attached to: Source code should look professional...

my $xyzzy = 1; # Well hidilly-ho, scalareno!

Read More 7 comments
Comments: 7
+ -

  Comment: use.perl will punish me unless I put in a Subject (Score 1) on 2009.06.13 14:59

>These "thinkers" get way too far out of touch way too quickly otherwise. "Intuition" is plentiful, cheap, and without the rigors of testing from actual experimentation and application, unfiltered garbage.

Yup.

Working link for the lazy web: http://theworkinggeek.com/2009/06/dirty-presentations-xkcd-and-the-perils-of-140 -cha.html

Read More 2 comments
Comments: 2
+ -

  Comment: Re:Specific (Score 1) on 2009.06.08 13:09

by grink on 2009.06.08 13:09 (#69002)
Attached to: CPAN2

Just FYI, cpan doesn't seem to like 'install' from the command line:

cpan install Catalyst::Engine::FastCGI

It looks like you specified 'install' as an argument to cpan(1). This
script is not the CPAN.pm prompt and doesn't understand the same commands.
In fact, doesn't require the extra typing. You probably just want to
list the modules you want to install:

                cpan Catalyst::Engine::FastCGI

See the documentation for more details on using this script.

Read More 8 comments
Comments: 8
+ -

  Comment: Cool (Score 1) on 2009.06.06 21:20

Have not dug into the nitty gritty of your post yet, but wow, looks awesome
Read More 3 comments
Comments: 3
+ -

  Comment: Module::Pluggable (Score 1) on 2009.06.05 10:40

by grink on 2009.06.05 10:40 (#68962)
Attached to: Devel::NYTProf for the win.

Hah, that's interesting

Yes, AFAIK Module::Pluggable doesn't cache its results, to each time you call ->plugins it will rescan the hierarchy

Usually people only load a config at startup once, so it's not typically a problem

In Config::Any:

{ my (@plugins, $loaded); sub plugins { return @plugins if $loaded; $loaded = 1; return @plugins = $finder->plugins } }

Read More 2 comments
Comments: 2
+ -

  Comment: Re:Specific (Score 1) on 2009.06.04 22:06

by grink on 2009.06.04 22:06 (#68956)
Attached to: CPAN2

http://rt.cpan.org/Public/Bug/Display.html?id=46045

Yes, it has the command-line sugar, but it also needs to be able to complete successfully (I realize this can be problematic with out-of-date installations)

Finally, we need to blat "cpan -i (package)" over the web so people can easily find out how to do it. Maybe even include some pointers to local::lib

Read More 8 comments
Comments: 8
+ -

  Comment: Specific (Score 1) on 2009.06.04 20:33

by grink on 2009.06.04 20:33 (#68953)
Attached to: CPAN2

Can you be a little bit more specific about how you want CPAN2 to work?

This has been a sore point for me lately, I really think we need to do a better job of lowering the barrier of entry to access CPAN.

For example, if I do some searches for CPAN (on Google), it's difficult to find clear instructions on how to install stuff. The examples I've seen show something like this:

                perl -MCPAN -e shell

BEFORE introducing

                cpan -i

I mean really, put the newbie into a strange environment? Not a great idea IMHO.

http://sial.org/howto/perl/life-with-cpan/ is really terrific, I mean, a wonderful resource. However, there's no clear synopsis on the top on how to install, say, Moose.

Installing a CPAN module should be as easy as doing

                  apt-get install (package)

Perl IS CPAN, and we need to make it more accessible to the newish developer.

Read More 8 comments
Comments: 8
+ -

  Comment: Neato (Score 1) on 2009.05.09 20:50

by grink on 2009.05.09 20:50 (#68503)
Attached to: Writing a Perl 6 blogging app in 90 minutes
Cool stuff! Great to see 6 in action
Read More 2 comments
Comments: 2
+ -

  Comment: Right tool for the job (Score 1) on 2009.04.29 22:20

by grink on 2009.04.29 22:20 (#68359)
Attached to: In Defense of Simple Stuff

Right tool for the job

Sometimes procedural is the way to go, there's nothing wrong with that

my $p = Net::Ping->new(); my $alive = $p->ping('127.0.0.1'); ok( $alive, 'testing localhost' ); $p->close;

... screams Java to me... scary

Read More 5 comments
Comments: 5
+ -

  Comment: sin / cos (Score 1) on 2009.04.24 16:30

by grink on 2009.04.24 16:30 (#68296)
Attached to: Well, Now I Know (Roles)

I noticed you are using a role called 'ResultSource'

Are you using DBIx::Class?

If so, how are you integrating it with Moose? Are you extending the DBIx::Class'es or are you wrapping the storage object (the row)?
That is, do you have two classes for each business entity: one for the model and one for the storage (DBIx::Class)?

Read More 18 comments
Comments: 18
+ -

  Comment: Groovy (Score 1) on 2009.04.22 1:21

by grink on 2009.04.22 1:21 (#68200)
Attached to: Insanely parsimonious perl
Sounds cool, I look forward to the release
Read More 1 comments
Comments: 1
+ -

  Comment: Re:Role organization (Score 1) on 2009.04.17 15:38

by grink on 2009.04.17 15:38 (#68158)
Attached to: Mixins Considered Harmful

I like Does::

(insert picture of a Pakled)

http://img522.imageshack.us/img522/9214/pakled1.jpg

Read More 4 comments
Comments: 4
+ -

  Comment: Role organization (Score 1) on 2009.04.17 13:45

by grink on 2009.04.17 13:45 (#68153)
Attached to: Mixins Considered Harmful

How do you store roles in a project (where do they go in your namespace)?

Do you have a special package, like:

MyFramework::Role::Does*

Read More 4 comments
Comments: 4
+ -

  Comment: Cool stuff (Score 1) on 2009.04.10 16:03

by grink on 2009.04.10 16:03 (#68071)
Attached to: Before and After Graphs (Role Application)
Very cool post, thanks
Read More 2 comments
Comments: 2