Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation

comment on

( #3333=superdoc: print w/replies, xml ) Need Help??
JS Bach (IMHO, the first true 'music hacker'), placed his 'sig' in many of his pieces of music - in German notation, 'H' is 'B' and 'B' is a B-flat, so Bb A C B = B A C H. Here's my attempt at a tribute...
@n= map{[($_ >4&&$_<14 &&$_%2?'-': ' ')x 56]}( 0..16 ); l($_ ,5 ,8) for (32 ,55 ,56 );p (5 ,2, 13 ,'X') ; d(1,5, "XXX");d( 16,3,"XXX" );n(20,9); n(27,10);n (37,8);n(45 ,9);for $k (6,10){l(14 , $k,2);for(0 , 1){c($k+$_ , 13-$_,"/") ;c ($k+1,13 +( 2*$_),"_" )}}c(int (2*cos ($_*0.39)+11), int(4* sin($_*0.39)+4), "X")for (-5..8);l(17,8,1);c( 9,18, ')');c( $_ ,9-$_,"X") for (2..9); sub p{c($_, $_[0] ,$_[3]) for ($_[1] .. $_[1] + $_[2]) ;} sub d{ $x= $_[1] ; c( $_[0] ,$x++ ,$_ )for split(//,$_[2]);} sub l {p(@_,"|");} sub n {($x ,$y)= @_;l ($x, $y+1 ,3); d($y, $x, "(_)");c ($y -1,$x-2,"_" ); }sub c{$n[ $_[0] ][$_[1]]= $_[2] ;}print join ("\n", map{join("",@$_)} @n),"\n";
Cheers, Ben.

In reply to Just another Bach Hacker by benn

Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":

  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.
  • Log In?

    What's my password?
    Create A New User
    and the web crawler heard nothing...

    How do I use this? | Other CB clients
    Other Users?
    Others meditating upon the Monastery: (7)
    As of 2020-11-25 20:19 GMT
    Find Nodes?
      Voting Booth?

      No recent polls found