I'm not "budding", per se...
use strict; sub _ { "#" . shift(@_) x $#_ . "#\n" } # first argument is copied as many times as there # are OTHER arguments (minus 1 due to $#_ and not @_). # a '#' is put on the front and back of this string. # this gets passed "#" or " ", and @__ and as we see # below, @__ has 28 elements, so this'll print 30 chars. my @__ = ('A'..'Z', $", '&'); # 'A' to 'Z', ' ', and '&' sub __ { "#", # a '#' $" x ((@__-@_)/2), # half the difference, that many spaces @_, # the arguments $" x ((@__-@_)/2), # half the difference, that many spaces "#\n" # a '#' and newline } # the goal of __() is to CENTER the text it's given s//#/; # put a # at the front of $_ print _($_,@__), # '###########' _($",@__), # '# #' __(@__[9,20,18,19,26]), # '# JUST #' __(@__[0,13,14,19,7,4,17]), # '# ANOTHER #' __(@__[15,4,17,11,26]), # '# PERL #' __(@__[7,0,2,10,4,17,26]), # '# HACKER #' _($",@__), # '# #' _($_,@__), # '###########'


japhy -- Perl and Regex Hacker

In reply to dissection of Re: me & JAPHy by japhy
in thread me & JAPH by tachyon

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.