CheckTest::test(); # 'hallo' my $test = CheckTest::test(); # sub have to be called in void context at CheckContext.pm line 17. my @test = CheckTest::test(); # sub have to be called in void context at CheckContext.pm line 17. my $zwo = CheckTest::zwo(); my @zwo = CheckTest::zwo(); # sub have to be called in scalar context at CheckContext.pm line 33. CheckTest::zwo(); # sub have to be called in scalar context at CheckContext.pm line 33.