I thought that was your job, but I won't pass up an opportunity to talk about myself.

#pause for $_[0] seconds (other elements undef) sub'_{select$_[3],$_[2],$_[1],$_[0]} #makes the eyes and nose ($: = ':-') $: = ?y? ? y::: : q;:;; $: .= qq:-:; #makes the different mouths @% = map { $: . $_ } qw: ) ) ( / o P P :; #where everything happens #look below this sub for a few initializations sub'__{ @_ = $c->(@:); while($_ = pop){ unless($*){ $*=length; #this pauses for 1 second ($| == 1) if the next #word is all spaces (unless the last word was #longer than 7 characters [there's only one]) or #shifts the next smiley into $. if(m+^$"*$+i){ _$| if(length $& < $-) } else { $. = shift@% } } #this "erases" the last word when the current word #is all spaces (@| stores the chars of the whole string) #since $, == ' ' if(/ /){ pop@| for(length..++$*); push@|, $, for(length..--$*) } print+chr$:; #chr$: == "\r" push@|,chop; #push next char print for@|; #and print the whole string #change to a wink if the tongue is out substr($.,0,1) = q$;$ if $. =~ /P/; #print spaces and the smiley and a few more spaces print $" x (27-@|) . $. . $" x 5; _$= / 1.e3; #pause for 0.06 seconds length&&redo; #begin the while again if there #are more characters in this word $* *= length; #$* = 0 #adds exactly one space after each word @|=(split($\, join $",split /\s/, join+q,, ,@|), $, = $"); next if @_ } } #converts the hex values below to chars #$! better be undef $c = sub{ map { join $!, map {chr hex} /../g } @_ }; ++$|; $: = 2 * @% - $|; #$: = 13 $- = 47 % $:; #$- = 9 #the strings in hex @: = qw; 2c72656b636168 6c726550 2020202020202020 61426c6175736956 2020202020 4c4f424f43 20202020 6176614a 726568746f6e61 7473754a ;; __; #do the stuff print+chr@: #print a newline

Brandan L.

In reply to Re: Re: typojaph by b-funk
in thread typojaph by Anonymous Monk

Title:
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, details, 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, summary, 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.