C
Colin Campbell
Recently I had to look at a perl script which was misbehaving. When I looked
at it the code was pretty horrific, among other horrors was the following
open FH, "|$external_program|";
print FH "command";
$response = <FH>;
What surprised me was that this compiled without even a warning.
I wondered if there was ever a use for such an apparently mistaken
construction?
Any views?
(Other than someone should buy the author the llama book for Xmas)
Colin
at it the code was pretty horrific, among other horrors was the following
open FH, "|$external_program|";
print FH "command";
$response = <FH>;
What surprised me was that this compiled without even a warning.
I wondered if there was ever a use for such an apparently mistaken
construction?
Any views?
(Other than someone should buy the author the llama book for Xmas)
Colin