Tags:
twiki_func1Add my vote for this tag create new tag
, view all tags

Feature Proposal: The plugin workarea is great but...

Motivation

... there is no way to "keep their areas tidy."

Description and Documentation

Add 3 functions: ReadWorkareaFile, WriteWorkareaFile, and DeleteWorkareaFile.

The first two are trivial. The third is necessary to keep the workarea tidy but is also necessarily limited to the workarea for security reasons.

Examples

Impact and Available Solutions

Implementation

-- Contributors: MeredithLesly

Discussion

-- MeredithLesly - 24 Feb 2006

Func::getWorkArea( $pluginName ) -> $directorypath returns what's needed to use it in perl (whether as plain, simple =open=s, or a File object (CPAN:FileHandle), CPAN:IO:File, or any other method for file I/O).

-- WillNorris - 25 Feb 2006

The functions TWiki::Func::readFile() and TWiki::Func::saveFile() are meant to be used for that.

A TWiki::Func::deleteFile() does not exist yet, is a useful addition.

-- PeterThoeny - 27 Feb 2006

Edit | Attach | Watch | Print version | History: r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r3 - 2006-02-27 - 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-2017 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.