TkSave(3pm)

NAME
TkSave - Perl extension for blah blah blah

SYNOPSIS
  use TkSave;
  saveit ( $filename, @filecontents );
  # where $filename is the name of the file to save and @filecontents is the contents of that file.
  # saveit opens a save dialog box and uses these parameters. If called without @filecontents, the file saved will simply be empty.

DESCRIPTION
This module is very easy to use. It only has one funtion, saveit. It is a save file dialog box. It is described under SYNOPSIS.

When you use the module, you also get access to the $w variable that equals the MainWindow object (Tk) so you can use it to control whether or not the save dialog box has more than one instance. You also get access to the $as variable. Set this to true and saveit will act as a save as dialog box.

One more thing of note: When the save dialog box or save as dialog box is closed, $w is set to the null string.

SEE ALSO
See also Tk! It rocks.

check me out @ www.infusedlight.net

AUTHOR
Robin Bank, webmaster@infusedlight.net

COPYRIGHT AND LICENSE
Copyright (C) 2006 by Robin Bank

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.7 or, at your option, any later version of Perl 5 you may have available.