Advertisement
JustThisGuy

gdbm.p6

Feb 1st, 2016
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Perl 6 0.18 KB | None | 0 0
  1. #!/usr/bin/env perl6
  2.  
  3. use v6;
  4. use lib '.';
  5.  
  6. use DBM::GDBM;
  7.  
  8. my $gdbm = DBM::GDBM.new('foo.gdbm', 0, 0o666);
  9.  
  10. my $value = $gdbm.fetch('foo');
  11. $value.say;
  12. $value.perl.say;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement