Re: Open() and glob EXPR "Rodrick Brown" schreef:

> my @files = glob("*.*");


The glob() also returns directory names, so maybe @names is a better
name for that variable.

With "*.*", all names are left out that start with a dot, or that
contain no dot at all.

Try:  perl -wle 'print for glob q{.* *}'

-- 
Affijn, Ruud

"Gewoon is een tijger."


-- 
To unsubscribe, e-mail: beginners-unsubscribe@perl.org
For additional commands, e-mail: beginners-help@perl.org
http://learn.perl.org/


