develooper Front page | perl.perl5.porters | Postings from November 1999

Re: [ID 19991115.012] Localization and goto()

Ilya Zakharevich
November 16, 1999 08:25
Re: [ID 19991115.012] Localization and goto()
Message ID:
Tom Christiansen writes:
> >This is an implementation detail.  IIRC, it is documented that frame
> >is replaced, not goes away.  What happens/should-happen with locals
> >during "replacement" is debatable.
> If something has been replaced, it has gone away and is no longer there.
> If I replace your dog with a cat, you would not expect your new feline
> to bark; the dog is long gone.  

Whether a person ceases to exist after a sex change operation is
highly debatable.

> >What happens, however, is making some "normal programming constructs"
> >much harder to implement.
> Such as?

In the particular case I needed it was

  local @ISA = (@ISA, 'DynaLoader');
  goto \&DynaLoader::bootstrap;

Ilya Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About