What does perl's VIM::Eval do with dictionaries?

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

What does perl's VIM::Eval do with dictionaries?

Benjamin Fritz
:help perl-Eval says that VIM::Eval in the perl interface will convert
a list "into a string by joining the items and inserting line breaks."

This seems kind of strange, but at least it's documented.

So, what is done with Dictionaries?

--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
Reply | Threaded
Open this post in threaded view
|

Re: What does perl's VIM::Eval do with dictionaries?

Nikolay Aleksandrovich Pavlov
Ответ на сообщение «What does perl's VIM::Eval do with dictionaries?»,
присланное в 21:25:42 23 сентября 2010, Четверг,
отправитель Ben Fritz:

It throws an error ``E731: using Dictionary as a String'' and returns a tuple
with 1 and an empty string. According to the documentation, this is a bug: 1
should be returned only when Eval succeed to evaluate the expression.

Текст сообщения:
> :help perl-Eval says that VIM::Eval in the perl interface will convert
>
> a list "into a string by joining the items and inserting line breaks."
>
> This seems kind of strange, but at least it's documented.
>
> So, what is done with Dictionaries?

signature.asc (205 bytes) Download Attachment