On Wed, Aug 4, 2010 at 12:26, Charles Curley
<[email protected]> wrote:
> Can't use string ("1") as an ARRAY ref while "strict refs" in use
> at /usr/share/perl5/PostScript/TextBlock.pm line 57.

Do you happen to know if you are calling numElements somewhere in your
code without using an object?  E.g., something like
PostScript::TextBlock::numElements( 1 )

You're probably going to have to do some debugging to find the problem.

I just checked and current versions of perl (5.10.1 on my system)
return a -1 for the construct at that line, which is

  return $...@$self};

A nasty bit of code.
-- 
Alan

/*
PLUG: http://plug.org, #utah on irc.freenode.net
Unsubscribe: http://plug.org/mailman/options/plug
Don't fear the penguin.
*/

Reply via email to