Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: Cannot find input arguments to program called with "system"

by philipbailey (Curate)
on Jul 06, 2011 at 07:07 UTC ( [id://912919] : note . print w/replies, xml ) Need Help??


in reply to Cannot find input arguments to program called with "system"

You should chomp $file. It otherwise contains a newline character at the end.

Replies are listed 'Best First'.
Re^2: Cannot find input arguments to program called with "system"
by pktrain (Acolyte) on Jul 06, 2011 at 07:13 UTC
    Thank you! Using chomp() was the solution...