You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 lines
354 B

  1. #!/usr/bin/perl
  2. BEGIN { if (-e $ENV{SITE}.'/lib') { use lib $ENV{SITE}.'/lib'; } }
  3. use seed;
  4. use toychain qw(unlinkedBlock);
  5. use YAML::Syck qw(Dump);
  6. my $seed = &seed::setseed('beautiful toy chain');
  7. my $bkcontent = { key1 => 'value1', key2 => 'value2' };
  8. my $blk = &unlinkedBlock($bkcontent);
  9. printf "--- # blk %s...\n",Dump($blk);
  10. exit $?;
  11. 1;