Hello,
What does ‘ruby -w’ do? Could someone give me an example of the helpful
warnings that it might give?
I know of one warning that it does not give (compared to perl):
$ ruby -we ‘var = “hi”’
$
$ perl -we '$var = “hi”'
Name “main::var” used only once: possible typo at -e line 1.
$
Thanks,
Daniel.