This code is in a Test::Declare block.test 'update mock_basic data' => run { ok +Mock::Basic->update ('mock_basic',{name => 'python'},{id => 1}); my $row = Mock::Basic->single ('mock_basic',{id => 1}); isa_ok $row, 'DBIx::Skinny::Row'; is $row->name, 'python'; };
In reply to freaky deaky plus sign usage by metaperl
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |