Subject: | A more pleasent error message for missing optional deps? |
While the Google Code feature is mentioned in the Makefile.PL, users
tend not to see those. So when I went to sync from Google I got:
$ sd clone --from gcode:y2038
Can't locate Net/Google/Code.pm in @INC (@INC contains:
/usr/local/lib/perl5/5.10.1/darwin-thread-multi-64int-ld-2level
/usr/local/lib/perl5/5.10.1
/usr/local/lib/perl5/site_perl/5.10/darwin-thread-multi-64int-ld-2level
/usr/local/lib/perl5/site_perl .) at
/usr/local/lib/perl5/site_perl/App/SD/Replica/gcode.pm line 39.
As a Perl programmer, I can understand that I need to go install
Net::Google::Code. A non-Perl programmer likely won't. A more polite
error message along the lines of "Synching with Google Code requires the
Net::Google::Code Perl module" would be nice.