sigils.txt 497 B

1234567891011121314151617181920212223
  1. ~R'this + i\s "a" regex too'
  2. ~w(hello #{ ["has" <> "123", '\c\d', "\123 interpol" | []] } world)s
  3. ~W(hello #{no "123" \c\d \123 interpol} world)s
  4. ~s{Escapes terminators \{ and \}, but no {balancing} # outside of sigil here }
  5. ~S"No escapes \s\t\n and no #{interpolation}"
  6. ~S/hello/
  7. ~S|hello|
  8. ~S"hello"
  9. ~S'hello'
  10. ~S(hello)
  11. ~S[hello]
  12. ~S{hello}
  13. ~S<hello>
  14. ~s/hello #{name}/
  15. ~s|hello #{name}|
  16. ~s"hello #{name}"
  17. ~s'hello #{name}'
  18. ~s(hello #{name})
  19. ~s[hello #{name}]
  20. ~s{hello #{name}}
  21. ~s<hello #{name}>