Agent
view release on metacpan or search on metacpan
=item new()
Creates a new agent object. You must tell new() where to get
the agent by passing in I<one> of the following arguments (in a hash):
I<Stored>: The agent stored in a Tom object.
I<File>: An IO::Handle (or any subclass) file handle from which the
agent can be read.
I<Name>: The agent's name. This prompts new to search @INC and './'
for the agent's '.pa' source file.
I<Code>: The agent's source code.
These are listed in order of precedence. To handle security issues,
new() also groks this argument:
I<Compartment>: A Safe Compartment within which the agent will be
registered, and later executed. See the C<Safe> pod for details.
( run in 1.087 second using v1.01-cache-2.11-cpan-0b5f733616e )