found out that system() does not update the Perl version one level into spawning a child process, however open() does