laziness, impatience, and hubris | |
PerlMonks |
Re: Uninitialized value and a dot between $schema and $tableby erix (Prior) |
on Aug 09, 2019 at 10:02 UTC ( [id://11104217]=note: print w/replies, xml ) | Need Help?? |
$schema and $table don't have values (i.e., they are undefined.) Make sure to give them valid values before calling the create_table() function when I add $schema = "public", and $table = "tempt", your code just works for me. ( By the way, you probably want text, not char(). ) (Oh, and $databas should be $database)
In Section
Seekers of Perl Wisdom
|
|