[prev in list] [next in list] [prev in thread] [next in thread] 

List:       opensuse-buildservice
Subject:    Re: [opensuse-buildservice] workers fail with "Not an ARRAY reference
From:       Jan Engelhardt <jengelh () medozas ! de>
Date:       2010-06-28 10:06:43
Message-ID: alpine.LSU.2.01.1006281205530.26429 () obet ! zrqbmnf ! qr
[Download RAW message or body]

On Monday 2010-06-28 11:33, Michael Schroeder wrote:

>On Mon, Jun 28, 2010 at 11:28:16AM +0200, Carsten Hoeger wrote:
>> This is the content file from one of the "broken" workers.
>> I found out which workers - sometimes - issue that error in adding that code
>> to bs_worker:
>> 
>> sub manage_cache {
>> 
>> [...]
>> 
>>   $content ||= [];
>>   if( ref(@$content) ne "ARRAY" ) {
>
>I don't even know what 'ref' does if you give it an array as
>argument...

Outputs the empty string.
-- 
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org
For additional commands, e-mail: opensuse-buildservice+help@opensuse.org

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic