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

Where are those paths? In my Java directory or in my Strawberry Perl one? Also, if I want it to just reference a path inside the module folder then how would I go about doing that?

Replies are listed 'Best First'.
Re^3: Using XML::Saxon::XSLT2 Errors
by tobyink (Canon) on Jun 27, 2013 at 22:08 UTC

    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
      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