From: Dossy Date: 2002-07-19T01:49:37+09:00 Subject: Re: Q: "print usage_msg, exit 1 if error_flag" does not workO On 2002.07.19, Mark Slagell wrote: > (print error_message; exit 1) if error_flag Since this thread still hasn't died, I'll throw another alternative on the heap: proc { |msg| print msg; exit 1 }.call(error_message) if error_flag -- Dossy -- Dossy Shiobara mail: dossy@panoptic.com Panoptic Computer Network web: http://www.panoptic.com/ "He realized the fastest way to change is to laugh at your own folly -- then you can let go and quickly move on." (p. 70)