debian man page for dbix::class::helpers::util

Query: dbix::class::helpers::util

OS: debian

Section: 3pm

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

DBIx::Class::Helpers::Util(3pm) 			User Contributed Perl Documentation			   DBIx::Class::Helpers::Util(3pm)

NAME
DBIx::Class::Helpers::Util - Helper utilities for DBIx::Class components
VERSION
version 2.013002
SYNOPSIS
my ($namespace, $class) = get_namespace_parts('MyApp:Schema::Person'); is $namespace, 'MyApp::Schema'; is $class, 'Person'; if (is_load_namespaces('MyApp::Schema::Result::Person')) { print 'correctly structured project'; } if (is_not_load_namespaces('MyApp::Schema::Person')) { print 'incorrectly structured project'; } if (assert_similar_namespaces('MyApp::Schema::Person', 'FooApp::Schema::People')) { print 'both projects are structured similarly'; } if (assert_similar_namespaces('MyApp::Schema::Result::Person', 'FooApp::Schema::Result::People')) { print 'both projects are structured similarly'; }
DESCRIPTION
A collection of various helper utilities for DBIx::Class stuff. Probably only useful for components.
METHODS
get_namespace_parts Returns the namespace and class name of a package. See "SYNOPSIS" for example. is_load_namespaces Returns true if a package is structured in a way that would work for load_namespaces. See "SYNOPSIS" for example. is_not_load_namespaces Returns true if a package is structured in a way that would not work for load_namespaces. See "SYNOPSIS" for example. assert_similar_namespaces Dies if both packages are structured in the same way. The same means both are load_namespaces or both are not. See "SYNOPSIS" for example.
AUTHOR
Arthur Axel "fREW" Schmidt <frioux+cpan@gmail.com>
COPYRIGHT AND LICENSE
This software is copyright (c) 2012 by Arthur Axel "fREW" Schmidt. This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. perl v5.14.2 2012-06-18 DBIx::Class::Helpers::Util(3pm)
Related Man Pages
sql::translator::parser::dbix::class(3) - osx
dbix::class::helper::row::numifyget(3pm) - debian
dbix::class::helper::row::proxyresultsetmethod(3pm) - debian
dbix::class::helper::schema::generatesource(3pm) - debian
dbix::class::schema::loader::dbi::interbase(3pm) - debian
Similar Topics in the Unix Linux Community
DSI utilities 1.0.1 (Default branch)
DSI utilities 1.0.2 (Default branch)
DSI utilities 1.0.7 (Default branch)
Marvim 0.4 (Default branch)
Every Person Will Be Back To God