---
name: "X12::Parser::Tree"
section: "3pm"
platform: "linux"
package: "libx12-parser-perl"
version: "0.80-5"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/X12::Parser::Tree"
---

# X12::Parser::Tree(3pm)

Object structure representing the X12 cf file.

## NAME

X12::Parser::Tree - Object structure representing the X12 cf file.

## SYNOPSIS

```
    use X12::Parser::Tree;
    #create a new Tree object
    my $node = X12::Parser::Tree->new();
    #set the name of the node/loop
    $node->set_name('1000A');
    #set the name of the parameters used to determine start of a loop
    $node->set_loop_start_parm('NM1', '41', 1);
    #create a new Tree object and set it as the child
    my $child_node = X12::Parser::Tree->new();
    $node->add_child($child_node);
```

## DESCRIPTION

This module represents the cf file as a object structure. This class is  used by the X12::Parser and X12::Parser::Cf. Unless you plan to modify the parser or such you would not need to access this class directly.

## AUTHOR

Prasad Poruporuthan, *prasad@cpan.org*

## SEE ALSO

X12::Parser, X12::Parser::Cf, X12::Parser::Readme

## COPYRIGHT AND LICENSE

Copyright 2009 by Prasad Balan

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
