Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Equivilent to '-w'? 1

Status
Not open for further replies.

stillflame

Programmer
Jan 12, 2001
416
in perl, you can use '-w' on the command line to enable warnings, and you can use 'use strict' to make the compiler look for more errors.
i remember something like these for ruby, but i cannot find what it was. if anybody else knows, i'd be happy with that knowledge (well, if anybody ever visits this forum...) "If you think you're too small to make a difference, try spending a night in a closed tent with a mosquito."
 
well, i feel pretty lame... the directive is '-w'...

here's another: what the equivalent to 'use strict'? "If you think you're too small to make a difference, try spending a night in a closed tent with a mosquito."
 
well, i feel pretty lame... the directive is '-w'...

but i still don't know: what the equivalent to 'use strict'? "If you think you're too small to make a difference, try spending a night in a closed tent with a mosquito."
 
thanks.

( :-D someone else looks at this forum!) "If you think you're too small to make a difference, try spending a night in a closed tent with a mosquito."
 
Now we are in trouble. I'm the forum's 'Top Expert' and I've never even written anything in Ruby. Maybe your post on the newsgroup will attract some more knowledgable posters?

:cool:
 
LOL
yeah, hope so. i've actually just started my first project in Ruby, to port the perl module Lingua::LinkParser over to ruby. so far it's working out well, not that it works yet :) "If you think you're too small to make a difference, try spending a night in a closed tent with a mosquito."
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top