You have a string in $_
and you want to get a list of the characters in it. You decide to use @chars = split //
, but then your friend (who happens to like regexes a lot) advertises the code @chars = /./gs
stating that it works the same way as the other code. You run it on all the possible strings you can come up with, and indeed, it returns the exact same value. But you can't help but thinking it does something different. What is it?
Please keep answers encoded, whether it be via ROT-13 or font coloring.