Re: iterating over the contents of a directory

2002-05-30 Thread Sudarsan Raghavan
with $your_src_dir prefixed to it. This will not be the absolute path if $your_src_dir is relative to your cwd. -Original Message- From: Torres, Jose [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 29, 2002 10:41 AM To: '[EMAIL PROTECTED]' Subject: RE: iterating over the contents of a directory

RE: iterating over the contents of a directory

2002-05-29 Thread Nikola Janceski
check out opendir readdir and closedir. -Original Message- From: Torres, Jose [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 29, 2002 10:23 AM To: '[EMAIL PROTECTED]' Subject: iterating over the contents of a directory Hi, How can I simply iterate over the contents of a

RE: iterating over the contents of a directory

2002-05-29 Thread Shishir K. Singh
You might also check out perldoc DirHandle !! -Original Message- From: Nikola Janceski [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 29, 2002 10:27 AM To: 'Torres, Jose'; '[EMAIL PROTECTED]' Subject: RE: iterating over the contents of a directory check out opendir readdir

RE: iterating over the contents of a directory

2002-05-29 Thread Nikola Janceski
Oh and I forgot glob() -Original Message- From: Shishir K. Singh [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 29, 2002 10:27 AM To: Nikola Janceski; Torres, Jose; [EMAIL PROTECTED] Subject: RE: iterating over the contents of a directory You might also check out perldoc

RE: iterating over the contents of a directory

2002-05-29 Thread Torres, Jose
, May 29, 2002 10:27 AM To: Torres, Jose; '[EMAIL PROTECTED]' Subject: RE: iterating over the contents of a directory check out opendir readdir and closedir. -Original Message- From: Torres, Jose [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 29, 2002 10:23 AM To: '[EMAIL PROTECTED

RE: iterating over the contents of a directory

2002-05-29 Thread Nikola Janceski
Message- From: Torres, Jose [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 29, 2002 10:35 AM To: 'Nikola Janceski' Subject: RE: iterating over the contents of a directory I have some code like this: sub CreateChecksum { my($dir) = @_; opendir(DIRHANDLE, $dir) || ERROR

RE: iterating over the contents of a directory

2002-05-29 Thread Shishir K. Singh
AM To: '[EMAIL PROTECTED]' Subject: RE: iterating over the contents of a directory Thanks for your help everyone. I had a related question. It looks like readdir just return relative filenames and not absolute ones. Is there a way/method to return absolute filenames? For example, if I'm in /home

RE: iterating over the contents of a directory

2002-05-29 Thread Felix Geerinckx
on Wed, 29 May 2002 14:41:23 GMT, [EMAIL PROTECTED] (Jose Torres) wrote: Thanks for your help everyone. I had a related question. It looks like readdir just return relative filenames and not absolute ones. Is there a way/method to return absolute filenames? For example, if I'm in /home/docs

RE: iterating over the contents of a directory

2002-05-29 Thread Janek Schleicher
Jose Torres wrote at Wed, 29 May 2002 16:41:23 +0200: Thanks for your help everyone. I had a related question. It looks like readdir just return relative filenames and not absolute ones. Is there a way/method to return absolute filenames? For example, if I'm in /home/docs that has a text

RE: iterating over the contents of a directory

2002-05-29 Thread Bob Rasey
What about $File::Find::name in File::Find? Bob Rasey On Wed, 2002-05-29 at 10:44, Shishir K. Singh wrote: don't think there is a way to get the full [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,