Data::Printer::Filter::URI - pretty-printing URI objects
version 0.008
# In your program:
use Data::Printer filters => { -external => [ 'URI' ], };
# or, in your .dataprinter file:
.dataprinter
{ filters => { -external => [ 'URI' ], }, };
# You can also setup color and display details:
use Data::Printer { filters => { -external => [ 'URI' ], }, color => { uri_scheme => 'bright_green', uri_host => 'bold', }, };
This is a filter plugin for Data::Printer. It filters through several URI manipulation classes and displays the URI as a fancy string.
data
file
ftp
gopher
http
https
ldap
ldapi
ldaps
mailto
mms
news
nntp
pop
rlogin
rsync
rtsp
rtspu
scp (if URI::scp is present)
sftp (if URI::sftp is present)
sip
sips
snews
ssh
telnet
tn3270
urn
Mojo::URL is also supported.
Stanislaw Pusep <stas@sysd.org>
This software is copyright (c) 2014 by Stanislaw Pusep.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install Data::Printer::Filter::URI, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Data::Printer::Filter::URI
CPAN shell
perl -MCPAN -e shell install Data::Printer::Filter::URI
For more information on module installation, please visit the detailed CPAN module installation guide.