On Jan 23, 2004, at 2:47 PM, Eric Walker wrote: [..]

while <DATA>{ do something;}             package ONE              package stuff;              1;

            package main
          
             __DATA__
            data stufff

yes, one can do the reset back to package main.


part of the reason I opt for the

BEGIN { package .... }

approach is so that I know that the compiler
will deal with the BEGIN { BLOCK } before
worrying about anything else in the code.

That way I know that my objects will be sorted out foist.

As a general rule of thumb, though, once I have played
out an idea then it is going off to it's own

Monkey.pm

file where it is a fully externalized perl module...


ciao drieux

---


-- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>




Reply via email to