I have the code:
#!/usr/bin/perl
use strict;
use WWW::Mechanize;
my $url = \'http://divxsubtitles.net/page_subtitleinformation.php?ID=111292\';
my $m = WWW:
After submitting the form, you can use:
$mech->save_content( $filename )
Dumps the contents of $mech->content into $filename. $filename will be overwritten. Dies if there are any errors.
If the content type does not begin with "text/", then the content is saved in binary mode.
Source: http://metacpan.org/pod/WWW::Mechanize