Perl Programming Documentation
Download Perl
Explore

Manual

- Overview
- Tutorials
- FAQs
- History / Changes
- License

Reference

- Language
- Functions
- Operators
- Special Variables
- Pragmas
- Utilities
- Internals
- Platform Specific

Modules

- A • B • C • D • E
- F • G • H • I • L
- M • N • O • P • S
- T • U • X

Tools

- Preferences

# evalbytes

Perl 5 version 18.2 documentation
Go to top
Show recent pages
Recently read

# evalbytes

Perl functions A-Z | Perl functions by category | The 'perlfunc' manpage

- evalbytes EXPR

- evalbytes

  This function is like eval with a string argument, except it always parses its argument, or `$_` if EXPR is omitted, as a string of bytes. A string containing characters whose ordinal value exceeds 255 results in an error. Source filters activated within the evaluated code apply to the code itself.

  This function is only available under the `evalbytes` feature, a `use v5.16` (or higher) declaration, or with a `CORE::` prefix. See feature for more information.