NAME

Data::Format::Validate::URL - A URL validating module.

SYNOPSIS

Function-oriented module capable of validating: - Any URL with name, with or without protocol, hostname, path or params - Full URL, with protocol, hostname and name, with or without path or params

UTILITIES

Any URL
use Data::Format::Validate::URL 'looks_like_any_url';

looks_like_any_url 'duckduckgo.com';    # returns 1
looks_like_any_url 'www. duckduckgo';   # returns 0
Only full URL
use Data::Format::Validate::URL 'looks_like_full_url';

looks_like_full_url 'http://www.duckduckgo.com/search?q=perl';  # returns 1
looks_like_full_url 'http://duckduckgo.com';                    # returns 0

CONTRIBUITION

This source is on Github:

https://github.com/rozcovo/Data-Format-Validate/blob/master/lib/Data/Format/Validate/URL.pm

AUTHOR

Created by Israel Batista <rozcovo@cpan.org>