print "now in runtime...\n"; BEGIN { open my $fh , '<', \<<'__EOI__' or die; foo bar quux now in runtime... now in main __EOI__ while (<$fh>) { print "DATA: $_"; } } ...
In reply to Re^2: __DATA__ used in BEGIN
by ikegami
in thread __DATA__ used in BEGIN
by Tabari
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |