Help for this page
# What I did my @foo; ... # What I expected @foo.elems == 1 # But I got @foo.elems == 0
ok(@foo.elems == 1, "\@foo has 1 element");
is(@foo.elems, 1, "\@foo has 1 element");
#!/usr/bin/pugs ... push @foo, []; is(@foo.elems, 1, "\@foo has 1 element");
www.com | www.net | www.org
No recent polls found