---
name: "Xacobeo::Accessors"
section: "3pm"
platform: "linux"
package: "xacobeo"
version: "0.15-3+b2"
release: "Debian 9 (Stretch)"
platforms: ["linux"]
url: "https://new.carta.tech/Xacobeo::Accessors"
---

# Xacobeo::Accessors(3pm)

Generate accessors/setters easily.

## NAME

Xacobeo::Accessors - Generate accessors/setters easily.

## SYNOPSIS

```
        # Create $self->document and $self->xpath
        use Xacobeo::Accessors qw{
                document
                xpath
        };

        $self->document($document);
        validate($self->xpath);
```

## DESCRIPTION

This package provides a utility for creating methods that work as accessors and setters. Usually Class::Accessor::Fast would have been used but it conflicts with GObject's system when extending a pure perl GObject.

## IMPORTS

This package imports the methods listed in the import clause.

## AUTHORS

Emmanuel Rodriguez \<potyl@cpan.org\>.

## COPYRIGHT AND LICENSE

Copyright (C) 2008 by Emmanuel Rodriguez.

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.8 or, at your option, any later version of Perl 5 you may have available.
