$dbh->func( $table, $format, $datasource, 'ad_catalog'); my $catalog = $dbh->func('ad_get_catalog'); use Data::Dumper; print Dumper $catalog;