[kw-pm] __END__ and __DATA
Justin Wheeler
kw-pm at datademons.com
Tue Aug 15 07:52:23 PDT 2006
Only thing that quickly comes to mind for me is mod_perl + __DATA__ and
__END__ have been known to blow up and leave you wondering for a very long
time what the hell is going on. I learned it had something to do with
mod_perl wrapping your code in an eval {} block, but I could be wrong.
Just something to think about.
Justin
On Tue, 15 Aug 2006, Robert Pike wrote:
> Anyone have any thorough and helpful notes/ share
> personal experiences on using __END__ and __DATA__?
> Exact placement of (i.e. any needed trailing lines,
> etc..,), where to use, effects of, best uses for, and
> whether multiple ones can be placed in the same script
> (and, if so, how they are treated). Thanks in advance.
>
> Rob
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam? Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
> _______________________________________________
> kw-pm mailing list
> kw-pm at pm.org
> http://mail.pm.org/mailman/listinfo/kw-pm
>
More information about the kw-pm
mailing list