=head2 $mech->save_content( $filename ) Dumps the contents of C<< $mech->content >> into I<$filename>. I<$filename> will be overwritten. =cut sub save_content { my $self = shift; my $filename = shift; open( my $fh, ">", $filename ) or $self->die( "Unable to create $f +ilename: $!" ); print $fh $self->content; close $fh; }
update: confirmed and reported
In reply to Re^2: Using Mechanize to download a zip file?
by PodMaster
in thread Using Mechanize to download a zip file?
by dhanu
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |