On 14 Jul 2014, at 14:11, Shlomi Fish <shlo...@shlomifish.org> wrote:

>> perldoc -f open

> This is irrelevant. Two-args open is dangerous - always use three-args open:
> 
> * http://perl-begin.org/tutorials/bad-elements/#open-function-style

Who wrote that?  Ah...a certain Shlomi Fish.

open my $fh, "< $path"; # with or without the space _does_ contain three 
arguments to all intents and purposes.

Now tell us exactly how this is “dangerous”.  Give examples.

JD


--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to