Menu

#33 Use of uninitialized value $domain in split at line 500

open-fixed
dkimproxy (14)
3
2010-11-14
2009-07-28
Jason Long
No

got this error on STDERR while running with no domain,signature options, only a listid_map option...

Use of uninitialized value $domain in split at ../scripts/dkimproxy.out line 500, <_GEN_0> line 3.

the code in question is...
# if multiple domains were specified in the --domain argument,
# pick one of those domains to use
my $domain = $domain_arg;
my @domains = split /,/, $domain;
if (@domains > 1)

question is, should I allow $domain_arg to be undef?

Discussion

  • Jason Long

    Jason Long - 2010-11-14

    this has been fixed.

     
  • Jason Long

    Jason Long - 2010-11-14
    • status: open --> open-fixed
     

Log in to post a comment.

MongoDB Logo MongoDB