ensure consistent indentation
This commit is contained in:
parent
39fae8a17c
commit
64122adb09
@ -22,10 +22,10 @@ attribution github => [ 'https://github.com/UnGround', 'Charlie Belmer' ],
|
|||||||
|
|
||||||
handle remainder => sub {
|
handle remainder => sub {
|
||||||
# Ensure rand is seeded for each process
|
# Ensure rand is seeded for each process
|
||||||
srand();
|
srand();
|
||||||
|
|
||||||
my $address = join(':', map {sprintf '%0.2X', rand(255)}(1..6));
|
my $address = join(':', map {sprintf '%0.2X', rand(255)}(1..6));
|
||||||
|
|
||||||
my $text_response = "Here's a random MAC address: $address";
|
my $text_response = "Here's a random MAC address: $address";
|
||||||
my $html_response = "<i>Here's a random MAC address: </i>$address";
|
my $html_response = "<i>Here's a random MAC address: </i>$address";
|
||||||
return $text_response, html => $html_response;
|
return $text_response, html => $html_response;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user