On Jun 9, 2005, at 1:55 PM, Ara.T.Howard wrote:

> hmmm... it's probably still in memory for a while unless there is  
> an explicit
> method to clear it.  some password libs have this feature.

Would something like the following be an improvement, do you think?

#!/usr/local/bin/ruby -w

def fetch_password
     pass = ""
     pass << "password"
     pass
ensure
     pass = nil
end

p fetch_password    # => "password"

__END__

James Edward Gray II