[Chicago-talk] CPAN force install through API

Pete Krawczyk mongers at bsod.net
Thu May 5 07:56:54 PDT 2005


Subject: [Chicago-talk] CPAN force install through API
From: JT Smith <jt at plainblack.com>
Date: Thu, 05 May 2005 09:31:28 -0500

}perl -MCPAN -e 'CPAN->install("BSD::Resource");' (doesn't force)
}perl -MCPAN -e 'CPAN->force_install("BSD::Resource");' (fails, method doesn't exist)
}perl -MCPAN -e 'CPAN->force-install("BSD::Resource");' (doesn't force)
}perl -MCPAN -e 'force install BSD::Resource'  (doesn't force)

perl -MCPAN -e'force("install","BSD::Resource");'
should do the trick.

-Pete K
-- 
Pete Krawczyk
    mongers at bsod dot net



More information about the Chicago-talk mailing list