Phil Tomson wrote: > In article <3c20319c$0$23431$afc38c87 / news.optusnet.com.au>, > Nightblade <nightblade / no.spam.thanks.com> 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" either unless $quiet then print "extra info here" end or print "extra info here" unless $quite -- Michael Neumann merlin.zwo InfoDesign GmbH http://www.merlin-zwo.de