in reply to Re (tilly) 1: Golf: Indici to all sectors of an xD space
in thread Golf: Indici to all sectors of an xD space

I can't beat this, but here's strict in spirit at 46:
  
sub h { $_[0]?[map{[@$_,1],[@$_,-1]}@{h(-1+pop)}]:[[]] }
   MeowChow                                   
               s aamecha.s a..a\u$&owag.print

Replies are listed 'Best First'.
Re (tilly) 3: Golf: Indici to all sectors of an xD space
by tilly (Archbishop) on Oct 10, 2001 at 23:54 UTC
    OK, strict in spirit at 44.
    sub h{ #23456789_123456789_123456789_123456789_1234 eval'['.('map{[@$_,1],[@$_,-1]}'x pop).'[]]' }
    UPDATE
    Well strict and warnings compliant in 43:
    sub h{ #23456789_123456789_123456789_123456789_123 [eval(('map{[@$_,1],[@$_,-1]}'x pop).'[]')] }
    and then strict alone in 39:
    sub h{ #23456789_123456789_123456789_123456789 [eval'map{[@$_,1],[@$_,-1]}'x pop.'[]'] }
    UPDATE 2
    Warnings as well in 40:
    sub h{ #23456789_123456789_123456789_123456789_ [eval'map{[@$_,1],[@$_,-1]}'x$_[0].'[]'] }