> Wow. I never noticed it. In my app I have runmode that shows me %ENV and 
> @INC. At the first request my custom path was in there. And at the 
> second request it wasn't. But after a few more requests it's still 
> there. Weird behaviour?

All that means is that you're hitting a new child for the first time.

> 
> Anyway, thanks. I'll try it later on. I'll post again if it doesn't help.
> 
> Just a quick note: unshift removes the first record from the array. But 
> what if my path isn't in @INC at a second request. That would remove a 
> normal path that's always around wouldn't it? Guess I'll just have to 
> try and see :-). Thanks.

You're thinking of shift :)

unshift is the opposite - it adds the new path onto the front of @INC.

Clint
> 

Reply via email to