Forest::Tree::Builder::SimpleTextFile
Parse trees from indented ASCII files
- Provided by: libforest-perl (Version: 0.10-2)
- Report a bug
Parse trees from indented ASCII files
use Path::Class;
my $file = file($path);
my $builder = Forest::Tree::Builder::SimpleTextFile->new(
fh => $file->openr,
);
my $tree = $builder->tree;
This module replaces Forest::Tree::Reader::SimpleTextFile with a declarative api instead of an imperative one.
Required.
Defaults to space indented text. See also "tab_width".
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.
Yuval Kogman
Copyright 2008-2014 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.