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)
Check Out this Related Man Page
DBIx::Class::Schema::Loader::DBObject::Sybase(3pm) User Contributed Perl Documentation DBIx::Class::Schema::Loader::DBObject::Sybase(3pm)NAME
DBIx::Class::Schema::Loader::DBObject::Sybase - Class for Database Objects for Sybase ASE and MSSQL Such as Tables and Views in
DBIx::Class::Schema::Loader
DESCRIPTION
This is a subclass of DBIx::Class::Schema::Loader::DBObject that adds support for fully qualified objects in Sybase ASE and MSSQL including
both "database" and schema of the form:
database.owner.object_name
METHODS
database
The database name this object belongs to.
Returns undef if ignore_schema is set.
sql_name
Returns the properly quoted full identifier with "database", schema and name.
SEE ALSO
DBIx::Class::Schema::Loader::Table::Sybase, DBIx::Class::Schema::Loader::DBObject, DBIx::Class::Schema::Loader::Table,
DBIx::Class::Schema::Loader, DBIx::Class::Schema::Loader::Base
AUTHOR
See "AUTHOR" in DBIx::Class::Schema::Loader and "CONTRIBUTORS" in DBIx::Class::Schema::Loader.
LICENSE
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
perl v5.14.2 2012-05-05 DBIx::Class::Schema::Loader::DBObject::Sybase(3pm)
Hi,
This is the format of the file that i have
CompanyNumber Run Date: 8/3/2006
6:22:15PM
Address:
Person: A03120
SP SNNu
100 1
200 2
CompanyNumber ... (3 Replies)
I have input file with below content:
Person:
Name: Firstname1 lastname1
Address: 111, Straat
City : Hilversum
Person:
Name : Fistname2 lastname2
Address: 222, street
Cit: Bussum
Person:
Name : Firstname2 lastname3
Address: 333, station straat
City: Amsterdam
I need... (6 Replies)
Hi,
looking for a piece of code to get the values from a structured text file like this:
###############################################################################
###############################################################################
#
# PERSONAL DATA DEFINITIONS
#... (8 Replies)
I am passing an argument to a C++ program which is going to look like
I need to get the integers into arrays a, b, c, d with
a= 12,12,34,2,12
b= 34,4,2,1,23
c= 5,5,4,4,13
d= 6,6,6,6,5 (5 Replies)