#!/usr/bin/perl
use strict;
use warnings;
use HTTP::Tiny;
use MIME::Base64;
push @ARGV, "https://www.perl.com/favicon.ico" unless @ARGV;
print qq~\n~ || die "something went wrong";
=head1 DESCRIPTION
Perl one-liner/script fetches favicon from the network,
converts it to base64, and prints an HTML link tag with
favicon data URL. Use with discretion, favicons may be
legally possessed. It's great fun to jazz local
scripts and documents.
=head1 VERSION
Multi-line data and output version.
=head1 ONE-LINER
perl -MHTTP::Tiny -MMIME::Base64 -e 'print qq~\n~||die"something went wrong"' https://www.perl.com/favicon.ico
=head1 CAVEAT
Verify the url and the link because this encodes anything, including errors.
=head1 AUTHOR
=over
=item usemodperl
L
=back
=cut