---
name: "Filter::Template::UseBytes"
section: "3pm"
platform: "linux"
package: "libfilter-template-perl"
version: "1.043-3"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/Filter::Template::UseBytes"
---

# Filter::Template::UseBytes(3pm)

conditionally use bytes.pm depending on availability

## NAME

Filter::Template::UseBytes - conditionally use bytes.pm depending on availability

## VERSION

version 1.043

## SYNOPSIS

```
        use Filter::Template ( isa => "Filter::Template::UseBytes" );
        print "Phi length in characters: ", length(chr(0x618)), "\n";
        {% use_bytes %}
        print "Phi length in bytes: ", length(chr(0x618)), "\n";
```

## DESCRIPTION

The UseBytes template evaluates to `"use bytes;"` if Perl 5.005\_55 or later is running.  Otherwise it evaluates to an empty string, which does nothing but doesn't throw an exception either.

## BUGS

All the caveats of Filter::Template apply here.

## SEE ALSO

Filter::Template.

## AUTHOR & COPYRIGHT

Filter::Template::UseBytes is Copyright 2000-2013 Rocco Caputo.  All rights reserved.  Filter::Template::UseBytes is free software; you may redistribute it and/or modify it under the same terms as Perl itself.

Filter::Template::UseBytes was previously known as POE::Macro::UseBytes.
