This takes any digit/dot string and calls inet_aton on it, and if it passes, accepts the value. Otherwise, rejects the value. PRD rocks.IP: /([\d.]+)/ { use Socket; inet_aton($1) and $1 }
-- Randal L. Schwartz, Perl hacker
Be sure to read my standard disclaimer if this is a reply.
In reply to •Re: Re: Re: TNSNAMES.ORA and Recdescent
by merlyn
in thread TNSNAMES.ORA and Recdescent
by jmr4096
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |