debian man page for forest::tree::builder::simpletextfile

Query: forest::tree::builder::simpletextfile

OS: debian

Section: 3pm

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

Forest::Tree::Builder::SimpleTextFile(3pm)		User Contributed Perl Documentation		Forest::Tree::Builder::SimpleTextFile(3pm)

NAME
Forest::Tree::Builder::SimpleTextFile - Parse trees from indented ASCII files
SYNOPSIS
use Path::Class; my $file = file($path); my $builder = Forest::Tree::Builder::SimpleTextFile->new( fh => $file->openr, ); my $tree = $builder->tree;
DESCRIPTION
This module replaces Forest::Tree::Reader::SimpleTextFile with a declarative api instead of an imperative one.
ATTRIBUTES
fh The filehandle to read from. Required. parser A coderef that parses a single line from "fh" and returns the node depth and its value. Defaults to space indented text. See also "tab_width". tab_width The indentation level for the default parser. Defaults to 4, which means that four spaces equate to one level of nesting.
BUGS
All complex software has bugs lurking in it, and this module is no exception. If you find a bug please either email me, or add the bug to cpan-RT.
AUTHOR
Yuval Kogman
COPYRIGHT AND LICENSE
Copyright 2008-2010 Infinity Interactive, Inc. <http://www.iinteractive.com> This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself. perl v5.10.1 2010-09-27 Forest::Tree::Builder::SimpleTextFile(3pm)
Related Man Pages
forest(3pm) - debian
datetime::format::builder::parser::strptime(3pm) - debian
forest::tree::builder::simpletextfile(3pm) - debian
tree::simple::visitor::breadthfirsttraversal(3pm) - debian
tree::simple::visitor::preordertraversal(3pm) - debian
Similar Topics in the Unix Linux Community
C++ (Borland Builder) question
Asymptopia Crossword Builder 2.7 (Default branch)
Asymptopia Crossword Builder 2.9 (Default branch)
Linguistic Tree Constructor 3.0.0 (Default branch)
Sorting indented text files