use DBI; my $dbh = DBI->connect('dbi:AnyData(RaiseError=>1):'); $dbh->func( 'catalog', #alias 'XML', #format of input 'catalog.xml', #source {col_names=>'product,catalog_item,item_number,price,size,color_swatch'}, 'ad_catalog' # ); my $sth = $dbh->prepare("SELECT * FROM catalog"); $sth->execute(); while (my $row = $sth->fetch) { print "@$row \n"; } #### QWZ5671 39.95 Red Burgundy Red Burgundy RRX9856 42.50 Red Navy Burgundy Red Navy Burgundy Black Navy Black Burgundy Black