On Sat, 03 Dec 2011 23:22:12 -0800, Jim Gibson wrote:
> At 7:05 AM +0000 12/4/11, Huub van Niekerk wrote:
>>Hi,
>>
>>I'm trying to import an eps file but I get errors. Can somebody tell how
>>I can solve either of these 2 errors. BTW, I'm not using them at the
>>same time.
>>
>>$ps->importepsfile("/mnt/Kaapstadadmin/HVW/logo-2-gemeentekleuren.eps",
>>0,0, 151,90);
>>
>>Error with above line: Can't call method "importepsfile" on an undefined
>>value at
>
>
> The variable $ps is undefined. Can you show us any preceding statements
> that assigned a value to $ps. If $ps is supposed to be an object, then
> it is likely that there was some error in creating the object instance.
Thank you for your response. The variable is defined as:
my $ps = new PostScript::Simple(papersize => "A4",
colour => 0,
eps => 0,
units => "mm");
So I don't think that's the problem.
--
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
http://learn.perl.org/