Subsets follow pretty much the same rules as every other declared thing. Change subset by "variable" or "class", if the answer is true, it's also true for subsets.
By default, the scope of anything (containers, classes, whatever) is lexical to the scope they are in. El mié., 11 dic. 2019 a las 18:48, ToddAndMargo via perl6-users (< perl6-us...@perl.org>) escribió: > Hi All, > > If I create a subset in the global section of a module > (not inside a sub), can the subset be seen by the > main program? > > Can a subset be declared on a sub's declaration line? > (Hope springs eternal.) > > Many thanks, > -T > -- JJ