Skip to content
Fetching contributors…
Cannot retrieve contributors at this time
executable file 28 lines (21 sloc) 605 Bytes
#!/usr/bin/env bash
cd /tmp
echo
echo "## Download the latest perlbrew"
curl -O https://github.com/gugod/App-perlbrew/raw/master/perlbrew >/dev/null 2>&1
echo "## Download the packed patchperl"
curl -O https://raw.github.com/gist/3207061/471f7fbcaca115e64a3e45fe9dde17762fd89603/patchperl >/dev/null 2>&1
echo
echo "## Installing perlbrew"
chmod +x perlbrew
./perlbrew install
echo "## Installing patchperl"
if [ "X${PERLBREW_ROOT}" == "X" ]; then
PERLBREW_ROOT="${HOME}/perl5/perlbrew"
fi
chmod +x patchperl
cp patchperl "${PERLBREW_ROOT}/bin"
echo
echo "## Done."
rm ./perlbrew
rm ./patchperl
Jump to Line
Something went wrong with that request. Please try again.