evalbytes

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.

© 1993–2016 Larry Wall and others
Licensed under the GNU General Public License version 1 or later, or the Artistic License.
The Perl logo is a trademark of the Perl Foundation.
https://perldoc.perl.org/5.26.0/functions/evalbytes.html