| 1 | package DBIx::SystemCatalog::XBase; | ||
| 2 | |||
| 3 | use strict; | ||
| 4 | use DBI; | ||
| 5 | use DBIx::SystemCatalog; | ||
| 6 | use vars qw/$VERSION @ISA/; | ||
| 7 | |||
| 8 | $VERSION = '0.01'; | ||
| 9 | @ISA = qw/DBIx::SystemCatalog/; | ||
| 10 | |||
| 11 | 1; | ||
| 12 | |||
| 13 | |||
| 14 | sub fs_ls { | ||
| 15 | my $obj = shift; | ||
| 16 | my $cwd = shift; | ||
| 17 | |||
| 18 | if ($cwd eq '/') { # all tables | ||
| 19 | return map { '/'.$_; } sort $obj->tables; | ||
| 20 | } else { # unknown | ||
| 21 | return (); | ||
| 22 | } | ||
| 23 | } | ||
| 24 | |||
| 25 | 1; | ||
| 26 |