Quote:
Originally Posted by robot_parade
use warnings;
use strict;
|
Indeed.
Quote:
Originally Posted by robot_parade
Anyway, the test I decided to use was /\w\w/ - ie 'does the supposed URL contain 2 'word' characters (a-z, plus dash) this rules out a single dash, and a bunch of other possible bogus data.
|
That's exactly the test I was planning on proposing.