Then you've likely removed the __END__ part of the script, which is the data that can be accessed via the file handle DATA. When Perl sees a __DATA__ or __END__ section, it makes the data following it available via the then pre-opened file handle DATA.