Skip to content

Instantly share code, notes, and snippets.

@jerowe
Last active August 29, 2015 14:16
Show Gist options
  • Save jerowe/70c43a1f2f86c8cc95b5 to your computer and use it in GitHub Desktop.
Save jerowe/70c43a1f2f86c8cc95b5 to your computer and use it in GitHub Desktop.
Perlbrew Library Module - Environment Modules
#%Module1.0#######################################################################
## Perlbrew perl-5.16.3@ modulefile
## Creates the correct environmental variables for the command:
## perlbrew lib create perl-5.16.3
proc ModulesHelp { } {
puts stderr "\tAdds the perlbrew perl-5.16.3"
}
module-whatis "Adds the perlbrew perl-5.16.3"
#Wherever you install your perlbrew root to
set ROOT /home/USER/perl5
prepend-path MANPATH $ROOT/perlbrew/perls/perl-5.16.3/man
setenv PERLBREW_VERSION 0.73
setenv PERLBREW_PERL perl-5.16.3
setenv PERLBREW_BASHRC_VERSION 0.73
setenv PERLBREW_ROOT $ROOT/perlbrew
prepend-path PATH $ROOT/perlbrew/bin:$ROOT/perlbrew/perls/perl-5.16.3/bin:$ROOT/bin
setenv PERLBREW_HOME /home/jillian/.perlbrew
setenv PERLBREW_MANPATH $ROOT/perlbrew/perls/perl-5.16.3/man
setenv PERLBREW_PATH $ROOT/perlbrew/bin:$ROOT/perlbrew/perls/perl-5.16.3/bin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment