SSH::Batch::ForNodes - Expand set arithmetic expression to host list


SSH-Batch documentation  | view source Contained in the SSH-Batch distribution.

Index


NAME

Top

SSH::Batch::ForNodes - Expand set arithmetic expression to host list

SYNOPSIS

Top

    # below is essential what in the "fornodes" script:
    use SSH::Batch::ForNodes;

    SSH::Batch::ForNodes::init_rc();
    my $set = SSH::Batch::ForNodes::parse_expr($expr);
    # set is a Set::Scalar instance:
    for my $host (sort $set->elements) {
        print "$host\n";
    }

AUTHOR

Top

Agent Zhang (agentzh) <agentzh@yahoo.cn>

COPYRIGHT AND LICENSE

Top


SSH-Batch documentation  | view source Contained in the SSH-Batch distribution.