timpoiko has asked for the wisdom of the Perl Monks concerning the following question:
However, only outcome from this is:#!/usr/bin/perl use strict; use GD::Simple; GD::Simple->class('GD::SVG'); my $img = GD::Simple->new(500,500); $img->bgcolor('white'); $img->fgcolor('blue'); my $g1 = $img->newGroup('circle in square'); $g1->rectangle(100,100,400,400); $g1->moveTo(250,250); my $g2 = $g1->newGroup('circle and boundary'); $g2->fgcolor('black'); $g2->bgcolor('red'); $g2->ellipse(200,200); print $img->svg;
Googling does not help at all and I can't found this "newGroup.al" from the CPAN nor Debian's package repositories. So what I can to do to get this example code working?$ perl test.pl Can't locate auto/GD/newGroup.al in @INC (@INC contains: /etc/perl /us +r/local/lib/x86_64-linux-gnu/perl/5.20.0 /usr/local/share/perl/5.20.0 + /usr/lib/x86_64-linux-gnu/perl5/5.20 /usr/share/perl5 /usr/lib/x86_6 +4-linux-gnu/perl/5.20 /usr/share/perl/5.20 /usr/local/lib/site_perl . +) at /usr/lib/x86_64-linux-gnu/perl5/5.20/GD/Simple.pm line 1007.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: newGroup.al is missing
by toolic (Bishop) on Sep 15, 2014 at 13:35 UTC |