in reply to 'syntax error' for IPC::Run

You forgot the semicolon at the end of the use IPC::Run qw(...) line.