perl -we 'my $x = `cat file2`' # works fine