Fry::Lib::CDBI::Outline

A Class::DBI library for Fry::Shell which displays several database queries in an outline format.
Download

Fry::Lib::CDBI::Outline Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Gabriel Horner
  • Publisher web site:
  • http://search.cpan.org/~bozo/Fry-Lib-CPANPLUS-0.01/lib/Fry/Lib/CPANPLUS.pm

Fry::Lib::CDBI::Outline Tags


Fry::Lib::CDBI::Outline Description

A Class::DBI library for Fry::Shell which displays several database queries in an outline format. Fry::Lib::CDBI::Outline is a Perl class::DBI library for Fry::Shell which displays several database queries in an outline format.This module has one command, outlineSearches, which takes a query outline and produces results in the same outline format. To write an outline in one line for commandline apps, there is a shorthand syntax. Take the sample outline: 0 dog 1 rex 1 cartoon 2 snoopy 2 brian 0 cat Note: the numbers are the outline levels and aren't usually seenIn shorthand syntax this is 'dog(rex,cartoon(snoopy,brian))cat'. I'll use node to refer to a line in an outline ie 'dog'. There are three characters that delimit indent levels between nodes: '(':following node is indented one level ')': following node is unindented one level ',': following node remains at same levelEach node is a query chunk which uses the same syntax as the search commands in Fry::Lib::CDBI::Basic.For example, here's a simple query outline: tag=perl(tag=dbi,read)name=Shell::which means the following query outline: tags=perl tags=dbi read name=Shell::which would produce: tags=perl tags=dbi #results of tags=dbi and tags=perl read #results of tags=read and tags=perl name=Shell:: #results of name=Shell:The resulting outline produces results under the last level children. By default the query chunks ('tags=perl') are ANDed. If no $splitter ('=' here) is in a given query chunk then a default column name is assumed by $otlcol. In this example, $otlcol = 'tags' for the 'read' node.Although there is no required table format I usually use this module for tables that I'm tagging. See Fry::Lib::CDBI::Tags for more detail. Requirements: · Perl


Fry::Lib::CDBI::Outline Related Software