Perlbrew - Running init after install, automatically (wget option)

Following the discussion on Daniel's Page you can also install perlbrew using wget similar to using curl.

wget -O- --no-check-certificate http://xrl.us/perlbrewinstall | \
sh | \
tee perlbrew_install.log | \
grep "bin/perlbrew init" | \
sh > perlbrew_init.log

If you don't have admin rights on your development box to install curl but do have wget available, this is an alternative to the instructions in the perlbrew pod.

2 Comments

you can use the -O (capital oh, not zero) option to change where wget sends the file. so if you add -O- to your wget invocation, it'll send the code to stdout, and you can use the same pipeline as with curl.

Leave a comment

About John Chambers-Malewig

user-pic Perl Hacker