[wellylug] Perl code trouble
Rob Stockley
mowgli at clear.net.nz
Wed Oct 1 16:59:46 NZST 2003
On Wed, 2003-10-01 at 15:21, Edouard Chalaron wrote:
> Hi All
>
> I am using a simple perl code along with some gimp plugins.
> The beginning of the code has 2 lines :
>
> package GimpFilter::Main;
> use Gimp qw (:auto);
>
> calling the perl script returns :
>
> /usr/local/bin/yuvgimp.pl: package: command not found
> /usr/local/bin/yuvgimp.pl: line 15: syntax error near unexpected token `qw(:'
> /usr/local/bin/yuvgimp.pl: line 15: `use Gimp qw(:auto);'
>
> Anybody with an idea about this error, or how I can correct the line ?
> Thanks hundreds
>
> Edouard
Don't you still need the first line to be
#!/usr/bin/perl
or something similar?
--
Rob Stockley <mowgli at clear.net.nz>
More information about the wellylug
mailing list