NAME
WWW::CIA::Source - a base class for WWW::CIA sources
SYNOPSIS
use WWW::CIA::Source;
my $source = WWW::CIA::Source->new();
DESCRIPTION
WWW::CIA::Source is a base class for WWW::CIA sources, such as WWW::CIA::Source::DBM and WWW::CIA::Source::Web.
It could be used as a source in its own right, but it won't get you very far.
METHODS
new()
-
This method creates a new WWW::CIA::Source object. It takes no arguments.
value($country_code, $field)
-
Retrieve a value. Always returns
undef
. all($country_code)
-
Retrieve all fields and values. Always returns an empty hashref.
AUTHOR
Ian Malpass (ian@indecorous.com)
COPYRIGHT
Copyright 2003, Ian Malpass
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
The CIA World Factbook's copyright information page (http://www.cia.gov/cia/publications/factbook/docs/contributor_copyright.html) states:
The Factbook is in the public domain. Accordingly, it may be copied
freely without permission of the Central Intelligence Agency (CIA).
SEE ALSO
WWW::CIA, WWW::CIA::Parser, WWW::CIA::Source::DBM, WWW::CIA::Source::Web