in reply to Can't locate config.cgi
Alternatively to a permissions issue your perl may not have . (the cwd) in @INC, thus it won't look for config.cgi in the current dir. In which case you want:
use lib '.'; require 'config.cgi'; [download]
cheers
tachyon