in reply to one line to check for common list values

First of all, thank you all very much for your replies and for the warm welcome, I have a feeling that I will be returning here a lot in the foreseeable future :).

Your explanations are a huge help, I have been reading the perldoc a lot the past couple of days, but seeing code in a context I have been working in just clears up so much more for me! I will study all of your answers thoroughly until I understand every last bit of code in them!

I'm sorry about the line numbering, I am using a version of VIM that has no clipboard support so I have to copy my whole command line screen, including the line numbers (still need to look for some plugin/other version of VIM, in the meantime I guess I'll just open my code in another editor to paste it here :).

  • Comment on Re: Re: one line to check for common list values

Replies are listed 'Best First'.
Re^3: one line to check for common list values
by 1nickt (Canon) on Feb 25, 2017 at 23:22 UTC

    Turn on/off line numbering in vim:

    :set nu :set nonu


    The way forward always starts with a minimal test.