The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

GX::Meta::Attribute::Bool - Attribute metaclass

SYNOPSIS

None.

DESCRIPTION

This module provides the GX::Meta::Attribute::Bool class which extends the GX::Meta::Attribute class.

METHODS

Constructor

new

Returns a new GX::Meta::Attribute::Bool attribute metaobject.

    $attribute = GX::Meta::Attribute::Bool->new( %attributes );
Attributes:
Returns:
Exceptions:

Public Methods

See GX::Meta::Attribute.

USAGE

Accessor Types

This attribute class provides the following accessor types:

  • clear

        $invocant->accessor;
  • default

        $value = $invocant->accessor;
        $value = $invocant->accessor( $value );
  • defined

        $bool = $invocant->accessor;
  • get

        $value = $invocant->accessor;
  • set

        $invocant->accessor( $value );

SEE ALSO

AUTHOR

Jörg A. Uzarek <uzarek@runlevelnull.de>

COPYRIGHT AND LICENSE

Copyright (c) 2009-2011 Jörg A. Uzarek.

This module is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License Version 3 as published by the Free Software Foundation.