in reply to Re: Memcached and arrays?in thread Memcached and arrays?
$tmp = $memd->get("mem_id_cache"); @tmp = @{$tmp}; [download]
Because that's what you stored.
Also, @tmp = @{$tmp}; makes a needless copy of the array. Just use $tmp instead of @tmp.