Skip Menu |

This queue is for tickets about the Filter-EOF CPAN distribution.

Report information
The Basics
Id: 28858
Status: open
Priority: 0/
Queue: Filter-EOF

People
Owner: rs [...] 474.at
Requestors: hooo [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 0.04
Fixed in: (no value)



Subject: no on_eof_call with __END__ or __DATA__ statement in file
the eof sub isn't called if the file contains a __DATA__ or __END__ statement Example: package MyUsingPackage; use warnings; use strict; our $COMPILE_TIME; use MyPackage; # prints 'yes' BEGIN { print +( $COMPILE_TIME ? 'yes' : 'no' ), "\n" } # prints 'no' print +( $COMPILE_TIME ? 'yes' : 'no' ), "\n"; 1; __END__
On Thu Aug 16 09:06:16 2007, HOOO wrote: Show quoted text
> the eof sub isn't called if the file contains a > __DATA__ or __END__ statement
First, thanks very much for the report. I should be able to fix the DATA issue but I'm still working on the END one. I hope I can release a fixed version before going to YAPC-EU at 23rd. -phaylon