Hi,
Where do I download PostScript.
Is PostScript another programming language.
Thanks

 
From: Jim Gibson <jimsgib...@gmail.com>
To: eventual <eventualde...@yahoo.com>; "beginners@perl.org" 
<beginners@perl.org>
Sent: Sunday, June 19, 2011 1:25 AM
Subject: Re: how to use Graphics-Simple-0.04 > Graphics::Simple

At 6:49 AM -0700 6/18/11, eventual wrote:
>Hi,
>After successfully installing
>Tuomas J. Lukka > Graphics-Simple-0.04 > Graphics::Simple
>I do not know how to use the module. I tried the simple script below 
>but it wont work and produce error msgs. Can someone teach me how to 
>use the module to produce simple graph.
>Thanks
>
>##### script below ######
>
>#!/usr/bin/perl
>use Graphics::Simple;
>line 100,100,200,200;


Graphics::Simple requires a graphics "backend" to render the graphics 
commands you give it. Your options are GnomeCanvas, TkCanvas, 
PostScript, and Fig. You can define the GSIMPL environment variable 
to select one. I was able to define GSIMPL as 'PostScript', and the 
sample program included in the documentation generated a postscript 
file in the /tmp directory.

See 'perldoc Graphics::Simple' for details or look here:

<http://search.cpan.org/~lukka/Graphics-Simple-0.04/Simple.pm>

Reply via email to