in reply to Re: the command - system ( "source ./profile") not working
in thread the command - system ( "source ./profile") not working

The problem is that you are trying to execute "source" which is not a real program. It is a bash builtin command. Try the following: my $XYZZY=`bash -c "source SOME-FILE; DO WHATEVER"`;
  • Comment on Re^2: the command - system ( "source ./profile") not working