SQL::Dialects::Role man page on Fedora

Man page or keyword search:  
man Server   31170 pages
apropos Keyword Search (all sections)
Output format
Fedora logo
[printable version]

SQL::Dialects::Role(3)User Contributed Perl DocumentatioSQL::Dialects::Role(3)

NAME
       SQL::Dialects::Role - The role of being a SQL::Dialect

SYNOPSIS
	   package My::SQL::Dialect;

	   use SQL::Dialects::Role;

	   sub get_config {
	       return <<CONFIG;
	   [SECTION]
	   item1
	   item2

	   [ANOTHER SECTION]
	   item1
	   item2
	   CONFIG
	   }

DESCRIPTION
       This 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.14.1			  2011-02-01		SQL::Dialects::Role(3)
[top]

List of man pages available for Fedora

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net