I was expecting the result to be:use strict; while(my $a=<DATA>){ print $a; } __END__ 1 2 3 __DATA__ a b c
But I actually got:a b c
So __END__ is equivalent to __DATA__? eveything after __END__ or __DATA__ can be accessed via <DATA>?1 2 3 __DATA__ a b c
In reply to __END__ is equivalent to __DATA__ ? by johnnywang
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |