http://www.perlmonks.org?node_id=103746

Tuna has asked for the wisdom of the Perl Monks concerning the following question:

I have a config file, whose contents I need to test the sanity of. One of the checks I need to do, is to determine the syntactical validity of a URI. One requirement: it should not accomplish this by doing DNS queries. I didn't see anything apparent on CPAN, but this is the first time that I have considered this, so I may be missing something. Ideas?