in reply to Re^2: perl - bash script problem
in thread perl - bash script problem

You are not checking for any errors. If you had checked for errors, you would not need to ask this question, perl would have already given you the answer. The problem will almost certainly be the ./ before $diffFile and the error will be "file does not exist" as you write the file to the path $diffFile not ./$diffFile.

$! Check your return values regularly and avoid frustration $!

Replies are listed 'Best First'.
Re^4: perl - bash script problem
by megaurav2002 (Monk) on Nov 29, 2007 at 06:20 UTC
    Thanks for this n your advice. Works fine!