Help for this page

Select Code to Download


  1. or download this
    use strict;
    use warnings;
    ...
        }->( @arr );
    
    print qq{@arr\n};
    
  2. or download this
    1,1,0
    2,0,1
    3,0,0
    4,1,1
    1 1 0 2 0 1 3 0 0 4 1 1
    
  3. or download this
    use strict;
    use warnings;
    ...
        }->( @arr );
    
    print qq{@arr\n};
    
  4. or download this
    1,1,0
    2,0,1
    ...
    4,1,1
    5,7
    1 1 0 2 0 1 3 0 0 4 1 1 5 7
    
  5. or download this
    use strict;
    use warnings;
    ...
            local( $,, $\ ) = ( q{,}, qq{\n} );
            print grep defined, map shift, 1 .. 3 while @_;
        }->( @arr );