@list = `ls *.jpg`;
print @list;


Evan McNabb wrote:
> 
> I've been working on a little script for a while but I can't seem to get
> this part working. What I want to do is list all of the *.jpg files in a
> directory (ls *.jpg) and then have an array with each filename as elements
> of that array. Its probably easy but I just can't get it right  yet... :-)
> Thanks for the help.
> 
> -Evan
> 
> ------------------------------------
>   Evan McNabb     [EMAIL PROTECTED]
>     http://www.mcnabbs.org/evan
> ------------------------------------

-- 
--------------------------------------------------------
 Jean-Matthieu Guerin
                Brime Ingenierie
                [EMAIL PROTECTED]
--------------------------------------------------------

Reply via email to