Skip Menu |

This queue is for tickets about the UNIVERSAL-require CPAN distribution.

Report information
The Basics
Id: 21141
Status: resolved
Priority: 0/
Queue: UNIVERSAL-require

People
Owner: Nobody in particular
Requestors: mschwern [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Wishlist
Broken in: (no value)
Fixed in: (no value)



Subject: Check %INC before requiring.
To avoid the string eval which can be expensive and leak memory, check %INC before trying to require to see if the module is already loaded.
Done. Sped things up by about 4x.