On Thu, 2004-02-12 at 14:03 -0800, Stas Bekman wrote:
> Philippe M. Chiasson wrote:
> > On Wed, 2004-02-11 at 17:02 -0800, Stas Bekman wrote:
> > 
> >>Doesn't save_item completely copy the original sv away and then restore it on 
> >>the scope exit? For some reason it doesn't work (fails with 'insecure 
> >>dependency on eval' error).
> [...]
> > 
> > No, not really. When I originally wrote that piece of code, I was trying
> > to get it to work using save_item() only, and had to packpedal and
> > revert to this nastiness about dollar_zero_tainted..
> > 
> > As far as I can tell, save_item should work in that case.
> 
> That sounds like a perl bug to me. I may give it another try later.

If my memory serves me right, this problematic behaviour is linked with
some magic about $0, save_item() did work correctly with other less-
magical scalars...

-- 
Philippe M. Chiasson m/gozer\@(apache|cpan|ectoplasm)\.org/ GPG KeyID : 88C3A5A5
http://gozer.ectoplasm.org/     F9BF E0C2 480E 7680 1AE5 3631 CB32 A107 88C3A5A5

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to