in reply to COVID-19 data analytics, cryptography, and some things you should know
$ip =~ m/^\d+\.\d+\.\d+\.\d+$/
If you're worried about a valid IPv4 dotted-decimal IP address, take a look at Regexp::Common::net (and at Regexp::Common to see how to invoke said module). And I'm sure there are other, similar CPAN resources available.
Give a man a fish: <%-{-{-{-<
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: COVID-19 data analytics, cryptography, and some things you should know
by tachyon-II (Chaplain) on Apr 05, 2020 at 11:28 UTC | |
by 1nickt (Canon) on Apr 05, 2020 at 12:36 UTC | |
by AnomalousMonk (Archbishop) on Apr 05, 2020 at 22:03 UTC |
In Section
Seekers of Perl Wisdom