The PDL::NiceSlice bug seems not to be a PDL bug, but rather a
Filter::Simple bug. I made a trivial source filter, unrelated to PDL
package MyFilter;
use v5.36;
use Filter::Simple;
FILTER_ONLY
code_no_comments => sub { say "Code:\n$_" },
all => sub { say "All:\n$_" };
1;
and a small program
use v5.36;
use lib ".";
use MyFilter;
my $x=1;
say $x/2/3;
and when I run it I get the same odd behavior
~$ perl rem1.pl
Code:
my $x=1;
say $x3;
All:
my $x=1;
say $x/2/3;
0.166666666666667
which shows that the fragment between slashes is erroneously removed by
Filter::Simple. I filled a bug report at
https://github.com/Perl/perl5/issues/20489
Regards,
Luis
--
o
W. Luis Mochán, | tel:(52)(777)329-1734 /<(*)
Instituto de Ciencias Físicas, UNAM | fax:(52)(777)317-5388 `>/ /\
Av. Universidad s/n CP 62210 | (*)/\/ \
Cuernavaca, Morelos, México | [email protected] /\_/\__/
GPG: 791EB9EB, C949 3F81 6D9B 1191 9A16 C2DF 5F0A C52B 791E B9EB
_______________________________________________
pdl-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pdl-general