Alternatively, the most recent exception is stored in the magic global <code>$!</code>.
Is <code>$!</code> really considered a magic global? It feels like an unnecessary adjective. Simply stating "the global <code>$!</code>" seems adequate.
[[User:Adamstegman|Adamstegman]] ([[User talk:Adamstegman|talk]]) 15:21, 22 February 2010 (UTC)
:All variables that start with a $ are "global variables.2 I do not know who came up with the word "magic global", I think it is a misnomer. Nothing in the source of ruby refers to anything as a "magic global". However, not all global variables are the same in ruby. $1 $2 etc... are somewhat special and volatile, used for regexes. They may tend to "disappear" more rapidly than other variables, when you use a new =~ regex check. [[Special:Contributions/193.83.131.214|193.83.131.214]] ([[User talk:193.83.131.214|talk]]) 11:21, 6 February 2013 (UTC)