hesco has asked for the wisdom of the Perl Monks concerning the following question:
gets returned for these lines:"my" variable $title masks earlier declaration in same statement at t/ +dpr_functions.t line 298. "my" variable $moreinfo masks earlier declaration in same statement at + t/dpr_functions.t line 298. "my" variable $contacts masks earlier declaration in same scope at t/d +pr_functions.t line 300. "my" variable $title masks earlier declaration in same scope at t/dpr_ +functions.t line 300. etc., . . .
In the past, I've only seen this error when I try to re-initialize a variable I've already seen in the same block. What is this about? -- Hugh298 print STDERR "$title\n$moreinfo\n"; 300 return($releasedate,$contacts,$title,$subtitle,$body,$moreinfo);
UPDATE wazooks: You may be on to something there. Modperl is installed here. I bypassed the errors, by returning a hash instead of an array. Not sure what that was about, but am grateful that TIMTOWTDI. Kept me moving.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Stumped by error message
by wazoox (Prior) on Mar 11, 2006 at 20:48 UTC | |
|
Re: Stumped by error message
by clinton (Priest) on Mar 12, 2006 at 01:58 UTC | |
|
Re: Stumped by error message
by spiritway (Vicar) on Mar 11, 2006 at 20:53 UTC |