our @x; sub foo { print "wantarray? ", wantarray?1:0, "\n"; push @x, (1,2,3); return @x; } pop foo(); #### Type of arg 1 to pop must be array (not subroutine entry) at Monks/Snippet.pm line 7, near ");" Execution of Monks/Snippet.pm aborted due to compilation errors. #### Type of arg 1 to push must be array (not subroutine entry) at Monks/Snippet.pm line 7, near "4;" Execution of Monks/Snippet.pm aborted due to compilation errors.