@x = qw(1 4); @y = qw(1 2 3); push @z, (grep { $_ == \@y } @x) ? 'y' : 'n'; print $z[0]; print $z[1];
$z[0] gives me now and $z1 is uninitilised.
In reply to Re^2: Failed array attemp
by Anonymous Monk
in thread Failed array attemp
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |