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.

evalbytes is available only if the evalbytes feature is enabled or if it is prefixed with CORE:: . The evalbytes feature is enabled automatically with a use v5.16 (or higher) declaration in the current scope.

© 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.24.0/functions/evalbytes.html