Slash Boxes
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
More | Login | Reply
Loading... please wait.
  • ...without seeing what you've actually done. Can you reproduce it with a small set of code and show that?
    Ordinary morality is for ordinary people. -- Aleister Crowley
    • Sure...Each of these are in a seperate file:

      package A;
      use base 'Class::Accessor::Fast';

      package B;
      use base 'A';

      package C;
      use base 'B';

      package P;

      use C;

      In the test suite:

      use_ok('C') .... ok

      In a seperate test file:


      Fails 'Can't find package method mk_accessors via package 'C'.

      On the other hand if I change P from 'use P' to 'require P' it works.