"Beauty is in the eye of the beholder." For those who live as professional programmers, beauty as a consuming passion that disappears in a few days and leave nothing but a sense of emptyness is not a top priority, I think. Beauty needs a more pragmatic approach, something that makes it more close to code that works and that can be changed without hair-pulling. It is not that fugacity that dazzles, it is more like that brightness that stands. In this case, pride should be on getting things permanent and not in such a way that gives other people headache.
After all, maybe you should try something like this
sub MySub
{
...some stuff...
return map { split(/ /,$_,2) }
map { uc }
@somearray;
}
Not that big deal, but more everlasting as a good memory.
-
Are you posting in the right place? Check out Where do I post X? to know for sure.
-
Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
<code> <a> <b> <big>
<blockquote> <br /> <dd>
<dl> <dt> <em> <font>
<h1> <h2> <h3> <h4>
<h5> <h6> <hr /> <i>
<li> <nbsp> <ol> <p>
<small> <strike> <strong>
<sub> <sup> <table>
<td> <th> <tr> <tt>
<u> <ul>
-
Snippets of code should be wrapped in
<code> tags not
<pre> tags. In fact, <pre>
tags should generally be avoided. If they must
be used, extreme care should be
taken to ensure that their contents do not
have long lines (<70 chars), in order to prevent
horizontal scrolling (and possible janitor
intervention).
-
Want more info? How to link
or How to display code and escape characters
are good places to start.
|