in reply to Tie's FETCH called twice?

This is a bug that has been noted elsewhere but to my knowledge there is no known patch or workaround....

-Blake

Replies are listed 'Best First'.
Re: Re: Tie's FETCH called twice?
by demerphq (Chancellor) on Oct 28, 2001 at 23:05 UTC
    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.

      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?