Test for __(?:DATA|END)__ in the "code" section of the loop
authorVincent Pit <perl@profvince.com>
Mon, 30 Jul 2012 22:48:58 +0000 (00:48 +0200)
committerVincent Pit <perl@profvince.com>
Mon, 30 Jul 2012 22:48:58 +0000 (00:48 +0200)
commitb48c592a53eb11a94aed21e26a5654bcda996bf3
tree5c76e64d03aa4a4f558e6bc4f21eff566777e41d
parentcfedad8991041ad6c33a056b5208151178f27372
Test for __(?:DATA|END)__ in the "code" section of the loop

If the line is =cut, then it can't possibly be __DATA__ or __END__.
lib/Module/Metadata.pm