Subject: | 'extends' is not declared |
In Version 0.007_05 everything works fine. In version 0.007_06 and all versions above, i get an error here:
package MASCIP::Types::Basic;
use version; our $VERSION = qv('0.0.1');
use Type::Library -base;
use Type::Utils;
BEGIN { extends 'Types::Standard' };
on the last line, it says that "extends" is not declared.
(reading through the diff...)
Ah, i found the solution!
i just have to add
-all
after Type::Utils apparently. Yes:
Type::Utils -all;
solves my problem.
If that's indeed the problem, then the POD of Type::Tiny::Manual::Libraries needs a slight change. If you just add
-all
after Type::Utils in this POD, that should do.
I'll submit a pull request right now. It's a tiny change but it might affect other people too. In fact, i'm not sure where, but maybe that this "change in API" should be indicated somewhere (in the POD?), so that people know where to look when they have the same problem.