The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Devel::PerlySense::Cookbook -- simple solutions to common issues

COMMON PROBLEMS

Weird characters in the *compilation* buffer when runnign tests

You probably use a recent version of Test::Harness or something. It has nice colorized output as default.

Change your Project Config for running files to

  prove --nocolor

CONVENIENT TRICKS

Highlight Catalyst/DBIC setup code

Add this

  -
    moniker: "Package method calls (Cat/DBIC)"
    rex:
      - qr/ __PACKAGE__ \s* -> \s* ( [\w]+ .* ) /x

to the Bookmarks section in your Project Config. It will highlight things like

  __PACKAGE__->table("cust");

These declarations are part of what defines the class, and so are very useful to see in the Class Overview.