On Thu Feb 03 05:32:36 2011, CKRAS wrote:
Show quoted text> Even better, use File::Spec again:
>
> my $t = (File::Spec->splitpath($path))[2];
>
> Looking through the history of the file, why did you fall back to a
> regular expression?
vti did that. I think to support template/some/other/dir/file.tt ? I just changed the regexp
for now so I can make a quick release. Using splitpath/splitdir does seem more appropriate
but I'm not sure the tests are covering this properly.
Show quoted text> About the INCLUDE and WRAPPER tests. If I remove the path-part of it and
> rename includes/include.inc to include2.inc for example, the tests pass
> without any problems.
>
> So now I'm wondering if either Mojo::Command->get_all_data (or get_data)
> is at fault or perhaps it's MojoX::Renderer::TT?
Can you make an issue for this on github?