From: Brian Cassidy Date: Thu, 2 Aug 2007 14:28:20 +0000 (+0000) Subject: tabs => spaces X-Git-Tag: 5.7099_04~175 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Runtime.git;a=commitdiff_plain;h=85d9fce671016c9040775c8b4458cf9c72ec2208;hp=cccc8f68ace5d11c3fdcbfc4e353225b3b574255 tabs => spaces --- diff --git a/lib/Catalyst.pm b/lib/Catalyst.pm index de2f188..6f1848a 100644 --- a/lib/Catalyst.pm +++ b/lib/Catalyst.pm @@ -111,7 +111,7 @@ documentation and tutorials. ### in lib/MyApp.pm use Catalyst qw/-Debug/; # include plugins here as well - ### In lib/MyApp/Controller/Root.pm (autocreated) + ### In lib/MyApp/Controller/Root.pm (autocreated) sub foo : Global { # called for /foo, /foo/1, /foo/1/2, etc. my ( $self, $c, @args ) = @_; # args are qw/1 2/ for /foo/1/2 $c->stash->{template} = 'foo.tt'; # set the template @@ -345,7 +345,7 @@ sub stash { my $c = shift; if (@_) { my $stash = @_ > 1 ? {@_} : $_[0]; - croak('stash takes a hash or hashref') unless ref $stash; + croak('stash takes a hash or hashref') unless ref $stash; foreach my $key ( keys %$stash ) { $c->{stash}->{$key} = $stash->{$key}; } @@ -993,8 +993,8 @@ sub welcome_message { "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> - - + + $name on Catalyst $VERSION