Skip Menu |

This queue is for tickets about the Catalyst-Manual CPAN distribution.

Report information
The Basics
Id: 71410
Status: resolved
Priority: 0/
Queue: Catalyst-Manual

People
Owner: Nobody in particular
Requestors: bill.corr [...] btinternet.com
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 5.9002
Fixed in: (no value)



Subject: Missing information in Catalyst::Manual::Tutorial::07_Debugging
The paragraph that describes how it is possible to use Data::Dumper from within Template Toolkit fails to mention that you need to 'use' the dumper modules too. Original : You can also use Data::Dumper in both Catalyst code (use Data::Dumper; $c->log->debug("\$var is: ".Dumper($var));)) and TT templates ([% Dumper.dump(book) %]. Corrected : You can also use Data::Dumper in both Catalyst code (use Data::Dumper; $c->log->debug("\$var is: ".Dumper($var));)) and TT templates ([% USE Dumper %] [% Dumper.dump(book) %]. Though for clarity it might be better written as two sentences. Cheers, Bill.