Thursday, September 16, 2010

Re: Error When Opening an Perl Script

Ben Fritz wrote:
>
> On Sep 14, 1:53 am, Dennis Cao<deafguy...@gmail.com> wrote:
>
>> ###############################################################
>> OS Env: Windows XP Pro, SP3 (English Version)
>>
>> Problem Details:
>> Errors occur when a perl script is opened. The attachment contains the
>> error message on the screen.
>>
>> If Enter is pressed, the perl script can be opened. But it can NOTbe
>> saved with the usual command ':w'. Command ':w!' has to been used to
>> save the file. It seems VIM opens this file in read-only mode.
>>
> What on earth are you doing, to get "Thanks" instead of "thanks"?
>
> That's not really relevant, though. Things that are relevant that
> could help solve your problem:
> 1. What version of Vim are you using? We probably don't need the
> entire :version output but at least the version string itself and
> where you obtained the binary executable are quite often useful bits
> of information.
> 2. What plugins do you have installed? This error message looks like
> it comes from a custom Perl filetype plugin.
> 3. What version of these plugins do you have installed?
> 4. In what way did you invoke Vim and load the file?
> 5. Do you have a .vimrc? Are you running in 'nocompatible' or
> 'compatible' mode?
>
(moderately snipped for brevity)

Another suggestion:

6. Try getting a trace of what's happening with
vim array.pl
:set verbose=15
:redir > array.trace
:q

Also consider trying BF's 1-5 .

Regards,
Chip Campbell

--
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

No comments:

Post a Comment