From Code to Community: Sponsoring The Perl and Raku Conference 2025 Learn more

#!/usr/bin/perl
# [[[ PREPROCESSOR ]]]
# <<< PARSE_ERROR: 'ERROR ECOPAPL02' >>>
# <<< PARSE_ERROR: '"use" not allowed in expression' >>>
# <<< PARSE_ERROR: 'syntax error' >>>
# <<< PARSE_ERROR: 'near "foo' >>>
# [[[ HEADER ]]]
foo
use RPerl;
use strict;
our $VERSION = 0.001_000;
# [[[ OPERATIONS ]]]
my integer $i = 2 + 2;