Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- say map *.Str.chars, 'hello', 1, 22/7, 42, 'world'; # OUTPUT: «(5 1 8 2 5)»
- # Here *.Str.chars is called on 22/7 which results in 8
- # Should not it be 4
- # Because
- say '22/7'.Str.chars; # OUTPUT: 4
Add Comment
Please, Sign In to add comment