use URI::file; my $uri = URI::file->new_abs( "/path/to/file" )->as_string; my $response = $mech->get( $uri );
[download]