Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery

Re: outputting fun

by tye (Sage)
on Aug 29, 2000 at 20:43 UTC ( #30168=note: print w/ replies, xml ) Need Help??

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")

Comment on Re: outputting fun
Select or Download Code
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';

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://30168]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (9)
As of 2015-10-13 18:29 GMT
Find Nodes?
    Voting Booth?

    Does Humor Belong in Programming?

    Results (312 votes), past polls