# optionally source this from .profile

# important: path to the perl .git clone
alias perl-git='cd /usr/src/perl/blead/perl-git'

# default Configure -Dprefix
PERLALL_PREFIX=/usr/local
# default dir to build and tmp. install perls
PERLALL_BUILDROOT=/usr/src/perl
# PERLALL_PREFIX=~/perl5/perlbrew
# PERLALL_BUILDROOT=~/perl5/perlbrew/build
# where perl5* are expected (default: /usr/local/bin)
# PERLALL_BINDIR=~/perl5/perlbrew/bin

# use -thr suffix, if not use -nt for "non threaded"
#usethrsuffix=0

# currently used perl (set by perlall)
alias p=perl5.15.6d-nt

# just some suggestions
alias pb="p -Mblib"
alias m=make
alias pb="p -Mblib"
alias pmf="p Makefile.PL"
alias pm='pmf && m'
alias ppan='p -S cpan'
alias mt='make test'
alias mi="make test && sudo make install"
alias perldoc=cpandoc

# for init
cpan=cpan
#cpan=cpanm
#cpan=-MCPAN
#init-modules=YAML DBI DBD::SQLite CPAN::SQLite Devel::Platform::Info \
#   Params::Util Bundle::CPANReporter2 \
#   B::Flags Opcodes Set::Object Math::Round Params::Classify \
#   Bundle::CygwinVendor YAML::XS DBIx::Class SQL::Abstract Module::Find Mouse \
#   MouseX::Types Task::Kensho

# testvm settings taken from default perl (/usr/local/bin/perl, /usr/bin/perl)
# and remote perlall. e.g. freebsd make=gmake
# valid [user@]hostnames (manipulate your /etc/hosts)
# must match the vm machine names if you want to control the vm.
# all remote hosts, vm or physical.
#testvm_all="centos4 centos5 centos6 freebsd7 freebsd8 openbsd49 win solaris"
# when $HOME or File::HomeDir is not available. where are your modules on the vm's
#testvm_prefix=Perl
# kvm balancing:
#testvm_max=6
# So far only: virsh. TODO: xen-shell, vmrun, VBoXManage
#testvm_ctl=virsh
