From Code to Community: Sponsoring The Perl and Raku Conference 2025 Learn more
123456789101112131415161718 # [[[ PREPROCESSOR ]]]# <<< PARSE_ERROR: 'ERROR ECOPAPL02' >>># <<< PARSE_ERROR: 'Illegal declaration of anonymous subroutine' >>># [[[ HEADER ]]]use RPerl;package RPerl::Test::Subroutine::Package_00_Bad_02;use strict;use warnings;our $VERSION = 0.001_000;# [[[ SUBROUTINES ]]]sub $empty_sub { { my void $RETURN_TYPE }; return 2;}1; # end of package
# [[[ PREPROCESSOR ]]]
# <<< PARSE_ERROR: 'ERROR ECOPAPL02' >>>
# <<< PARSE_ERROR: 'Illegal declaration of anonymous subroutine' >>>
# [[[ HEADER ]]]
use
RPerl;
package
RPerl::Test::Subroutine::Package_00_Bad_02;
strict;
warnings;
our
$VERSION
= 0.001_000;
# [[[ SUBROUTINES ]]]
sub
$empty_sub
{
my
void
$RETURN_TYPE
};
return
2;
}
1;
# end of package