in reply to Re: Tie's FETCH called twice?
in thread Tie's FETCH called twice?

No, a closer read would reveal this one does have a workaround, simply not using the value as the first part of a concatenation.
print "$tie\n"; #Double fetch print "Tiesvalue:$tie\n"; #single fetch
:->

Yves / DeMerphq
--
Have you registered your Name Space?

Update
crazyinsomniac pointed out that I put /n instead of \n into my examples. My bad, but fixed now.. Thanx dude.

Replies are listed 'Best First'.
Re: Re: Re: Tie's FETCH called twice?
by smitz (Chaplain) on Oct 29, 2001 at 18:25 UTC
    Ahh, hmmm...so...
    Ok, your obviously right, that does work, but how come? Wht is the 1st a double fetch? Is that the bug, or is it my mistake? If it is the latter, could someone explain it? Thanx again! SMiTZ
      Well, I'm sure why. Its a bug, and I dont do perlguts. Sorry. But the link that blakem provided contains a further link to Dangers report on your problem. And that provides a link to the p5p thread on the subject which is where you should have a look if you are interested in the gory details...

      Yves / DeMerphq
      --
      Have you registered your Name Space?