---
name: "WebService::CIA::Source"
section: "3pm"
platform: "linux"
package: "libwebservice-cia-perl"
version: "1.4-4"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/WebService::CIA::Source"
---

# WebService::CIA::Source(3pm)

A base class for WebService::CIA sources

## NAME

WebService::CIA::Source - A base class for WebService::CIA sources

## SYNOPSIS

```
  use WebService::CIA::Source;
  my $source = WebService::CIA::Source->new();
```

## DESCRIPTION

WebService::CIA::Source is a base class for WebService::CIA sources, such as WebService::CIA::Source::DBM and WebService::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 WebService::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-cpan@indecorous.com)

## COPYRIGHT

Copyright 2003-2007, 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 (\<https://www.cia.gov/library/publications/the-world-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

WebService::CIA, WebService::CIA::Parser, WebService::CIA::Source::DBM, WebService::CIA::Source::Web
