* Steve Kleiman <[email protected]> [2010-01-16 13:15]:
> I gather it's Bad to pass in $c so that within a schema I can't
> do what I'd really like which is:
> $c->log->warn('some useful debug info');
Pass in $c->log and do:
$log->warn('some useful debug info');
In your testsuite you can pass a Class::Null object.
--
*AUTOLOAD=*_;sub _{s/(.*)::(.*)/print$2,(",$\/"," ")[defined wantarray]/e;$1}
&Just->another->Perl->hack;
#Aristotle Pagaltzis // <http://plasmasturm.org/>
_______________________________________________
List: [email protected]
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/[email protected]/
Dev site: http://dev.catalyst.perl.org/