Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
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).


Comment on Re^3: config options for Inline::Java
Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://940071]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (13)
As of 2014-07-11 15:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    When choosing user names for websites, I prefer to use:








    Results (230 votes), past polls