New Perl versions (2015) do not include CGI as core package. Probably CGI should be added to Build.pl.
And just in case someone is collecting installs issues, in order to have installed Bio::Graphics in a Mac OSX 10.10 .5 with homebrew and perlbrew I needed to install several things beforehand due to not well managed dependencies in other modules that are dependencies of Bio::Graphics
-- summary of programs and modules needed to have installed before cpanm Bio::Graphics
-- homebrew installs
-- gd
-- berkeley-db
-- cpanm
-- SVG # needed for GD::SVG
-- LWP::UserAgent # needed for Bio::Root::Version
-- BerkeleyDB
-- CGI # not longer in perl core modules