NAME

DBIO::Componentised - Component loading and management for DBIO

VERSION

version 0.900004

METHODS

ensure_class_loaded

$class->ensure_class_loaded($name);

Loads $name unless it is loaded already. $name is a class name -- Perl identifiers joined by :: -- or the call throws '...' is not a class name ("assert_class_name" in DBIO::Util). Components given as +Foo::Bar are resolved to Foo::Bar by load_components before they get here.

load_optional_class

$class->load_optional_class($name);

As "ensure_class_loaded" for the name: it must be a class name. A class that is not installed answers false.

AUTHOR

DBIO & DBIx::Class Authors

COPYRIGHT AND LICENSE

Copyright (C) 2026 DBIO Authors Portions Copyright (C) 2005-2025 DBIx::Class Authors Based on DBIx::Class, heavily modified.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.