in reply to Re^2: Extracting Columns from line
in thread Extracting Columns from line

most importantly, using the mode in the second argument of 2 argument open is right out.
Why? Does the code run faster with the 3 argument open than tha 2 argument open?

Replies are listed 'Best First'.
Re^4: Extracting Columns from line
by Don Coyote (Hermit) on Nov 10, 2013 at 20:09 UTC

    The reason is mainly security, redirection coupled with pathnames can produce nasty effects at unexpected filenames. Using the 3 argument open to separate the mode from the path can prevent regrets.

    I am currently unaware of performance stats