Catalyst::Manual::Tutorial::Debugging

Catalyst::Manual::Tutorial::Debugging contains a tutorial with a brief look at the primary options of Catalyst applications.
Download

Catalyst::Manual::Tutorial::Debugging Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Kennedy Clark
  • Publisher web site:
  • http://search.cpan.org/~mramberg/Catalyst-Runtime-5.7012/lib/Catalyst/Manual/Installation/CentOS4.pod

Catalyst::Manual::Tutorial::Debugging Tags


Catalyst::Manual::Tutorial::Debugging Description

Catalyst::Manual::Tutorial::Debugging contains a tutorial with a brief look at the primary options of Catalyst applications. Catalyst::Manual::Tutorial::Debugging contains a tutorial which takes a brief look at the primary options available for troubleshooting Catalyst applications.Note that when it comes to debugging and troubleshooting, there are two camps:· Fans of log and print statements embedded in the code.· Fans of interactive debuggers.Catalyst is able to easily accommodate both styles of debugging.LOG STATEMENTSFolks in the former group can use Catalyst's $c->log facility. (See Catalyst::Log for more detail.) For example, if you add the following code to a controller action method: $c->log->info("Starting the foreach loop here"); $c->log->debug("Value of $id is: ".$id);Then the Catalyst development server will display your message along with the other debug output. To accomplish the same thing in a TTSite view use: You can also use Data::Dumper in both Catalyst code (use Data::Dumper; $c->log->debug("$var is: ".Dumper($var));)) and TT templates (. Requirements: · Perl


Catalyst::Manual::Tutorial::Debugging Related Software