From: ptkwt@...1.aracnet.com (Phil Tomson) Date: 2001-12-20T00:03:41+09:00 Subject: [ruby-talk:28931] Re: What's the Ruby way of doing: In article <3c20319c$0$23431$afc38c87@news.optusnet.com.au>, Nightblade wrote: > >I'm new to Ruby, so please don't shout. :-) I used to really like doing >these kind of things in Perl: (example in metacode) BTW: this will work in Ruby, just as you have it here: > > $debug and print "some kind of message" > >and: > This one won't work( but see my previous reply for an alternative): > unless $quiet print "extra info here" Phil