To install the Slic3r dependencies as non-root (many people prefer not to touch their system directories), first download and unpack local::lib and execute the following commands within the newly unpacked local-lib directory:

perl Makefile.PL --bootstrap
make test && make install
echo 'eval $(perl -I$HOME/perl5/lib/perl5 -Mlocal::lib)' >> ~/.bashrc
cd
source ~/.bashrc
Your environment is now set up for installing perl modules under ~/perl5/ (the above instructions assume you are using /bin/bash as your shell, please see the local::lib documentation for csh/zsh instructions). Next, execute the following commands to install the Slic3r dependencies:

git clone git://github.com/alexrj/Slic3r
cd Slic3r
cpan App::cpanminus
perl Build.PL
perl Build.PL --gui