see perldata for Special Literals
For compatibility with older scripts written before __DATA__ was introduced, __END__ behaves like __DATA__ in the toplevel script (but not in files loaded with require or do) and leaves the remaining contents of the file accessible via main::DATA.
In reply to Re: __END__ is equivalent to __DATA__ ?
by ccn
in thread __END__ is equivalent to __DATA__ ?
by johnnywang
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |