Can't run self-upgrade
I've installed perlbrew on my VPS running CentOS 6.9 and I'm running into some problems. The /home/user/.perlbrew directory was not created but a file named 'perlbrew.BMp51k' was. I deleted that file and maually created the .perlbrew directory. After running the alias command, the init file was automatically created in the directory.
Now, when I run a command, I get errors. Here's an example:
$ perlbrew self-upgrade Can't exec "/tmp/perlbrew": Permission denied at /home/user/perl5/perlbrew/bin/perlbrew line 2306. Use of uninitialized value in scalar chomp at /home/user/perl5/perlbrew/bin/perlbrew line 2307. Use of uninitialized value in pattern match (m//) at /home/user/perl5/perlbrew/bin/perlbrew line 2308. Unable to detect version of new perlbrew!
I don't know what "tmp" folder it's talking about. /home/user/tmp has the proper permissions.
I've re-installed everything and I'm still having the same problems. Any idea why this is happening, or where I should look to fix it?
Thanks, Frank
@surfshopcart the folder "/tmp" is the default place for perlbrew install to store some downloads.
If your account have no access permission to "/tmp" and/or you'd like to use /home/user/tmp, run export TMPDIR=/home/user/tmp before running self-upgrade.