Re: Potentially insecure Perl scripts
On 1/23/19 4:44 PM, Vincent Lefevre wrote:
> On 2019-01-23 15:32:00 +0000, Ian Jackson wrote:
>> This is completely mad and IMO the bug is in perl, not in all of the
>> millions of perl scripts that used <> thinking it was a sensible thing
>> to write.
> I agree that it would be better to drop this "feature" of Perl.
> It is probably never used, and probably useless (I would rather
> use the features from the shell if I need a pipe).
Perl's open is well documented. Quoting the perlipc:
"it's much more efficient to process the file one line or record at a
time because then you don't have to read the whole thing into memory at
Please stop making python out of perl :)