blue_cowdawg has asked for the wisdom of the Perl Monks concerning the following question:
Disclaimer: This is my first attempt at playing around with jZed's module DBD::AnyData so my understanding of "the way it works" may well be flawed.
That said, I was inspired to start playing around with DBD::AnyData after a short exchange between myself and jZed. So, I wrote a seriece of quick little ditties to get myself familiar with it and with this code:
ran into an issue. Running that code it seems to go off into "the weeds" and never return. A zero length file "animals.xml" results. I expected the file, but I expected content.#!/usr/bin/perl -w ###################### use DBI; use strict; my $dbh = DBI->connect('dbi:AnyData(RaiseError=>1):') or die $DBI::errstr; $dbh->func('CSV',[<DATA>], 'XML','animals.xml', 'ad_convert'); __END__ animal_id,animal 1,bear 2,lion 3,tiger
Is my undertanding flawed? Is there an undocumented feature? Has Elvis invaded my laptop?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Interesting issue with DBD::AnyData?
by jZed (Prior) on Nov 17, 2005 at 17:48 UTC | |
by blue_cowdawg (Monsignor) on Nov 17, 2005 at 19:16 UTC | |
|
Re: Interesting issue with DBD::AnyData?
by idsfa (Vicar) on Nov 17, 2005 at 20:42 UTC | |
by jZed (Prior) on Nov 17, 2005 at 20:52 UTC | |
by idsfa (Vicar) on Nov 17, 2005 at 20:56 UTC | |
by jZed (Prior) on Nov 17, 2005 at 21:00 UTC | |
by idsfa (Vicar) on Nov 18, 2005 at 20:13 UTC |