Thats actually a really good idea, We do use alot json stuff here, this might be a simpler way for me to do this, because I'd like to create 2 versions where I can run one on my machine, then use another to reference the database, but still not sure if I could reference mysql database on my local machine. i'll post more data once I get that connection working.
This is what I have so far though.
my $database = "asterisk";
my $user = "root";
my $host = 192.168.8.50;
my $password = 123;
my $dbhA = DBI->connect("DBI:mysql:$database,$host","$password") o
+r die "Couldn't connect to database: ".DBI->errstr;
using DBI
What would you recommed DBI vs DBD::mysql?