Has anyone ever written some code that would install a perl package dependency if the corrosponding 'use' statement failed?
For example, if I've written code that relies on a perl module that is not part of the standard distribution and this code is to be distributed to many machines, how can I check that the required module is missing and auto install it - and do it without user intervention?