$mech->get($url);
my $response = $mech->content();
my @result_urls = $response =~ m#<a\s+target\=\'card\'\s+href=\"(carddisp\.pl\?[^\"]+)\"\s*>#sg;
+ @result_urls = grep {$_ !~ /gene=ENSG\d+\&/i} @result_urls;
my $dir_name = eval qq("$options{name}") or die $@;
if (not -d "$options{dir}/$dir_name") {
mkdir("$options{dir}/$dir_name") or die "Unable to make directory $options{dir}/$dir_name $!";