Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Browse files

__DATA__ in data section *does* screw up

  • Loading branch information...
1 parent b2576ce commit 65012778a2c98bca584c6c88398a948d610b4dd1 @miyagawa committed
Showing with 4 additions and 4 deletions.
  1. +4 −4 lib/Data/Section/
8 lib/Data/Section/
@@ -94,10 +94,10 @@ caller code.
=head1 BUGS
-If you code has C<__DATA__> somewhere else in the code, this module
-might be tricked by that (though since its match is greedy,
-C<__DATA__> appearing I<before> the actual data section might be
+If you data section has literal C<__DATA__> in the data section, this
+module might be tricked by that. Although since its pattern match is
+greedy, C<__DATA__> appearing I<before> the actual data section
+(i.e. in the code) might be okay.
This is by design -- in thoery you can C<tell> the DATA handle before
reading it, but then reloading the data section of the file (handy for

0 comments on commit 6501277

Please sign in to comment.
Something went wrong with that request. Please try again.