You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The range operator lets us generate a range of characters in codepoint order:
say list 'a' .. 'f'; # (a b c d e f)
say list '1' .. '6'; # (1 2 3 4 5 6)
say list '!' .. '&'; # (! " # $ % &)
However, the endpoint exclusion provided by the ..^, ^.., ^..^
variants of the operator only seems to work when the endpoints are
alphanumeric characters:
say list 'a' ^..^ 'f'; # (b c d e)
say list '1' .. '6'; # (2 3 4 5)
say list '!' ^..^ '&'; # (! " # $ % &)
Migrated from rt.perl.org#130554 (status was 'resolved')
Searchable as RT130554$
The text was updated successfully, but these errors were encountered: