Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

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

by erix (Parson)
on Aug 09, 2019 at 10:02 UTC ( #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)

  • Comment on Re: Uninitialized value and a dot between $schema and $table

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (7)
As of 2019-12-09 07:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?