in reply to Re^3: Failed array attemp
in thread Failed array attemp

What if I have perl v5.8.5 (company provided and cannt upgrade)?

Replies are listed 'Best First'.
Re^5: Failed array attemp
by tobyink (Canon) on May 13, 2012 at 22:09 UTC

    There's this, but it's straying into seriously unreadable territory:

    push @z, (grep { my $x = $_; grep { $x == $_ } @y } @x) ? 'y' : 'n';
    perl -E'sub Monkey::do{say$_,for@_,do{($monkey=[caller(0)]->[3])=~s{::}{ }and$monkey}}"Monkey say"->Monkey::do'