New to ActiveState. Just ran Perl on older computer after installing. Perl -v doesn’t show Perl installed unless I first run state activate. Why is that? Can’t I just run Perl without the extra step?
“state activate” creates a virtual environment containing your Perl project. This gives Perl developers a way to be certain they can work on code that will not interfere with any other Perl on the system or be interfered with by any other developer. To load up the virtual environment, you run “activate”. Otherwise, it’s not available, and it’s never available to other users.
“activate” is not suitable for all use cases. The State Tool offers other commands for installations that are better for other use cases. See “state deploy”.