Dave Cross: Still Munging Data With Perl: Online event - Mar 27 Learn more

#!/usr/bin/perl
# [[[ PREPROCESSOR ]]]
# <<< PARSE_ERROR: 'ERROR ECOPAPL02' >>>
# <<< PARSE_ERROR: 'No such class number' >>>
# [[[ HEADER ]]]
use constant PI => my number $TYPED_PI = 3.141_59;
use RPerl;
use strict;
our $VERSION = 0.001_000;
# [[[ CONSTANTS ]]]
## no critic qw(ProhibitConstantPragma ProhibitMagicNumbers) # USER DEFAULT 3: allow constants
use constant PIE => my string $TYPED_PIE = 'pecan';
# [[[ OPERATIONS ]]]
my integer $i = 2 + 2;