On Mon, 14 Jul 2008 21:42:23 +0100
Paul LeoNerd Evans <[EMAIL PROTECTED]> wrote:

> OK; I've changed it to use a normal lexical $object, then subtract 1 from
> the refcount, rather than rely on @_ not incrementing the count. Perhaps
> that'll be more portable.

Actually it occurs to me this may not help, because the reference will
still be in @_ as well.

If it still fails, perhaps try

  my $object = shift;
  my $count  = shift;
  my $name   = shift;

that way it'll remove the ref. from @_ as it goes.

-- 
Paul "LeoNerd" Evans

[EMAIL PROTECTED]
ICQ# 4135350       |  Registered Linux# 179460
http://www.leonerd.org.uk/

Attachment: signature.asc
Description: PGP signature

Reply via email to