Grygonos has asked for the wisdom of the Perl Monks concerning the following question:
310426 is a reply I posted in regard to testing whether a file opened correctly. The following post says that the ternary, map and grep operators are bad to use in a void context. Can someone expound on "void context" doesn't open return a value on success or failure or am I missing something entirely? Can someone point me to some information about this or explain why this is bad
Thanks a ton guys,
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Ternary in void context
by The Mad Hatter (Priest) on Nov 29, 2003 at 14:54 UTC | |
by davido (Cardinal) on Nov 29, 2003 at 16:53 UTC | |
|
Re: Ternary in void context
by Zaxo (Archbishop) on Nov 29, 2003 at 22:14 UTC | |
by Anonymous Monk on Nov 29, 2003 at 23:48 UTC |