create new tag
, view all tags


Is there a way to "unset" a preference variable?

One issue I have discovered is that some plugins use preferences that are "set to anything is true".

The problem with this is that once set (for example in the site-wide prefs) there is no way to return it to "undef" so it appears as False (that I can see).

(In fact, IMO, these kinds of prefs should be 0/1 boolean types - using perl's undef is bad practice since its not a concept exposed to the user)

Is there a way to do this?


TWiki version: TWikiRelease04x00x04
TWiki plugins: Lots plus a few I wrote!
Server OS: RedHat Linux FC3
Web server: Apache 2.0.52
Perl version: 5.8.5
Client OS: Windows XP
Web Browser: Firefox (of course! smile
Categories: Missing functionality

-- DarrenElkerton - 09 Oct 2007


ALERT! If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.

Sorry, closing this after more than 30 days of inactivity. Please feel free to re-open if needed.

-- PeterThoeny - 03 Dec 2007

Change status to:
Edit | Attach | Watch | Print version | History: r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r2 - 2007-12-03 - 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-2018 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.