Ignore:
Timestamp:
01/07/26 13:22:08 (8 days ago)
Author:
Kris Deugau
Message:

/branches/cname-collision

File down a rough edge by way of proper new() boilerplate
File down another rough edge by initializing a module debug variable
Recordkeeping merge from /trunk
See #88

Location:
branches/cname-collision
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/cname-collision

    • Property svn:mergeinfo changed
      /trunkmerged: 961
  • branches/cname-collision/t/DNSTest.pm

    r949 r962  
    3939
    4040sub new {
     41  my $this = shift;
     42  my $class = ref($this) || $this;
     43  my %args = @_;
     44
    4145  $dnsdb = new DNSDB(
    4246        dbhost => 'localhost',
     
    4751  ok( defined $dnsdb );
    4852  ok( $dnsdb->isa('DNSDB') );
     53
     54  $debug = 1 if $args{debug};
    4955
    5056  ## Prepare the DB
Note: See TracChangeset for help on using the changeset viewer.