IOC::Visitor::SearchForContainer - Visitor for searching a IOC::Container hierarchy
use IOC::Visitor::SearchForContainer;
This is a IOC::Visitor object used for searching a IOC::Container hierarchy
+------------------+ | <<IOC::Visitor>> | +------------------+ | ^ | +----------------------------------+ | IOC::Visitor::SearchForContainer | +----------------------------------+
Creates a new instance which will search for a Container at a given $name. If no $name is given, than an IOC::InsufficientArguments exception is thrown.
$name
Given a $container, the invocant will attempt to locate the container with the $name (given to the constuctor) from within the $container's hierarchy.
$container
None that I am aware of. Of course, if you find a bug, let me know, and I will be sure to fix it.
I use Devel::Cover to test the code coverage of my tests, see the CODE COVERAGE section of IOC for more information.
stevan little, <stevan@iinteractive.com>
Copyright 2004 by Infinity Interactive, Inc.
http://www.iinteractive.com
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install IOC, copy and paste the appropriate command in to your terminal.
cpanm
cpanm IOC
CPAN shell
perl -MCPAN -e shell install IOC
For more information on module installation, please visit the detailed CPAN module installation guide.