# LibTmux::Entity::generation

- **Module:** LibTmux
- **Package:** LibTmux
- **Language:** Perl
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-perl/blob/352715a4fa66a96eed7763b90daaa536aa2f121d/packages/core/lib/LibTmux/Entity.pm#L11
- **Page:** https://libtmux.org/en/perl/latest/reference/libtmux-entity-generation/

```
sub generation($self)
```

Return the captured generation. Restarted daemons cannot silently reuse this handle.

## Methods
