
georgepag
New User
Oct 24, 2010, 11:58 AM
Post #1 of 2
(255 views)
|
Hi, I am self-learning Perl and have a question. The book gives this example: #! /usr/bin/perl; print <DATA>; __DATA__ This line will be printed and so will this one which I understand, but then the book says that __END__ could be substituted for __DATA__ and the results would be the same ( I verified it), which I do not understand. I thought __END__ caused all following text to be ignored? George
|