in reply to outputting fun

#!/usr/bin/perl -l print reverse join"\n",reverse map{reverse sprintf "%-6.6s%7s",(reverse join"",@$_=reverse@$_),reverse join "",reverse@$_}reverse map{[reverse'A'..$_]}reverse'A'..'G'

I think I can eliminate one of those reverses, but I'm not sure which one. (:

        - tye (but my friends call me "Tye")

Replies are listed 'Best First'.
RE: Re: outputting fun
by mdillon (Priest) on Aug 29, 2000 at 20:59 UTC
    how about eliminating 8 of them:
    #!/usr/bin/perl -l print join $/, map { sprintf "%-6.6s%7s", join("", @$_), join("", reverse @$_) } map { [ 'A' .. $_ ] } reverse 'A'..'G';