- or download this
my $databases = $dbh->do("SHOW DATABASES LIKE '".$DATABASE."'")
or die "Error: " .dbh->errstr. "\n";
...
or die "Error: " . $databases->errstr. "\n";
print "This is the databases: ".$databases."\n";
- or download this
This is the databases: 1
- or download this
This is the databases: DBI::st=HASH(0xe47058)
- or download this
#!/usr/bin/perl
...
my $output = &mysql();
print "This is the output: ".$output."\n";