Query: sql::dialects::role
OS: debian
Section: 3pm
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
SQL::Dialects::Role(3pm) User Contributed Perl Documentation SQL::Dialects::Role(3pm)NAMESQL::Dialects::Role - The role of being a SQL::DialectSYNOPSISpackage My::SQL::Dialect; use SQL::Dialects::Role; sub get_config { return <<CONFIG; [SECTION] item1 item2 [ANOTHER SECTION] item1 item2 CONFIG }DESCRIPTIONThis adds the role of being a SQL::Dialect to your class. Requirements You must implement... get_config my $config = $class->get_config; Returns information about the dialect in an INI-like format. Implements The role implements... get_config_as_hash my $config = $class->get_config_as_hash; Returns the data represented in get_config() as a hash ref. Items will be upper-cased, sections will be lower-cased. The example in the SYNOPSIS would come back as... { section => { ITEM1 => 1, ITEM2 => 2, }, another_section => { ITEM1 => 1, ITEM2 => 2, } }SEE ALSO"dialect()" in SQL::Parser perl v5.10.1 2011-02-01 SQL::Dialects::Role(3pm)
Similar Topics in the Unix Linux Community |
---|
How can I do this in VI editor? |
Introduction |
Detecting unused variables... |
A (ksh) Library For and From UNIX.com |