On Mon, 14 Jul 2014 11:13:05 +0100 John Delacour <johndelac...@gmail.com> wrote:
> > On 14 Jul 2014, at 05:39, Shlomi Fish <shlo...@shlomifish.org> wrote: > > > don't use two-args open > > perldoc -f open > > In the one- and two-argument forms of the call, the mode and > filename should be concatenated (in that order), preferably > separated by white space. You can--but shouldn't--omit the mode > in these forms when that mode is "<". It is always safe to use > the two-argument form of "open" if the filename argument is a > known literal. > This is irrelevant. Two-args open is dangerous - always use three-args open: * http://perl-begin.org/tutorials/bad-elements/#open-function-style Regards, -- Shlomi Fish -- ----------------------------------------------------------------- Shlomi Fish http://www.shlomifish.org/ List of Networking Clients - http://shlom.in/net-clients Real men don’t listen to sentences that start with “Real men don’t”. — http://whatsup.org.il/article/6023 Please reply to list if it's a mailing list post - http://shlom.in/reply . -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/