in reply to Creating table DBI

Yes. You have a function with a prototype, however, that prototype is found *after* the call to the function. Since checking a prototype is a compile time action, you ask Perl to check something without first saying what it should check against.

Predeclare your function, put a

sub create_table ($);
at the top of your program.

Abigail