Help-Site Computer Manuals
Software
Hardware
Programming
Networking
  Algorithms & Data Structures   Programming Languages   Revision Control
  Protocols
  Cameras   Computers   Displays   Keyboards & Mice   Motherboards   Networking   Printers & Scanners   Storage
  Windows   Linux & Unix   Mac

FAST::Struct::If
Branching structure in FAST DOM tree

FAST::Struct::If - Branching structure in FAST DOM tree


NAME

FAST::Struct::If - Branching structure in FAST DOM tree


SYNOPSIS


    use FAST::Struct::If;

    $if = FAST::Struct::If->new('<p>', '[f]', '[L:=3]');

    print $if->condition->label;

    print $if->true_branch->label;

    print $if->false_branch->label;

    @elems = $if->elems;

    $sucess = $if->subs('[f]', '[L:=3]');

    print $if->must_pass('[f]'); # false

    print $if->must_pass('<p>'); # true

    print $if->might_pass('[L:=3]'); # true


INHERITANCE


    FAST::Struct::If

        isa FAST::Struct

            isa FAST::Element

                isa Clone


DESCRIPTION


AUTHOR

Agent Zhang mailto:agentzh@gmail.com


COPYRIGHT

Copyright (c) 2006 Agent Zhang

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

Programminig
Wy
Wy
yW
Wy
Programming
Wy
Wy
Wy
Wy