Problem solving with Vim


Article from Issue 86/2008

The Vim editor supports Perl plugins that let users manipulate the text they have just edited. Complex functions can be developed far faster than with Vim’s integrated scripting language.

If somebody applies for an entry-level job in Yahoo’s Perl division and has the pleasure of visiting me for a job interview, I might just ask the candidate the following question: “How do you add line numbers to a Perl listing, such as the ones typically used by computer magazines?”

Buy this article as PDF

Express-Checkout as PDF
Price $2.95
(incl. VAT)

Buy Linux Magazine

Get it on Google Play

US / Canada

Get it on Google Play

UK / Australia

Related content

  • Perl: Perl Debugger

    The Perl interpreter, perl, doesn’t often crash, but if it happens, not even the excellent Perl debugger will be able to help you.

  • Perl: Character Sets

    When foreign characters occur in program code or data, Perl programmers need a solution that avoids the tribulations of Babel.

  • Perl: Shell Functions

    Perl gives you better shell scripts. Sysadm::Install, a new module from CPAN, helps shell addicts let go of Bash.

  • Perl: Yahoo API Scripting

    Following in the footsteps of Google, Amazon, and eBay, Yahoo recently introduced a web service API to its search engine. In this month’s column, we look at three Perl scripts that can help you correct typos, view other people’s vacation pictures, and track those long lost pals from school.

  • Perl: Rain Checker

    A Perl script that retrieves the current weather forecast at dawn helps the Perlmeister decide whether to run the risk or take an umbrella just in case.

comments powered by Disqus

Direct Download

Read full article as PDF:

076-078_perl_NEU.pdf  (427.17 kB)