~/talk

Sigils. Once you know them, you'll love them in the Raku Programming Language

Talkat The Raku Conference 2021 · 2021-08-07..08-12
links:none on file
slides:none on file

Shows concrete Raku syntax: $ @ % & map to scalar, positional, associative, and callable variables with real examples (my $foo = 42, @scores[0], %scores{'ue'}, &cb.roll). Demonstrates twiddles ( . !) for dynamic env vars, method calls and private attrs, and the backslash for sigilless constants. Highlights surprising details: negative index uses $ -1 via -1 star not -1, interpolation rules requiring parentheses for method/sub calls, and that compile-time type checks catch wrong argument kinds before running.

AI-written summary · about

  1. 0:00Introduction to Raku sigils
  2. 1:28Defining the four sigils
  3. 2:15The scalarizer ($)
  4. 5:57The serialiser (@)
  5. 10:49The hasher (%)
  6. 13:21The invoker (&)
  7. 17:42Understanding twigils
  8. 26:32The anti-sigil
  9. 31:50Benefits of sigils
  10. 34:43Wrap-up and resources
  11. 37:23Q&A session
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.