NAME

OpenData::ShortNumberInfo - Perl interface to OpenData ShortNumberInfo web service

VERSION

version 0.230470

SYNOPSIS

  use OpenData::ShortNumberInfo;

  my $shortnumberinfo =
	  OpenData::ShortNumberInfo -> new( number => 101 );

  say $shortnumberinfo -> name;

ATTRIBUTES

number

Returns the three digit phone number the object was constructed with

METHODS

name

Takes a 3 digit phone number, and returns the organization name it belongs to.

Prints a message to standard error stream exiting with the status code of 2 if there's no organization found for the number specified.

AUTHOR

Elvin Aslanov <rwp.primary@gmail.com>

COPYRIGHT AND LICENSE

This software is copyright (c) 2023 by Elvin Aslanov.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.