[Home]SaveKeepSection

UseModWiki | RecentChanges | Preferences

UseModWiki/Documentation:

Functions: SaveKeepSection SaveKeepSection/Code

General Description of function:

Given input

Given: NO arguments

Returns results

Returns: NONE

Uses variables

Uses: my variables $file, $data
$Section?
$file?
$data?

Flow of Control of function:

Code

sub SaveKeepSection {

  my $file = &KeepFileName();
  my $data;

  return  if ($Section{'revision'} < 1);  # Don't keep "empty" revision
  $Section{'keepts'} = $Now;
  $data = $FS1 . join($FS2, %Section);
  &CreatePageDir?($KeepDir?, $OpenPageName);
  &AppendStringToFileLimited?($file, $data, $KeepSize?);
}

Subtleties in code


Global variables:

Special terms to describe function's actions


Notes/Observations?:



Questions:



Fixes to bugs in code:

fixed code



Suggestions to improve code:

suggested code



Sample output from function:

actual output



Should be in /Code subpage:

Code

Version 0.92


UseModWiki | RecentChanges | Preferences
Edit text of this page | View other revisions | Search MetaWiki
Last edited April 23, 2007 2:00 pm by MarkusLude (diff)
Search: