in reply to Uninitialized value and a dot between $schema and $table
This is what you've seen if you had actually used strict instead of just pretending to.
holli
You can lead your users to water, but alas, you cannot drown them.
Global symbol "$dsn" requires explicit package name (did you forget to + declare "my $dsn"?) at pm13.pl line 9. Global symbol "$database" requires explicit package name (did you forg +et to declare "my $database"?) at pm13.pl line 9. Global symbol "$dbh" requires explicit package name (did you forget to + declare "my $dbh"?) at pm13.pl line 10. Global symbol "$dsn" requires explicit package name (did you forget to + declare "my $dsn"?) at pm13.pl line 10. Global symbol "$dbh" requires explicit package name (did you forget to + declare "my $dbh"?) at pm13.pl line 12. Global symbol "$schema" requires explicit package name (did you forget + to declare "my $schema"?) at pm13.pl line 12. Global symbol "$table" requires explicit package name (did you forget +to declare "my $table"?) at pm13.pl line 12. Execution of pm732.pl aborted due to compilation errors.
holli
You can lead your users to water, but alas, you cannot drown them.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Uninitialized value and a dot between $schema and $table
by tukusejssirs (Beadle) on Aug 08, 2019 at 21:40 UTC | |
by shmem (Chancellor) on Aug 08, 2019 at 22:14 UTC |
In Section
Seekers of Perl Wisdom