[Monetdb-developers] [Monetdb-checkins] clients/src/perl Mapi.pm, , 1.5, 1.6

Sjoerd Mullender sjoerd at acm.org
Fri Sep 12 13:18:32 CEST 2008


Fabian Groffen wrote:
> On 12-09-2008 11:27:45 +0200, Sjoerd Mullender wrote:
>>> Can't use string ("Xexport 1 100 100") as a HASH ref while "strict refs"
>>> in use at Mapi.pm line 352, <> line 2.
>>> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>> I just noticed this log message.  Could the cause be that in Mapi.pm
>> there is one place where the function putblock is called *without*
>> $self-> in front of it, and that is exactly the only occurrence of the
>> string "Xexport" in the complete source?  My guess is that unpacking the
>> arguments in the putblock function causes the error message.
>>
>> Can you test this?
> 
> I don't have a clue what you're talking about.  I think it may have to
> do with me using Perl 5.10.0, which appears to be more strict for many
> apps than 5.8.*.
> 
> I found this when doing a select * from types using the perl mclient.
> Aparently there are more types than the default block size.


sed -i '/Xexport/s/putblock/$self->putblock/' src/perl/Mapi.pm


-- 
Sjoerd Mullender

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 369 bytes
Desc: OpenPGP digital signature
URL: <http://www.monetdb.org/pipermail/developers-list/attachments/20080912/5de20443/attachment.sig>


More information about the developers-list mailing list