In perl, one is able to sort of 'declare' variables by mentioning them in 'my' statements. Then, if you say 'use strict;', no variables that weren't previously thus 'declared' are allowed. This is useful in that it catches typos that might be difficult to detect in testing. Does ruby have an equivalent mechanism?