BlockProps

NAME

Config::BINDish::Grammar::BlockProps - block statement properties

DESCRIPTION

Does Config::BINDish::Grammar::StatementProps, Config::BINDish::Grammar::ContainerProps, Config::BINDish::Grammar::DeclarationProps.

ATTRIBUTES

Bool $.named

If True then block must have a name.

Bool $.classified

If True then block must have a class. Only makes sense when $.named is True.

Bool $.value-only

If True then block can only contain values. For example:

acl "local-net" allowed {
        192.168.42.0/24; 192.168.13.0/24;
        default-gw 192.168.1.1; # Context error, option cannot be used here
    }

METHODS

values()

Coerces $.default attribute to List and returns it. If the attribute is not set then returns an empty list.

SEE ALSO

COPYRIGHT

(c) 2023, Vadim Belman <[email protected]>

LICENSE

Artistic License 2.0

See the LICENSE file in this distribution.

Config::BINDish v0.0.18

Extensible BIND9-like Configuration Files Support

Authors

  • Vadim Belman

License

Artistic-2.0

Dependencies

AttrX::Mooish:auth<zef:vrurg>:ver<1.0.0+>:api<1.0.*>IP::AddrTest::Async:auth<zef:vrurg>:ver<0.1.2+>

Test Dependencies

Provides

  • Config::BINDish
  • Config::BINDish::AST
  • Config::BINDish::Actions
  • Config::BINDish::Expandable
  • Config::BINDish::Grammar
  • Config::BINDish::INET
  • Config::BINDish::Ops
  • Config::BINDish::Test
  • Config::BINDish::X

The Camelia image is copyright 2009 by Larry Wall. "Raku" is trademark of the Yet Another Society. All rights reserved.

Built with Podlite — the markup and publishing tools behind this site.