my $file_content = $mech->get($foo);