FAQ Database Discussion Community
I was reading the page about sigils in the Elixir tutorial. I expected the syntax for defining sigils uses "defsigil" just like "defstruct", "defprotocol", and so on. But it was not so. Why?
This question already has an answer here: Why do you need $ when accessing array and hash elements in Perl? 9 answers Today I start my perl journey, and now I'm exploring the data type. My code looks like: @list=(1,2,3,4,5); %dict=(1,2,3,4,5); print "$list\n"; # using [ ] to wrap...