in reply to Re: Failed array attemp
in thread Failed array attemp
@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.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Failed array attemp
by tobyink (Canon) on May 13, 2012 at 21:54 UTC | |
by Anonymous Monk on May 13, 2012 at 21:56 UTC | |
by tobyink (Canon) on May 13, 2012 at 22:09 UTC | |
|
Re^3: Failed array attemp
by stevieb (Canon) on May 13, 2012 at 21:57 UTC | |
|
Re^3: Failed array attemp
by Anonymous Monk on May 13, 2012 at 22:01 UTC | |
by stevieb (Canon) on May 13, 2012 at 22:16 UTC | |
by Anonymous Monk on May 13, 2012 at 22:27 UTC |