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