use Exporter;
-our $VERSION = '1.0.24';
+our $VERSION = '1.0.23';
our @ISA = qw(Exporter);
our @EXPORT = ();
our @EXPORT_OK = (
my %final_data;
foreach my $query (@querys) {
my %data;
- if (ref($query) {
+ if (ref($query)) {
%data = %$query;
}
else {
$final_data{$ind} = $data{$ind};
}
}
- return url_query_encode(\%data, $encoding);
+ return url_query_encode(\%final_data, $encoding);
}
# merge_url() will create a new URL based on