Help for this page

Select Code to Download


  1. or download this
    use strict;
    use warnings;
    ...
    } else {
        say "void context";
    }
    
  2. or download this
    @array = map: sub block is evaluated in void context
    @rv = test_context(): sub evaluated in list context