It's also interesting to note that the second option triggers some particularly unfortunate browser behaviour. I worked on an extranet application once where this was done and it turns out that the browsers back button would undo exactly *one* assignment to the location.href properties. The net effect was that the users had to click back three> times to go back one actual page. It was ugly and I wish that on no one.
Summary: follow dws first suggestion or suffer the consequences. Meohahaha! (ok so I've got a super-kitty villan flick on right now, sue me)
__SIG__
use B;
printf "You are here %08x\n", unpack "L!", unpack "P4", pack
"L!", B::svref_2object(sub{})->OUTSIDE;
|