Almost-minimal filesystem based blog.
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.

17 lines
339 B

12 years ago
  1. #!/usr/bin/env perl
  2. use strict;
  3. use warnings;
  4. use lib 'lib';
  5. use Test::Simple tests => 1; # last test to print
  6. use App::WRT;
  7. chdir 'example/blog';
  8. my $w = App::WRT::new_from_file('wrt.json');
  9. # 'configuration';
  10. my $perlcode = $w->eval_perl("IS <perl>return 'TRUE';</perl>");
  11. ok ($perlcode eq 'IS TRUE', 'eval_perl in line_parse');
  12. 1;