in reply to Re: Using __DATA__ from a package
in thread Using __DATA__ from a package

Also be aware that for Perl 5.12 and earlier on windows platforms the line ending characters weren't handled correctly (update: when using seek/tell on DATA). After this node a perlbug report was submitted and the problem corrected.