Plan 9 from Bell Labs’s /usr/web/sources/contrib/gabidiaz/root/sys/src/cmd/perl/t/op/context.t
#!./perl $n=0; print "1..3\n"; sub foo { $a='abcd'; $a=~/(.)/g; $1 eq 'a' or print 'not '; print "ok ",++$n,"\n"; } $a=foo; @a=foo; foo;