$E = $m * $c^2

jplindstrom on 2005-06-30T11:00:24

It feels like there's a lot of energy in the Perl community right now with new, interesting, and cool stuff happening left and right.

$m is the number of new modules on CPAN. For me right now, Test::Base looks interesting, PPI is very useful for my Devel::PerlySense project and I hope to use Catalyst for something simple in the near future. And there are lots of others.

$c is the number of conferences being held, squared because of what happens when people meet in real life, talk to each other, hack together, drink beer, and become friends. YAPC::Europe is a couple of months away and I can't wait.


Seen Perl::Editor?

clscott on 2005-06-30T13:17:29

http://search.cpan.org/dist/Perl-Editor/

Re:Seen Perl::Editor?

jplindstrom on 2005-06-30T14:31:32

I hadn't seen it, but it seems somewhat similar in direction. Thanks for the pointer.

Devel::PerlySense isn't so much about refactoring (source editing) as about getting around your code base (browsing/navigation) and bringing the documentation for modules/methods/subs to you when coding. So it's more like IntelliSense in that regard.

For example, in Emacs, when the cursor is on the method of
$self->urlWikiRemote($1)
and you press C-p C-d (the Smart Docs command), you get to see the documentation (POD, example, or actual usage) for that method in the message buffer:
PROPERTIES
  urlWikiRemote
    Url of the remote Wiki to replicate to.
 
    When set, also set oWiki()->urlBase() if possible.
 
    Default: ""
Similarly C-p C-g is Smart Go To, which opens the file at the sub definition(declaration or documentation).

But it sounds like a good idea to coordinate the efforts, because a lot of the infrastructure and source analysis should be similar for refactoring and navigation.

Also Sepia

educated_foo on 2005-07-02T13:11:14

Also Sepia, which is my attempt at doing something similar using B::Xref instead of PPI. It's sort of rough, but it might be worth looking at.

Re:Also Sepia

jplindstrom on 2005-07-02T15:59:21

Wow, how come I haven't found this when surfing?

Maybe it should be a bit more visible on Emacs sites where Perl and cperl-mode is mentioned?

Re:Also Sepia

educated_foo on 2005-07-02T17:40:44

Hey, it's the first hit for "emacs perl sepia"...:)

I haven't promoted it much at all for a couple of reasons: First, I don't like self-promotion, so I don't like to go splashing Sepia all over web pages, mailing lists, etc. Second, there are known bugs in the current released version, and I haven't gotten around to fixing them all in my local copy. I find it useful myself, but you really need to know a bit of Emacs and Perl to get yourself out of trouble sometimes. It's great if you're willing to debug and/or help develop it, but not quite ready for "end-users".

Re:Also Sepia

jplindstrom on 2005-07-03T13:32:09

Ah, the difference between "a program" and "sofware" :)

Re:Also Sepia

educated_foo on 2005-07-20T12:27:58

New version on CPAN, which addresses some of the more obvious issues with the last. Give it a spin if you want.