Fucking traitorous scum

  • nik9000@programming.dev
    link
    fedilink
    arrow-up
    1
    ·
    1 hour ago

    I genuinely love the idea of the $1 after a match. It feels so natural in perl! So many things are text matching.

    But! But! But!! Those $ variables are dynamic scoped! If you call a method and it matches stuff you lose the variables!

    I’ll bet there is a way around it. But it made me so sad.