Correct POD for AdminToggle and add POD for 3 new files
This commit is contained in:
parent
ddf72f4c31
commit
eb98d68777
4 changed files with 74 additions and 2 deletions
|
|
@ -13,6 +13,23 @@ package WebGUI::Macro::Env;
|
|||
use strict;
|
||||
use WebGUI::Session;
|
||||
|
||||
=head1 NAME
|
||||
|
||||
Package WebGUI::Macro::Env
|
||||
|
||||
=head1 DESCRIPTION
|
||||
|
||||
Macro for displaying fields from the Session env hash.
|
||||
|
||||
=head2 process ( key )
|
||||
|
||||
=head3 key
|
||||
|
||||
The key from the Session env hash to display. If the key doesn't exist,
|
||||
then undef will be returned.
|
||||
|
||||
=cut
|
||||
|
||||
#-------------------------------------------------------------------
|
||||
sub process {
|
||||
return $session{env}{shift};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue