Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight


by missingthepoint (Friar)
on Feb 17, 2008 at 04:07 UTC ( [id://668384]=user: print w/replies, xml ) Need Help??

^^ in natural habitat

Perl stuff moved below.

Jesus Christ, κυρίου Ιησοῦ Χριστοῦ, Yeshua HaMashiach


First and foremost, I'm a Christian. That's my primary identity, before "Perl monk", or "Perl hacker", or anything else. I should quote the word because I don't like the connotations it carries nowadays, and while I consider it a noble label it might communicate something else entirely to you.

The connotations I don't think are accurate (and hence don't imply by the use of 'Christian'):

  • Anti-reason. If God created us, He created our minds; gave us the ability to reason, and His reality means human reason has validity.
  • Prude. This one's easy - if God created us, He created the pleasure receptors in our brains.

Jesus Christ

What I do intend to communicate by 'Christian' is that I have a relationship with Jesus Christ, the Jewish carpenter who was God Himself. This means several things:

  • My sin is dealt with. Human sin is real, both corporate and individual. My sin (individual) has been paid for.
  • My eternal destiny is sure. I have no fear of death, since "to live is Christ and to die is gain", "to be with Christ is far better".

Both these things are exceedingly wonderful, and are also entirely undeserved on my part. They are pure grace, blessings of God. They result from who God is: let me tell you about Him.

God's character

  • God is kind. He is the kindest person I know!
  • God is love
  • God delights in blessing people. His heart is always to bless, but He won't bless things that take you away from Him.
  • God is moral. "You are not a God who takes pleasure in evil; with you the wicked cannot dwell."
  • "As surely as I live, declares the Sovereign LORD, I take no pleasure in the death of the wicked, but rather that they turn from their ways and live. Turn! Turn from your evil ways! Why will you die, O house of Israel?"

The Sharp End

God is moral. He has standards for human behavior. Human sin is primarily the rejection of God Himself, but also the consequent rejection of His standards. This is not a trifling matter - sin deeply offends God. And He will not allow it to exist unchallenged (or unpunished). You yourself have sinned, and deeply offended Him. You deserve His judgement... in other words, you deserve to die, eternally. God must punish your sin - it offends Him that deeply. He is disgusted by it.

But He is love! With those two words He defines Himself. He loves you more than you can possibly imagine! To satisfy His moral nature, and yet have mercy on YOU, He chose to bear His own punishment. He became a man and lived as a human should. He didn't sin, at all.

And then he took the punishment you so richly deserve. He bore the punishment for all your sin - all of it! And if you would believe in Him, in Jesus Christ, and in what He has done for you - there is no condemnation for you, nor punishment. God the Father can call you His child. And that is an amazing thing. :)

Perl Mnemonics

** please PM me if you have mnemonics not listed here **


Because Perl is such a rich language, there's a lot to keep straight in your head. Mnemonics are a lot quicker than consulting the docs, especially if you can't remember (hehe) which docs you need to consult.

The Mnemonics

To RememberUse the Mnemonic...Source
Order of characters in regex binding operatorthe negated comparison for the regex binding operator is !~, which has the same order as !=, and thus, the regex binding operator must be =~.Re: Stupid mistakes I repeatedly make
Distinguish /s and /m regex modifiers
  • /s modifies the behaviour of a Single metacharacter (.)
  • /m modifies the behaviour of Multiple metacharacters (^ and $)
Re: Mnemonic Devices for Perl Programming
Distinguish input and output record separators
I/O $/ - droplet falls to left, or I - input record seperator $\ - droplet falls to right, or O - output record separator
The parable of the falling droplet
Distinguish output separators
$\ goes where you put a \n in your print() $, goes where you put a , in your print()
japhy (source further)
Remember how to sort by length, descending
sort { length $b <=> length $a } @vals ('b' has a higher ASCII value than 'a' and comes first, so it's descen +ding)

Favorite nodes

(Sorted chronologically per section - i.e. by node ID, ascending



Perl 6


At some point you'll want to use Perl in a web-client-ish capacity. I'll save you the trouble: just use WWW::Mechanize. It gives you all the functionality of LWP::UserAgent, and then some (yes, it's a subclass). If you need to handle Javas‎crip‎t, WWW::Selenium might help.




Home nodes

for varying reasons of low entropy, profundity, humor, et al:

Lesser-known corners of the Monastery

How about... a satiated monk PM mockup? Or Perlmonks Usernames 101? Or some braindumps of the early devs? Or the home node of that long-time member of Societas Eruditorum? (I think it meant to say 'great red hair'.) Or proof the gods are telepathic? Or The Go Poem?

Who posted first at Perlmonks?

I'll define 'first post' as first non-testing, non-gods, non-root, non-PM-page, non-site-functionality node. Then, contrary to popular opinion, it wasn't paco... it was nate! Right here.

Log In?

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

How do I use this?Last hourOther CB clients
Other Users?
Others having a coffee break in the Monastery: (5)
As of 2024-05-30 00:12 GMT
Find Nodes?
    Voting Booth?

    No recent polls found