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.

15 lines
223 B

  1. #!/usr/bin/perl
  2. BEGIN { if (-e $ENV{SITE}.'/lib') { use lib $ENV{SITE}.'/lib'; } }
  3. use YAML::Syck qw(Dump);
  4. use DAG qw(DAGRead);
  5. my $blk = &DAGRead('blocks','123');
  6. printf "--- # blk %s...\n",Dump($blk);
  7. exit $?;
  8. 1;