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

2022-11-04 Thread Yury Pakhomov
Hi Ed, I use last version of PDL 2.081. This problem also affected preview 2.080 version. Other machine has Fedora Core 36 with perl 5.34 and PDL 2.076 Best regards, Yury 04.11.2022 18:49, Ed. пишет: Hi Yury, I had a look and I don’t think Slackware packages PDL. Can you tell us what

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

2022-11-04 Thread Luis Mochan
Well, I found how to get the output from the filter. Consider the code: #! /usr/bin/env perl use PDL; use PDL::NiceSlice; use Filter::sh 'tee rem1.pl'; my $x=sequence(1); my $V=$x/$x((-1)); #my $w=$A/$x((-1)); The line use Filter::sh 'tee rem1.pl'; sends a copy of

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

2022-11-04 Thread Luis Mochan
If I change the NiceSlice engine, using $ PDL_NICESLICE_ENGINE=Filter::Util::Call program.pl I don't get the error, and the output of the filter is my $x=sequence(1); my $V=$x/$x->slice([-1,0,0]); #my $w=$A/$y->slice([-1,0,0]); so that both the actual $x((-1)) and the same in

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

2022-11-04 Thread Luis Mochan
Quite misterious: I simplified the code to the following: #! /usr/bin/env perl use PDL; use PDL::NiceSlice; my $x=sequence(1); my $V=$x/$x((-1)); #my $w=$A/$x((-1)); and it fails with the message syntax error at rem.txt line 5, near "$x(" The error corresponds to the line

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

2022-11-04 Thread Ed .
Hi Yury, I had a look and I don’t think Slackware packages PDL. Can you tell us what version of PDL you have installed, on the two machines where you’ve tried your script? Best regards, Ed From: Yury Pakhomov Sent: 03 November 2022 13:14 To: