Lingua::Flags - Provide small flag icons


NAME

Lingua::Flags - Provide small flag icons


SYNOPSIS

Provides small flag icons in different formats.

    use Lingua::Flags;
    my $foo = as_html_img("PT");
    print "<p>This is in $foo language</p>";
     
    open GIF, ">image.gif";
    print GIF as_gif("PT");
    close GIF;


DESCRIPTION

Module with small flags icons. You can get them in base64 inline HTML image or as a gif image.


FUNCTIONS

as_html_img

Returns an inline HTML image. For now, it just works with Netscape/Gecko based browsers.

as_gif

Returns the gif code. Normally used as:

  open GIF, ">image.gif";
  print GIF as_gif("PT");
  close GIF;


AUTHOR

Alberto Simoes, <ambs@cpan.org>


BUGS

Please report any bugs or feature requests to bug-lingua-flags@rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.


COPYRIGHT & LICENSE

Copyright 2007 Alberto Simoes, all rights reserved.

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