This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
esmith:db [2015/05/22 07:29] stephdl created |
esmith:db [2019/06/05 19:48] (current) |
||
---|---|---|---|
Line 48: | Line 48: | ||
Most of the methods herein are '' | Most of the methods herein are '' | ||
- | ====Virtual Methods==== | + | =====Virtual Methods===== |
This is the esmith::DB interface. Subclassers are expected to implement these methods. | This is the esmith::DB interface. Subclassers are expected to implement these methods. | ||
Line 114: | Line 114: | ||
here an example | here an example | ||
- | { | + | |
use esmith:: | use esmith:: | ||
$DB = esmith:: | $DB = esmith:: | ||
- | + | | |
# Purge quoting chars in comments to fix bug 8723 & bug 8806 | # Purge quoting chars in comments to fix bug 8723 & bug 8806 | ||
foreach my $host ($DB-> | foreach my $host ($DB-> | ||
Line 126: | Line 126: | ||
$host-> | $host-> | ||
} | } | ||
- | } | + | |
===== Concrete methods ===== | ===== Concrete methods ===== | ||
Line 158: | Line 158: | ||
my $value = ' | my $value = ' | ||
- | + | | |
if (my $r = $db-> | if (my $r = $db-> | ||
{ | { | ||
Line 183: | Line 183: | ||
my $status; | my $status; | ||
- | + | | |
if (my $s = $db-> | if (my $s = $db-> | ||
- | + | | |
$status ||= ' | $status ||= ' | ||