diff options
| author | fukachan <fukachan> | 2005-11-30 21:58:27 +0000 |
|---|---|---|
| committer | fukachan <fukachan> | 2005-11-30 21:58:27 +0000 |
| commit | 8739d241ca3947fe11d625d30f752fe3e6552aeb (patch) | |
| tree | a85226828d71c57678fd1c992b159328e58600a0 /fml/lib/FML/Process | |
| parent | 0d482aa858c3044f032d47a20c29a0767f6019d2 (diff) | |
| download | fml8-8739d241ca3947fe11d625d30f752fe3e6552aeb.tar.gz fml8-8739d241ca3947fe11d625d30f752fe3e6552aeb.tar.bz2 fml8-8739d241ca3947fe11d625d30f752fe3e6552aeb.zip | |
define credential() method
Diffstat (limited to 'fml/lib/FML/Process')
| -rw-r--r-- | fml/lib/FML/Process/Utils.pm | 19 |
1 files changed, 18 insertions, 1 deletions
diff --git a/fml/lib/FML/Process/Utils.pm b/fml/lib/FML/Process/Utils.pm index 01765e0a..05e332fb 100644 --- a/fml/lib/FML/Process/Utils.pm +++ b/fml/lib/FML/Process/Utils.pm @@ -4,7 +4,7 @@ # All rights reserved. This program is free software; you can # redistribute it and/or modify it under the same terms as Perl itself. # -# $FML: Utils.pm,v 1.138 2005/08/19 11:25:24 fukachan Exp $ +# $FML: Utils.pm,v 1.139 2005/08/31 11:15:43 fukachan Exp $ # package FML::Process::Utils; @@ -97,6 +97,23 @@ sub scheduler } +# Descriptions: return credential object. +# Arguments: OBJ($curproc) +# Side Effects: none +# Return Value: OBJ +sub credential +{ + my ($curproc) = @_; + + if (defined $curproc->{ credential }) { + return $curproc->{ credential }; + } + else { + return undef; + } +} + + =head1 access METHODS to handle incoming_message available all processes which eats message via STDIN. |
