The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Acme::Terror::UK - Fetch the current UK terror alert level

SYNOPSIS

  use Acme::Terror::UK;
  my $t = Acme::Terror::UK->new();  # create new Acme::Terror::UK object

  my $level = $t->fetch;
  print "Current terror alert level is: $level\n";

DESCRIPTION

Gets the currrent terrorist threat level in the UK.

The levels are either... CRITICAL - an attack is expected imminently SEVERE - an attack is likely SUBSTANTIAL - an attack is a strong possibility MODERATE - an attack is possible but not likely LOW - an attack is unlikely

This module aims to be compatible with the US version, Acme::Terror

BUGS

This module just screenscrapes the home office website so is vulnerable to breaking if the page design changes.

SEE ALSO

Acme::Terror http://www.homeoffice.gov.uk/security/current-threat-level/

AUTHOR

Robert Price, <rprice@cpan.org>

COPYRIGHT AND LICENSE

Copyright (C) 2006 by Robert Price

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.7 or, at your option, any later version of Perl 5 you may have available.