in reply to
How to turn a "developer code" into a "user code"
Personally, I prefer not to have "developer" configuration (also passwords) in the program. I either put those into a configuration file or take them from %ENV.
For distributing code to non-programmer friends, I usually package up the complete program together with the Perl executable etc. into one ZIP archive and mail it to them or bring it to them. If I am really, really sure they don't need additional modules, I just mail them the new main .pl file to replace the old .pl file.