abstractwankery.com
taking it to the next level
MooseX::Declare and huge warnings.
Posted by Nick at 2:07 PM
Did you upgrade Moose and started seeing this warning all over the place in your MooseX::Declare modules?
The old Moose::Util::MetaRole API (before version 0.94) has been deprecated
Upgrade MooseX::LazyRequire while you're at it.
0 comments
MooseX::Declare, TextMate, and TmCodeBrowser
Posted by Nick at 2:01 PM
Do you use TextMate?
Do you use TmCodeBrowser?
Do you use MooseX::Declare?

Must be a pain that nothing shows up the side pane when you start using it. It was for me.

Open '~/Library/Application Support/TextMate/PlugIns/TmCodeBrowser.tmplugin/Contents/Resources/.ctags.tmcodebrowser' in a text editor. Add the following:

--regex-perl=/^[ \t]*(class)[ \t]+([^\ \t;]+)\s*[ \t]*[{;]/\2/c,class,classes/
--regex-perl=/^[ \t]*has[ \t]+'([^\ \t;\(]+)'/\1/p,property,properties/
--regex-perl=/^[ \t]*method[ \t]+([^\ \t;\(]+)/\1/m,method,methods/


Reload TextMate.

Bask in the awesome.
0 comments