in reply to open()'s 3 argument form
It keeps you from having to worry if your filename begins or ends with one of the special redirection markers. For example:
$filename = "afunnynameendingwitha|"; open F, $filename; # Bad, will try to fork a proc. open F, '<', $filename; # Good, opens the funny file.
Other note: Check out perlopentut.
Ted Young
($$<<$$=>$$<=>$$<=$$>>$$) always returns 1. :-)
|
|---|