Re:Set in Your Ways: Perl 6’s Setty and Baggy Types
by sp332 on Wednesday December 07, 2016 @04:30PM
(#13126394)
The angle brackets are explicitly string operators. So the set contains the string "42" but not the number 42. Perl does generally have different operators for strings vs numbers, so that's something you'd be used to thinking about already. Probably not a huge gotcha.
Edit: these things are weird though. https://docs.perl6.org/type/IntStr