Subject: | More on: Handling recursive files |
Date: | Wed, 25 Apr 2012 13:58:30 -0400 (EDT) |
To: | bug-Dancer-Plugin-DirectoryView [...] rt.cpan.org |
From: | Rick Westerman <westerman [...] purdue.edu> |
Now that I explore this more, the plugin dies whenever it encounters a soft-link to an non-existant file:
E.g.,
lrwxrwxrwx 1 core ltlweb 79 Jan 11 2010 MetaCere -> /phillip/gs_flx/data/R_2009_12_23_10_MetaCeretopteris/D_fullProcessing/MetaCere
In other words the file 'MetaCere' is linking a file system that does not exist. The plugin dies at this point.
-------------
Crashes at line 199
@stats = stat(_)
When encountering a self-referential file. E.g.
lrwxrwxrwx 1 core ltlweb 2 Feb 1 14:34 /home/core/web/projects/in -> in
Yes, I know that such recursive links should not exist! But in case they do then DirectoryView should handle them without crashing.
Thanks for writing the plugin. I am just now exploring it but it looks useful.
--
Rick Westerman
westerman@purdue.edu
Bioinformatics specialist at the Genomics Facility.
Phone: (765) 494-0505 FAX: (765) 496-7255
Department of Horticulture and Landscape Architecture
625 Agriculture Mall Drive
West Lafayette, IN 47907-2010
Physically located in room S049, WSLR building