Bud Man has asked for the wisdom of the Perl Monks concerning the following question:

I am receiving this error message:

Useless use of private variable in void context at /var/www/.dada_files/.bounce_handler/dada_bounce_handler.pl line 1106.

This is the relevant code, the last line being line 1106.

if((!$list) || (!$email) || !keys %{$diagnostics}){ my ($qmail_list, $qmail_email, $qmail_diagnostics) = parse_for_qma +il($entity); $list ||= $qmail_list; $email ||= $qmail_email; $diagnostics = ($diagnostics, $qmail_diagnostics);
I am not sure how to correct this problem.

Ciao

Replies are listed 'Best First'.
Re: Useless use of private variable
by merlyn (Sage) on May 01, 2005 at 15:41 UTC