Test::Proto::Series - represent a series in array validation
pArray->contains_only(pSeries('a', 'b', 'c')); # will validate ['a', 'b', 'c'] as true
Used in array validation to represent a sequence which must be present in its entirety. Only really useful when used in combination with Test::Proto::Repeatable and Test::Proto::Alternation, which can be nested inside a series, or can contain a series.
Each argument is another element in the series.
die unless exists $alternation->contents->;
A chainable getter/setter method for the contents of the series.