On 2012-03-30 11:14, punit jain wrote:
my $file = "/tmp/test"; die "\n Killed as filed doesnot exist \n" if(-e $file);
It looks like you have to reverse your test. -e $file or die "[$$] exit early because '$file' doesn't exist\n"; But why even start a child, if its data file doesn't exist? -- Ruud -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/