"Fossies" - the Fresh Open Source Software Archive

Member "RPerl-5.002000/lib/RPerl/Test/TypeCheckingOn/arrayref_bad_01.pl" (30 Aug 2019, 540 Bytes) of package /linux/misc/RPerl-5.002000.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) Perl source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file. See also the last Fossies "Diffs" side-by-side code changes report for "arrayref_bad_01.pl": 4.001000_vs_4.002000.

    1 #!/usr/bin/env perl
    2 
    3 # [[[ PREPROCESSOR ]]]
    4 # <<< EXECUTE_ERROR: 'ERROR EAVRV01, TYPE-CHECKING MISMATCH' >>>
    5 # <<< EXECUTE_ERROR: 'arrayref value expected but non-arrayref value found' >>>
    6 
    7 # [[[ HEADER ]]]
    8 use RPerl;
    9 use strict;
   10 use warnings;
   11 our $VERSION = 0.000_001;
   12 
   13 # [[[ CRITICS ]]]
   14 ## no critic qw(ProhibitUselessNoCritic ProhibitMagicNumbers RequireCheckedSyscalls)  # USER DEFAULT 1: allow numeric values & print operator
   15 
   16 # [[[ INCLUDES ]]]
   17 use RPerl::Test::TypeCheckingOn::AllTypes;
   18 
   19 # [[[ OPERATIONS ]]]
   20 check_arrayref('abcd');