Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re^2: Using XML::Saxon::XSLT2 Errors

by Uggles (Novice)
on Jun 27, 2013 at 21:55 UTC ( #1041108=note: print w/replies, xml ) Need Help??


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 (Abbot) 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

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1041108]
help
Chatterbox?
[Eily]: I actually used the eskimo greeting :P, I just wrote the "canonical" form of the oneliner here
[Discipulus]: next time you can add `SARGV-1` and if still not impressed pass a 'rm -f..' as last arg
[Eily]: :)
[Eily]: or I might be tempted to send him an Acme::EyeDropsed file next time
[Eily]: Acme::Bleach is tempting, but it will look like I'm just using the one module that does precisely exactly what he wants

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (8)
As of 2017-04-26 15:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I'm a fool:











    Results (483 votes). Check out past polls.