Re: no luck pie charts and perl

2001-10-25 Thread tom poe
To everyone: Thanks! I think I want to use "use strict;" a lot more, now. This is a Good Thing. Tom -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: no luck pie charts and perl

2001-10-25 Thread Mel Matsuoka
At 04:10 PM 10/25/2001 -0700, tom poe wrote: >Hi, Zentara: I fiddled [far more than one would expect], and used the >recently posted write to file format above, and it works with the top line, >"#! /usr/bin/perl -w". But, if I add "use strict;" at the top of the script, >I can't compile: >tom

Re: no luck pie charts and perl

2001-10-25 Thread Rex Arul
If you declare the pragma, "use strictl" then you should declare all variables as my: my($im, $red, $blue); - Original Message - From: "tom poe" <[EMAIL PROTECTED]> To: "zentara" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Thursday, O

Re: no luck pie charts and perl

2001-10-25 Thread Curtis Poe
--- tom poe <[EMAIL PROTECTED]> wrote: > Hi, Zentara: I fiddled [far more than one would expect], and used the > recently posted write to file format above, and it works with the top line, > "#! /usr/bin/perl -w". But, if I add "use strict;" at the top of the script, > I can't compile: > tomp

Re: no luck pie charts and perl

2001-10-25 Thread tom poe
On Thursday 25 October 2001 12:04, zentara wrote: > > tried this example, didn't work. In place of the picture I got nothing, > >but something was using the space. > >see the code do I miss anything? > >thank you > > > >Pierre > > use GD; > > > > # create a new image > >$im = new GD::Image

no luck pie charts and perl

2001-10-25 Thread zentara
> tried this example, didn't work. In place of the picture I got nothing, >but something was using the space. >see the code do I miss anything? >thank you > >Pierre > use GD; > > # create a new image >$im = new GD::Image(100,100); ># allocate some colors >$red = $im->colorAllocate

no luck pie charts and perl

2001-10-25 Thread P lerenard
I tried this example, didn't work. In place of the picture I got nothing, but something was using the space. see the code do I miss anything? thank you Pierre use GD; # create a new image $im = new GD::Image(100,100); # allocate some colors $red = $im->colorAllocate(255,0,0)