Changes

Jump to navigation Jump to search
309 bytes added ,  06:29, 22 January 2015
Line 111: Line 111:     
Gets all the records out of the given $db as a list of esmith::DB::Record objects.
 
Gets all the records out of the given $db as a list of esmith::DB::Record objects.
 +
 +
here an example
 +
 +
{
 +
      # Purge quoting chars in comments to fix bug 8723 & bug 8806
 +
      foreach my $host ($DB->get_all)
 +
      {
 +
          my $comment = $host->prop('Comment');
 +
          next unless $comment;
 +
          $comment =~ s/['"]//g;
 +
          $host->merge_props(Comment => $comment);
 +
      }
 +
}
    
==== Concrete methods ====
 
==== Concrete methods ====

Navigation menu