Lingua::Flags - Provide small flag icons
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;
Module with small flags icons. You can get them in base64 inline HTML image or as a gif image.
Returns an inline HTML image. For now, it just works with Netscape/Gecko based browsers.
Returns the gif code. Normally used as:
open GIF, ">image.gif"; print GIF as_gif("PT"); close GIF;
Alberto Simoes, <ambs@cpan.org>
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 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.