Yes.  The warning is from a dependency of the pdl2 shell
where they refactored the existing Class::MOP and moved
this function to another module and added a warning for
the old usage.  pdl2 is fine but the warning will be there
until the upstream Devel::REPL changes _its_ usage.

--Chris

On 8/11/2015 05:48, Ingo Schmid wrote:
Hi,

I guess this is harmless? The shell appears to work normally.
Ingo

$ pdl2
Class::MOP::load_class is deprecated at /usr/lib64/perl5/vendor_perl/5.22.0/x86_64-linux-thread-multi/Class/MOP.pm line 69. Class::MOP::load_class("PDL::Perldl2::Plugin::CleanErrors") called at /usr/lib64/perl5/vendor_perl/5.22.0/MooseX/Object/Pluggable.pm line 234 eval {...} called at /usr/lib64/perl5/vendor_perl/5.22.0/MooseX/Object/Pluggable.pm line 234 MooseX::Object::Pluggable::_load_and_apply_role(Devel::REPL=HASH(0x23f2c30), "PDL::Perldl2::Plugin::CleanErrors") called at /usr/lib64/perl5/vendor_perl/5.22.0/MooseX/Object/Pluggable.pm line 170 MooseX::Object::Pluggable::load_plugins(Devel::REPL=HASH(0x23f2c30), "CleanErrors") called at /usr/lib64/perl5/vendor_perl/5.22.0/MooseX/Object/Pluggable.pm line 181 MooseX::Object::Pluggable::load_plugin(Devel::REPL=HASH(0x23f2c30), "CleanErrors") called at /usr/lib64/perl5/vendor_perl/5.22.0/x86_64-linux-thread-multi/PDL/Perldl2/Profile/Perldl2.pm line 59 PDL::Perldl2::Profile::Perldl2::apply_profile(PDL::Perldl2::Profile::Perldl2=HASH(0x23e2f78), Devel::REPL=HASH(0x23f2c30)) called at /usr/lib64/perl5/vendor_perl/5.22.0/Devel/REPL/Script.pm line 45 Devel::REPL::Script::load_profile(PDL::Perldl2::Script=HASH(0x2094728), "PDL::Perldl2::Profile::Perldl2") called at /usr/lib64/perl5/vendor_perl/5.22.0/Devel/REPL/Script.pm line 35 Devel::REPL::Script::BUILD(PDL::Perldl2::Script=HASH(0x2094728), HASH(0x2054948)) called at /usr/lib64/perl5/vendor_perl/5.22.0/x86_64-linux-thread-multi/Class/MOP/Method.pm line 124 Class::MOP::Method::execute(Moose::Meta::Method=HASH(0x2094f38), PDL::Perldl2::Script=HASH(0x2094728), HASH(0x2054948)) called at /usr/lib64/perl5/vendor_perl/5.22.0/x86_64-linux-thread-multi/Moose/Object.pm line 53 Moose::Object::BUILDALL(PDL::Perldl2::Script=HASH(0x2094728), HASH(0x2054948)) called at /usr/lib64/perl5/vendor_perl/5.22.0/x86_64-linux-thread-multi/Moose/Meta/Class.pm line 278 Moose::Meta::Class::new_object(Moose::Meta::Class=HASH(0xd416c8), HASH(0x2054948)) called at /usr/lib64/perl5/vendor_perl/5.22.0/x86_64-linux-thread-multi/Moose/Object.pm line 24 Moose::Object::new("PDL::Perldl2::Script", "ARGV", ARRAY(0x2054a68), "extra_argv", ARRAY(0x205aa60), "usage", Getopt::Long::Descriptive::Usage=HASH(0x21acd48)) called at /usr/lib64/perl5/vendor_perl/5.22.0/MooseX/Getopt/Basic.pm line 110 MooseX::Getopt::Basic::new_with_options("PDL::Perldl2::Script") called at /usr/lib64/perl5/vendor_perl/5.22.0/Devel/REPL/Script.pm line 93 Devel::REPL::Script::import("PDL::Perldl2::Script", "run") called at /usr/bin/pdl2 line 34
    main::BEGIN() called at /usr/bin/pdl2 line 34
    eval {...} called at /usr/bin/pdl2 line 34
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.012

load_rcfile: got $HOME = /home/ingo
load_rcfile: loading /home/ingo/.perldlrc
pdl>



------------------------------------------------------------------------------


_______________________________________________
pdl-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pdl-general

------------------------------------------------------------------------------
_______________________________________________
pdl-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pdl-general

Reply via email to