add dot to match for total donated amount
This commit is contained in:
parent
ba89b97e7d
commit
dfe4be5f00
|
@ -89,7 +89,7 @@ sub mailout {
|
|||
my $month = strftime("%m", localtime);
|
||||
|
||||
my $response = HTTP::Tiny->new->get('https://openbsd.amsterdam/index.html');
|
||||
my $total_donated = $1 if $response->{'content'} =~ /([0-9,]+) donated to the OpenBSD/;
|
||||
my $total_donated = $1 if $response->{'content'} =~ /([0-9,\.]+) donated to the OpenBSD/;
|
||||
my $total_vms = $1 if $response->{'content'} =~ /([0-9]+) VMs deployed/;
|
||||
$response = HTTP::Tiny->new->get('https://openbsd.amsterdam/servers.html');
|
||||
my $total_hosts = () = $response->{'content'} =~ /(\>Server )/g;
|
||||
|
|
Loading…
Reference in New Issue