Dan

"Dan Muey" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> This may work :
>
> &monkey("key","value","key1","value1");
>
> sub monkey {
> %new_hash = ();
> %new_hash = $_[0];

    $_[0] is 'key', so this will assign %new_hash = ( key => undef );

You want '%new_hash = @_'

:-)

Rob




-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to