Skip to content

Instantly share code, notes, and snippets.

@tokuhirom
Created October 5, 2011 09:22
Show Gist options
  • Save tokuhirom/1264009 to your computer and use it in GitHub Desktop.
Save tokuhirom/1264009 to your computer and use it in GitHub Desktop.
around bug in Xslate
#!/usr/bin/perl
use strict;
use warnings;
use utf8;
use 5.010000;
use Text::Xslate;
use Data::Section::Simple qw(get_data_section);
my $xslate = Text::Xslate->new(
path => [get_data_section()]
);
$xslate->render('Z');
__DATA__
@@ X
@@ Y
: cascade "X"
: around sugyan -> {
: }
@@ Z
: cascade "Y"
: around sugyan -> {
: }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment