[Thousand-oaks-pm] Modern Perl Presentation

Jordan Coleman jordan at JordanColeman.com
Thu Jun 11 14:07:24 PDT 2009


On Jun 11, 2009, at 1:57 PM, Aran Deltac wrote:

> Those of you that had module suggestions – please send them out to  
> the list.

My two were Toolkit and Smart::Comments.

Smart::Comments in particular is quite awesome.  It lets you turn some  
of your comments into debugging prints.  You can make the  
functionality conditional upon the presence of an environment variable  
with "use Smart::Comments -ENV;".  Then, with the environment variable  
set, you get lots of juicy debugging, but when you move your code to a  
production environment where the variable isn't set, the debugging  
"falls out" and doesn't even get compiled.  Nifty.

Check out the docs -- especially the part about one-liner progress bars.

++J



More information about the Thousand-oaks-pm mailing list