Actually these probably refer to POE, a perl application kernel (it stands for "Persistent Object Environment") described here and here (easier).

It lets you build event-driven apps in Perl. Here is a neat paragraph about it.

The two special constants you mention are exported by POE and are references that let you access parts of what is a little Perl-based operating system for your application. For example the heap dataspace can be used to store information that you don't want to have Perl garbage collect away, such as the address and port of a client.

In the words of the POE manpage,

# $_[KERNEL] is a reference to the program's global POE::Kernel # instance; $_[HEAP] is the session's local storage; $_[SESSION] is # a reference to the session itself.
You can use this information with object methods, so
my $kernel = $_[KERNEL]; $kernel->run;
will start up the event loop and return when there are no more sessions to which events may be dispatched. The POE::KERNEL manpage has a list of such methods.

In reply to Re: newbie having syntax/variable problems by mattr
in thread newbie having syntax/variable problems by kvaishnav

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.