@@ -29,8 +29,10 @@ my %command_line_options = (
2929 images => sub { push ( @actions , \&dump_images ) },
3030 all => sub {
3131 $all ++;
32- push ( @actions ,
33- \&dump_headers, \&dump_forms, \&dump_links, \&dump_images );
32+ push (
33+ @actions ,
34+ \&dump_headers, \&dump_forms, \&dump_links, \&dump_images
35+ );
3436 },
3537 text => sub { push ( @actions , \&dump_text ) },
3638 ' absolute!' => \$absolute ,
@@ -107,7 +109,7 @@ See L<LWP::UserAgent> for details.
107109=cut
108110
109111my @uris = @ARGV
110- or die " Must specify a URL or file to check. See --help for details.\n " ;
112+ or die " Must specify a URL or file to check. See --help for details.\n " ;
111113
112114@actions = ( \&dump_forms ) unless @actions ;
113115
@@ -153,8 +155,8 @@ foreach my $uri (@uris) {
153155 $mech -> credentials( $user , $pass );
154156 $response = $mech -> get($uri );
155157 $response -> is_success
156- or die " Can't fetch $uri with username and password\n " ,
157- $response -> status_line, " \n " ;
158+ or die " Can't fetch $uri with username and password\n " ,
159+ $response -> status_line, " \n " ;
158160 }
159161 else {
160162 die " $uri returns status " , $response -> code, " \n " ;
@@ -163,8 +165,8 @@ foreach my $uri (@uris) {
163165
164166 unless ($no_ct_check ) {
165167 $mech -> is_html
166- or die qq{ $uri returns type "} , $mech -> ct,
167- qq{ ", not "text/html"\n } ;
168+ or die qq{ $uri returns type "} , $mech -> ct,
169+ qq{ ", not "text/html"\n } ;
168170 }
169171
170172 foreach my $action (@actions ) {
0 commit comments