I've been a bit busy the last couple of days, so I apologize for the late response. I just read perlop, and, if I may, I'd like to bounce my understanding of what is happening off of those more knowledgable.
When I pass anything beside a file handle or a simple scalar to the <> operator, it passes the stuff inside the operator to the glob function. I'd imagine globbing 6000+ elements is a bit slow.
What I don't understand is why japhy's example works. I would expect that it would try to glob (john jacob jingleheimer schmidt), not see anything like that in the directory, and evaluate to nothing. Oh well.< | [reply] [d/l] [select] |
% echo foo
foo
%
and
% echo foo*
echo: No match.
%
when there are no files begining with "foo" in the current directory.
| [reply] [d/l] [select] |