RE: Directory/file browser as TreeView



Very good script. :)

Thanks!

Here is a minor improvement for the the 'cd' sub.  It stops some
'unhandled exception in callback' errors.

Thanks for the patch.

It would be nice if the sub-directories didn't appear in the 'files'
treeview, as they are in the 'directory' treeview.

I was trying to keep it short and simple, but you can replace:

 @{$slist->{data}} = <*>;

with

 my @data;
 foreach (<*>) {

# Ignoring directories
  push @data, $_ if (! -d $_);
 }
 @{$slist->{data}} = @data;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]