Re: Inline test data

"$Bill Luebkert" <[email protected]> Wed, 02 May 2012 11:35:49 -0700
Newsgroups gmane.comp.lang.perl.active-perl
Message-ID <[email protected]>
On 05/02/2012 10:44, Rothenmaier, Deane wrote:
> This raises an interesting (well, to me, anyway) question: if a program's pulling data from a __DATA__ section, will it quit reading when it gets to an __END__ tag? Or will it run right over it?
>
> Another thought: if you put a __DATA__<I>after</I>  an __END__, what'll happen? (pardon me if I'm having a Steven Wright moment...)

I believe either a __DATA__ or an __END__ will accomplish the same thing
as to starting the data section and it terminates on actual EOF (not on
any __DATA__/__END__ it encounters).
_______________________________________________
ActivePerl mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs