in reply to Re: Re: Re: How to list all the installed perl modules
in thread How to list all the installed perl modules

while(<@INC>)
Is very suspect code.... You probably want something like:
my @copy = @INC; while(defined($_ = shift(@copy))) { # push to @copy as necessary }
See Why is @array so slow? for more details.

-Blake