https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7541

Bill Cole <sa-bugz-20080...@billmail.scconsult.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |sa-bugz-20080315@billmail.s
                   |                            |cconsult.com

--- Comment #2 from Bill Cole <sa-bugz-20080...@billmail.scconsult.com> ---
No, see the line before: "uninitialized value in lc" means that there's no
parameter left to 'shift' off the parameter stack. So, the uri_to_domain
subroutine call is expecting 2 arguments but is only getting one. 


Demo of this in a very simple (hand-entered) program:

# perl
use strict;
use warnings;
sub demo {
  my $self = shift;
  my $dom = lc shift;

  print "self=$self   dom=$dom\n";
}

demo ('i...@foobar.baz');
^D
Use of uninitialized value in lc at - line 5.
self=i...@foobar.baz   dom=


The "Can't locate object method" message is probably because the parameter that
was passed should have been the second one.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to