I was told by someone at an Ashram "The road of life is easy. If it seems otherwise, you're on the wrong one or chose obscurity".

Well, duh. :)

#!/usr/bin/perl -w use strict; my $life ="empty"; print my$query= "What is the meaning of life", "?\n\n"; my @WORLD=qw/affection compassion humility are everything/; print "1) Never obscure ", my $the_long_road=pack("b*","11001110100101 +101011011000001110001101101001011011000110100101100010111010011110"), +"\n"; print "2) ", meaning_of_life(); sub meaning_of_life { return $life=pop @WORLD, " ",substr(shift @WORLD, 0, 6),substr($the_lo +ng_road,0,1), " $life", "\n\n"; }


So, pop the world, shift the world, shake it up as much as you can...but Keep It Simple, Stupid. Always remember your actions inside your @WORLD will affect all the variables around you, and your @WORLD will affect your $life. The key is to adhere to a $life you can live with, and the world you create won't seem so bad.

Feel free to read deeper into the script. Perl has this strange habit of letting us see things we didn't even realize we wrote. :)

In reply to The meaning of life, to me. by breakwindows

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.