in reply to Re^2: Loop is not working
in thread Loop is not working

How did "C" get pre-pended in the output:
C/usr/local/fsl/bin/feat
? The assignment was :
my $program = '/usr/local/fsl/bin/feat';
which should have worked.

If you need the drive letter, use "C:".

                Memory fault   --   brain fried