adding getScratch

This commit is contained in:
JT Smith 2004-08-12 14:36:17 +00:00
parent d1c319bdb1
commit c60613ac2c
2 changed files with 23 additions and 0 deletions

View file

@ -296,6 +296,27 @@ sub end {
}
#-------------------------------------------------------------------
=head2 getScratch ( varName )
Retrieves the current value of a scratch variable.
=over
=item varName
The name of the variable set with setScratch().
=back
=cut
sub getScratch {
my $var = shift;
return $session{scratch}{$var};
}
#-------------------------------------------------------------------
=head2 open ( webguiRoot [ , configFile ] )