User Tools

Site Tools


esmith:db

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
esmith:db [2015/05/22 09:30]
stephdl [get_value]
esmith:db [2019/06/05 21:48] (current)
Line 183: Line 183:
  
     my $status;     my $status;
- +  ​
     if (my $s = $db->​get("​foo"​)) { $status = $s->​prop('​status'​);​ }     if (my $s = $db->​get("​foo"​)) { $status = $s->​prop('​status'​);​ }
- +  ​
     $status ||= '​default';​     $status ||= '​default';​
  
esmith/db.txt ยท Last modified: 2019/06/05 21:48 (external edit)