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

Re^3: config options for Inline::Java

by jethro (Monsignor)
on Nov 25, 2011 at 13:31 UTC ( #940071=note: print w/replies, xml ) Need Help??


in reply to Re^2: config options for Inline::Java
in thread config options for Inline::Java

Your test seems to indicate that there is a difference between 'path-to-java' and the contents of the environment variable. So why don't you print the contents of the variable and check for yourself:

BEGIN { print "#",$ENV{'J2SDK'},"#\n" } use Inline ( ... ); use Data::Dumper; $Data::Dumper::Useqq=1; print "For comparision:\n",Dumper('path-to-java', $ENV{'J2SDK'});

These tests will make sure that the environment variable doesn't change from the moment 'use' is executed (at an early phase of perl execution) to the start of the script and it also makes sure that you can see any hidden characters in the environment variable (Dumper + Useqq).

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://940071]
help
Chatterbox?
[marto]: no real change there then? :P
marto ducks

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (8)
As of 2016-12-05 08:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (75 votes). Check out past polls.