[#1026] Is this a bug? — Dave Thomas <Dave@...>

18 messages 2000/01/03

[#1084] Infinite loop — Dave Thomas <Dave@...>

17 messages 2000/01/11

[#1104] The value of while... — Dave Thomas <Dave@...>

24 messages 2000/01/11

[ruby-talk:01183] removing tainting

From: Dave Thomas <Dave@...>
Date: 2000-01-25 16:25:59 UTC
List: ruby-talk #1183
Should the following sequence remove tainting?

   s = "hello".taint
   t = s.to_a[0]
   p s.tainted?
   p t.tainted?

Regards


Dave

In This Thread

Prev Next