CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

Home: Perl Programming Help: Advanced: Re: [bam_usic] PGPLOT on windowsXP fails with following Error Message: Edit Log



roolic
User

Apr 16, 2010, 10:18 PM


Views: 2283
Re: [bam_usic] PGPLOT on windowsXP fails with following Error Message

probably the perl interpreter can not handle the system variable or this variable is not defined for windows user executing the script.

check the environment variables list via perl

Code
use Data::Dumper; 
print Dumper(\%ENV);

or set the required variable directly in the script (if it's can not be retrieved from the system)

Code
$ENV{PGPLOT_FONT} ||= 'c:\XAMPP\perl\lib\grfont.dat';



(This post was edited by roolic on Apr 16, 2010, 10:21 PM)


Edit Log:
Post edited by roolic (User) on Apr 16, 2010, 10:21 PM


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives