On Wed, Mar 26, 2008 at 10:33 AM, nag <[EMAIL PROTECTED]> wrote: > Hi all, > > I have a parent directory which contains nearly 10 soft-links to other > directories, the linked directory may also contain soft-links to other > directories.it goes on like that till the directory doesn't contain any > soft-links. How can I get the list of all these directories ? Thanks in > advance snip
Use File::Find* and the -l operator**. * http://perldoc.perl.org/File/Find.html ** http://perldoc.perl.org/perlfunc.html#-X -- Chas. Owens wonkden.net The most important skill a programmer can have is the ability to read. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/