in reply to Re^3: PDF output to temp file
in thread PDF output to temp file
The reason why I think system makes more sense than backticks in this example, is, that the usage of backticks implies that the output is used somehow. Think about readability: If we see in a code a backticked expression, where the value is not used, we think that maybe the code is not what the write had expected. If you use system instead, you communicate to the reader more clearly what's going on.
Or, to approach it from a different perspective: Under what conditions would you choose, to use system($cmd) instead of `$cmd`?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: PDF output to temp file
by kcott (Archbishop) on Mar 22, 2012 at 22:17 UTC |