[248]This may be important for
security reasons. As we'll see in a moment (and in further
detail in Chapter 14, "Process Management"), there are a number of
magical characters that may be used in filenames. If
$name holds a user-chosen filename, simply opening
$name will allow any of these magical characters
to come into play. This could be a convenience tn the user, or it
could be a security hole. But opening "<$name"
is much safer, since it explicitly says to open the given name for
input. Still, this doesn't prevent all possible mischief. For
more information on different ways of opening files, especially when
security may be a concern, see the perlopentut
manpage.