"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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to