Hi Shlomi,

> Did you try looking at the shell's "$?" variable?
I've clearly mentioned that i am using the "$?" value to find out the
exist status through out my code.

>What do you mean by not exist?
In p3 u can see that my $file  = "/hom/user/file";
I've given the location wrongly as a part of error handiling. So p3
prints "Failed to create backup with exit status 256" and exits.

In p2 i've checked "$?" value after $t->cmd("p3 $flag") but it is
zero.

Pls help me.


-- 
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to