Daniel Martin wrote:
> There's one more advantage to using a #! line that applies when you're
> posting a script in an email message -- in that case, you should begin
> your script with
> 
> #!ruby
> 
> and end it with
> 
> __END__
> 
> If you do that, then people can save your email message to a file and
> just run it with:
> 
> ruby -x email_message.txt
> 
> Regardless of what kind of headers or footers got attached to the
> email message. (So long as email didn't word-wrap your script,
> everything should be good)

I had absolutely no idea you could do that!   How handy!!

Thanks!

-- 
Posted via http://www.ruby-forum.com/.