in reply to Re: -s test option returns differently in some cases
in thread -s test option returns differently in some cases

Also, the shell does its own interpolation ( see system, sh ), and instead try
system 'ls', '-l', $myAbsPathToFile;

Replies are listed 'Best First'.
Re^3: -s test option returns differently in some cases
by frogsausage (Sexton) on Oct 14, 2013 at 10:21 UTC

    I just tried it and it works the same (as assumed) as my former system() call. The test result is "Good to go".