On Tue, 15 Jan 2002, David Ferrance wrote:
> The reason it is failing is the split:
>
> # look for the included file...
> my @path = split('/', $options->{filepath});
>
> Durint the test, $options->{filepath} contains
> "templates\include_path\a.tmpl", note that backslash
> delimiter.
Ah, yes. One solution to this problem is to use forward slashes - they
work under Windows too.
> my @path = File::Spec->splitdir($options->{filepath});
This is a better solution. I guess I missed a spot when I File::Spec'd
the module a few versions back...
Thanks!
-sam
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]