Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
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?
[Corion]: Oh yay. Thanks to The New Firefox, my irc client ChatZilla doesn't work anymore either... So I'll have to keep an old FF around just for that...
[Corion]: 100% of my FF add-ons are unsupported currently. Maybe upgrading Firefox wasn't such a good idea after all ;)
[Corion]: Also suffering is my 2-factor Github sign-in, as now, FF can't read my USB token anymore. "This was a horrible idea" is slowly dawning on me ;)

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (11)
As of 2017-11-20 20:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In order to be able to say "I know Perl", you must have:













    Results (293 votes). Check out past polls.

    Notices?