Tags:
archive_me1Add my vote for this tag create new tag
view all tags
This is not a bug perse, but I noticed that the Beta version (1 Nov), and new sources from the CVS, all fail because of the uninitialised value $unlock:

my $unlock = $query->param( "unlock" );
	 if( $unlock eq "on" ) {	 <===== fail

(the above example in view)

The quick trick is to remove the -w switch from the perl command line ofcourse. Just wondering whether other installations noticed the same.

My installation is Perl 5.005_02 built for sun4-solaris, running on Solaris 2.6

-- JeanJackRiethoven - 07 Nov 2000

Probably is better if you add a default value at the end of the my line:

my $unlock = $query->param( "unlock" ) || "";
	 if( $unlock eq "on" ) {	 <===== fail

-- AndreaSterbini - 07 Nov 2000

Thanks for pointing this out. Fixed and commited to TWikiAlphaRelease.

-- PeterThoeny - 07 Nov 2000

TopicClassification:
BugResolved
Edit | Attach | Watch | Print version | History: r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r3 - 2000-11-08 - 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.