- Package:
- libfilter-perl
- Source:
- libfilter-perl
- Description:
- Perl source filters
- Submitter:
- Christoph Berg
- Date:
- 2017-12-16 09:30:07 UTC
- Severity:
- normal
Merely adding "use Switch;" to a perl program breaks the use of __DATA__ sections via <DATA>: $ cat switch.pl use Switch; print <DATA>; __DATA__ foobar $ perl switch.pl $ cat switch.pl #use Switch; print <DATA>; __DATA__ foobar $ perl switch.pl foobar This is not documented under LIMITATIONS in Switch(3pm). Christoph
-=| Christoph Berg, 13.12.2017 13:05:58 +0100 |=- Right. As noted in https://rt.cpan.org/Public/Bug/Display.html?id=97440 this is a bug/limitation of Filter::Util::Call (reported as https://rt.cpan.org/Public/Bug/Display.html?id=101033) Cheers, dam
Control: clone -1 -2 Control: reassign -2 libfilter-perl 1.58-1 Control: block -1 with -2 As Filter::Util::Call is also in the separate libfilter-perl package, this needs to be fixed (or maybe just documented as a limitation?) there first. The fix can then be backported to the Perl core version, or can trickle there later by the normal upstream process.