On Thu, May 06, 2004 at 12:54:21PM -0700, Lino Iozzo wrote:
> Hello,
>  
> Is there a way to look into a folder and pull all of the contents in that folder and 
> display them on the command line.
>  
> I am trying to create a script that will look into a folder that the user selects 
> and then display what is in the folder so the user can then select the desired file 
> and then read that filename in and open it and then invoke more functions on the 
> opened file.

Can you give us a for instance? This is kind of vague. Can perl get a directory 
listing. Yes eaisly. perldoc -f readdir or lookinto globbing.

Can you then use what it returns later in a script to perform some action on the 
files. Yes also.

also looking to file::find.

With some more specific info we may be able to help out to a greater degree.


Paul D. Kraus
~=~=~=~=~=~=~=~=~=~=~=~=~
~ Network Administrator ~
~ PEL Supply Company    ~
~ 216.267.5775 Voice    ~
~ 216.267.6176 Fax      ~
~=~=~=~=~=~=~=~=~=~=~=~=~
~   www.pelsupply.com   ~
~=~=~=~=~=~=~=~=~=~=~=~=~

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to