Sorry this is just my typo.
于 12-9-12 下午10:10, Paul Anderson 写道:
Did you copy and paste that code? Do you know that when calling can() you are
using $ojb instead of $obj?
Paul Anderson -- VE3HOP
--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-ma
Did you copy and paste that code? Do you know that when calling can() you are
using $ojb instead of $obj?
Paul Anderson -- VE3HOP
On 2012-09-12, at 9:17 AM, pangj wrote:
> Hi,
>
> Today I wrote a script for validate a dns record from the specified DNS
> server, the subroutine is:
>
Hi,
Today I wrote a script for validate a dns record from the specified DNS
server, the subroutine is:
sub validate_dns {
my $host = shift; # a host, for example, www.google.com
my $value = shift; # the host's DNS value, may be a CNAME or an iP
address
my $dns = shift; # DNS server