in reply to Do I need/want to close __DATA__?
#! /usr/bin/perl use warnings; use strict; print "" while <DATA>; warn 'here'; __DATA__ 1 2 3
Stderr:
here at /home/choroba/1.pl line 6, <DATA> line 3. # in the script: ~~~~~~~~~~~ # in the input: ~~~~~~~~~~~~~
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Do I need/want to close __DATA__?
by BillKSmith (Monsignor) on Apr 13, 2020 at 14:11 UTC |