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]
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
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
--- 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
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
> 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
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)