[Sderby] PERL

sderby@mailman.lug.org.uk sderby at mailman.lug.org.uk
Fri Dec 27 13:57:00 2002


All,

Does anyone know anything about PERL?  I'm trying to capture the listing
of a directory and then assign each file name to a variable for testing.
 I've got as far as 

$line=3D`ls`

Now I want to set up a loop to assign the first file to a variable, test
it, then the second, then third, etc.

Sorry if this isn't too clear, I can't find a clear way to explain it!

Mike.