in reply to External programs
have you tried open(FILE, "/full/path/to/program|"); ?
or in any of the cases have you tried acctually putting the full path to the program in question? More information would be really usefull, IE: why the system and exec stuff "doesnt work"