|
|
| Just another Perl shrine | |
| PerlMonks |
Re^3: I think I just found a good reason to use backticks in a void context.by Aristotle (Chancellor) |
| on Jan 13, 2007 at 21:28 UTC ( [id://594593]=note: print w/replies, xml ) | Need Help?? |
This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.
Using backticks is not the only way of avoiding the shell. Pass a list to system (or to a three-arg pipe-open for convenient output suppression) and you get the same effect. So no, this isnât a reason to use backticks in void context; it is merely a reason to avoid invoking the shell when you donât need it. Even if backticks were required for that, saving a couple of microseconds here and there wouldnât constitute a good reason to do it, as per the topic. Makeshifts last the longest.
In Section
Meditations
|
|
||||||||||||||||||||||||