Going the all-inclusive route and putting all the code in one file is not in and of itself a security risk. The trouble with Matt's scripts is that they're just badly designed and badly written. Take a look at
NMS for fixed versions of them. Those scripts only use modules that are part of the standard distribution, and are designed to work with perl 5.004 and upwards.