Plan 9 from Bell Labs’s /usr/web/sources/contrib/gabidiaz/root/sys/src/cmd/perl/t/op/context.t

Copyright © 2021 Plan 9 Foundation.
Distributed under the MIT License.
Download the Plan 9 distribution.


#!./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;

Bell Labs OSI certified Powered by Plan 9

(Return to Plan 9 Home Page)

Copyright © 2021 Plan 9 Foundation. All Rights Reserved.
Comments to webmaster@9p.io.