[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: non-determinate program execution in perl



On Wed, Aug 31, 2005 at 10:51:31PM +0200, srg krn wrote:
> I have no idea of perl at all.
> It is possible that line 40 must be:
> $server->user(%pop{user}) || die;
> instead of:
> $server->user($pop{user}) || die;
> ?

No. Hashes can only contain scalars, thus, when you are dereferencing a
hash you want a scalar, hence '$'.

-- 
Jon Dowland
http://jon.dowland.name/



Reply to: