Re: [Pdl-general] PDL::NiceSlice and Perl 5.36

2022-11-05 Thread Grégory Vanuxem
Hello, For sure 'use PDL' needs Nice Slice. Have encountered also this problem Le sam. 5 nov. 2022 à 01:36, Luis Mochan a écrit : > Quite misterious: > > I simplified the code to the following: > >#! /usr/bin/env perl >use PDL; >use PDL::NiceSlice; >my $x=sequence(1); >my

Re: [Pdl-general] PDL::NiceSlice and Perl 5.36

2022-11-05 Thread Luis Mochan
Regarding NiceSlice, I made a further couple of tests: Take the program #! /usr/bin/env perl use PDL; BEGIN{$PDL::NiceSlice::debug_filter=1;} use PDL::NiceSlice; my $x=pdl(1); my $V=$x/$x((0))/2; A add the ...debug_filter=1 line to print debugging info. I run it: $

Re: [Pdl-general] PDL::NiceSlice and Perl 5.36

2022-11-05 Thread Luis Mochan
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$_"