in reply to Re^2: Using XML::Saxon::XSLT2 Errors
in thread Using XML::Saxon::XSLT2 Errors

They're absolute paths. So on Windows, you'd probably want something starting with "C:\..."

package Cow { use Moo; has name => (is => 'lazy', default => sub { 'Mooington' }) } say Cow->new->name

Replies are listed 'Best First'.
Re^4: Using XML::Saxon::XSLT2 Errors
by Uggles (Novice) on Jun 28, 2013 at 01:49 UTC
    Is there anyway to make it so that the path isn't absolute? Or rather, a way to tell it that the file is in the same directory as the module?

      Honestly? I don't know enough about Java to answer that.

      If you have a relative path though, it's pretty trivial to make it absolute (File::Spec, etc).

      package Cow { use Moo; has name => (is => 'lazy', default => sub { 'Mooington' }) } say Cow->new->name