ok( get('/foo') =~ /bar/ );
-
=head1 DESCRIPTION
Test Catalyst applications.
=cut
sub import {
- my $self = shift;
+ my $self = shift;
my $class = shift;
my ( $get, $request );
unless ( ref $request ) {
- my $uri = ( $request =~ m/http/i )
+ my $uri =
+ ( $request =~ m/http/i )
? URI->new($request)
: URI->new( 'http://localhost' . $request );