Tags:
create new tag
view all tags

Question

I have installed AllPixPlugin? 1.00 and find the following in my apache logs:

[Thu Jan  2 11:38:32 2003] save: "my" variable $z masks earlier declaration in same scope at ../lib/TWiki/Plugins/AllPixPlugin.pm line 119.
[Thu Jan  2 11:38:38 2003] view: "my" variable $z masks earlier declaration in same scope at ../lib/TWiki/Plugins/AllPixPlugin.pm line 119.
[Thu Jan  2 12:09:14 2003] view: "my" variable $z masks earlier declaration in same scope at ../lib/TWiki/Plugins/AllPixPlugin.pm line 119.
[Thu Jan  2 12:15:26 2003] view: "my" variable $z masks earlier declaration in same scope at ../lib/TWiki/Plugins/AllPixPlugin.pm line 119.
[Thu Jan  2 12:15:40 2003] edit: "my" variable $z masks earlier declaration in same scope at ../lib/TWiki/Plugins/AllPixPlugin.pm line 119.

Is there a known fix?

  • TWiki version: 01 Dec 2001
  • Perl version: 5.6.1
  • Web server & version: apache 1.3
  • Server OS: Linux
  • Web browser & version:
  • Client OS:

-- MathiasKoerber - 03 Jan 2003

Answer

This is just a warning, so it can be ignored, but you should be able to find the declarations of 'my $z' easily enough - just change one of them (and all references) to something else. Or you can enclose one of them (plus references) to be in a block, though that might break other things. See PerlTips and TWikiDebugging for more info.

-- RichardDonkin - 05 Jan 2003

Edit | Attach | Watch | Print version | History: r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r3 - 2003-04-30 - PeterThoeny
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.