how to make cpan use passive ftp for LWP

on my mac, where i want to use sudo:

$ sudo su - root
# env FTP_PASSIVE=1 cpan foo
^D

or, as myself:

* $ env FTP_PASSIVE=1 cpan foo *