About: Open a Perl module from its module name   Sponge Permalink

An Entity of Type : owl:Thing, within Data Space : 134.155.108.49:8890 associated with source dataset(s)

You may want to open the source code of a system Perl module that's installed. Here's one way to do that: :e `perldoc -l Module::Name` The following function will allow you to set your cursor over a Perl module name in the file that you are currently editing and type \pm to open the corresponding source file in a new buffer: nnoremap pm :call LoadPerlModule() function! LoadPerlModule() execute 'e `perldoc -l ' . expand("") . '`' endfunction

AttributesValues
rdfs:label
  • Open a Perl module from its module name
rdfs:comment
  • You may want to open the source code of a system Perl module that's installed. Here's one way to do that: :e `perldoc -l Module::Name` The following function will allow you to set your cursor over a Perl module name in the file that you are currently editing and type \pm to open the corresponding source file in a new buffer: nnoremap pm :call LoadPerlModule() function! LoadPerlModule() execute 'e `perldoc -l ' . expand("") . '`' endfunction
Version
  • 6(xsd:integer)
dbkwik:vim/property/wikiPageUsesTemplate
Previous
  • 460(xsd:integer)
Category
  • Perl
Author
  • Mark Stosberg
Complexity
  • basic
Created
  • 2003(xsd:integer)
ID
  • 461(xsd:integer)
NEXT
  • 462(xsd:integer)
Rating
  • 21(xsd:integer)
abstract
  • You may want to open the source code of a system Perl module that's installed. Here's one way to do that: :e `perldoc -l Module::Name` The following function will allow you to set your cursor over a Perl module name in the file that you are currently editing and type \pm to open the corresponding source file in a new buffer: nnoremap pm :call LoadPerlModule() function! LoadPerlModule() execute 'e `perldoc -l ' . expand("") . '`' endfunction
Alternative Linked Data Views: ODE     Raw Data in: CXML | CSV | RDF ( N-Triples N3/Turtle JSON XML ) | OData ( Atom JSON ) | Microdata ( JSON HTML) | JSON-LD    About   
This material is Open Knowledge   W3C Semantic Web Technology [RDF Data] Valid XHTML + RDFa
OpenLink Virtuoso version 07.20.3217, on Linux (x86_64-pc-linux-gnu), Standard Edition
Data on this page belongs to its respective rights holders.
Virtuoso Faceted Browser Copyright © 2009-2012 OpenLink Software