You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Perldl2 Shell v0.008
PDL comes with ABSOLUTELY NO WARRANTY. For details, see the file
'COPYING' in the PDL distribution. This is free software and you
are welcome to redistribute it under certain conditions, see
the same file for details.
Loaded plugins:
CleanErrors
Commands
Completion
CompletionDriver::INC
CompletionDriver::Keywords
CompletionDriver::LexEnv
CompletionDriver::Methods
DDS
FindVariable
History
Interrupt
LexEnv
MultiLine::PPI
NiceSlice
PDLCommands
Packages
PrintControl
ReadLineHistory
Type 'help' for online help
Type Ctrl-D or quit to exit
Loaded PDL v2.082
load_rcfile: got $HOME = /home/haj
load_rcfile: loading PDL/default.perldlrc
The demos don't work in this setup: They die with the following message (with Devel::Confess enabled):
Runtime error: Can't locate object method "slice" via package "comment" (perhaps you forgot to load "comment"?) at (eval 396)[/usr/share/perl5/Devel/REPL.pm:120] line 18.
The "traditional" perldl shell works fine for the demos!
The text was updated successfully, but these errors were encountered:
Thanks for the report! This was because the environment where the demo command runs in pdl2 did indeed have NiceSlice enabled, which means you can't do $coderef->(...). However, changing it to &{$coderef}(...) makes it work fine.
pdl2
gives the following identification:The demos don't work in this setup: They die with the following message (with Devel::Confess enabled):
The "traditional"
perldl
shell works fine for the demos!The text was updated successfully, but these errors were encountered: