sandy105 has asked for the wisdom of the Perl Monks concerning the following question:
i have a statement like this :
$rc=system("cp -p $file $back") and &unixerr_function("CP", "file", "Partial file may have been copied.");can somebody explain why we use "AND" here instead oF usual "OR" die/error handling function
eg. open (file) or die
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: a small doubt
by choroba (Cardinal) on Nov 11, 2014 at 09:26 UTC | |
by sandy105 (Scribe) on Nov 11, 2014 at 10:16 UTC | |
by KILNA (Acolyte) on Nov 11, 2014 at 23:23 UTC |