happy-barney

sample for skim

Mar 4th, 2021
303
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.31 KB | None | 0 0
  1. sub xxx {
  2. CATCH (X::SQL) { ... };
  3. CATCH (CORE::Block::Destroy) { ... };
  4. CATCH (CORE::Block::Leave) { ... };
  5. CATCH (CORE::Signal::HUP) { ... };
  6.  
  7. has $foo;
  8. has $bar;
  9.  
  10. my $baz = $foo->build ($bar);
  11.  
  12. return sub { $baz->next };
  13. }
  14.  
  15. proclaim xxx::foo => Some::Builder->new;
  16.  
  17. xxx bar => '123';
  18.  
Add Comment
Please, Sign In to add comment