"be consistent" | |
PerlMonks |
Re: Convert an SQL insert into a Perl data structureby LanX (Saint) |
on Apr 05, 2023 at 11:24 UTC ( [id://11151480]=note: print w/replies, xml ) | Need Help?? |
Maybe a case of tl;dr but you are aware of the possibilities to (meta) query the MySQL schemas as such, without needing to parse the CREATE statements with regex? ° IIRC was DBI.pm also (additionally) offering methods for this
EditSee meta query MySQL for examples °) E.G. look out for the DB/Schema INFORMATION_SCHEMA inside MySQL, but IIRC TIMTOWTDI.
Cheers Rolf
In Section
Seekers of Perl Wisdom
|
|