in reply to Re: Re^2: modify @INC
in thread modify @INC

Oh yeah.. that's funny. Get this - right as soon as the implicit BEGIN (via the use) is parsed inside the currently-being-parsed BEGIN block it is executed. So you're attempting to use $a in your nested BEGIN block prior to defining it. See?

BEGIN { my $a = "c:/"; BEGIN { require "$a"; import "$a"; } }

Fun Fun Fun in the Fluffy Chair