X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Manual.git;a=blobdiff_plain;f=lib%2FCatalyst%2FManual%2FTutorial%2F08_Testing.pod;h=b28fc08783ff48f28fa795da263c9e9ce51a9b6a;hp=bf759d8fe433c3a029835dc7d0ba1eb60a5098dd;hb=429d1caf111575afa4c25287cc48d7ed712af327;hpb=7ce05098c9b1df9078e709e5a724e821a3b3b00d diff --git a/lib/Catalyst/Manual/Tutorial/08_Testing.pod b/lib/Catalyst/Manual/Tutorial/08_Testing.pod index bf759d8..b28fc08 100644 --- a/lib/Catalyst/Manual/Tutorial/08_Testing.pod +++ b/lib/Catalyst/Manual/Tutorial/08_Testing.pod @@ -358,7 +358,7 @@ databases. One solution is to allow the database specification to be overridden with an environment variable. For example, open C in your editor and change the -C<__PACKAGE__-Econfig(...> declaration to resemble: +C<< __PACKAGE__->config(... >> declaration to resemble: my $dsn = $ENV{MYAPP_DSN} ||= 'dbi:SQLite:myapp.db'; __PACKAGE__->config(