Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: Uninitialized value and a dot between $schema and $table

by erix (Prior)
on Aug 09, 2019 at 10:02 UTC ( [id://11104217]=note: print w/replies, xml ) Need Help??


in reply to Uninitialized value and a dot between $schema and $table

$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)

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11104217]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (4)
As of 2024-03-28 16:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found