Skip to main content
New
Stack Overflow Jobs powered by Indeed: A job site that puts thousands of tech jobs at your fingertips (U.S. only). Search jobs

Questions tagged [filetype-perl]

Questions about the perl file type.

Filter by
Sorted by
Tagged with
1 vote
2 answers
122 views

How to remove incorrect red background for the correct code?

In modern Perl the concept of function signature was introduced. I looks like this: # old style: sub my_sub { my $param = shift; # ... } # new style: sub my_sub ($param) { # ... } When I ...
user4035's user avatar
  • 179
0 votes
0 answers
27 views

Making helpfiles from perls POD

Is there a possibility to make vim helpfiles from pers POD? I know there is pod2text, pod2html, ... Is there somting like pod2vim too? EDIT: Example =pod =head1 Headline 1 abc =head1 Headline 2 ...
Andy A.'s user avatar
  • 233
0 votes
1 answer
29 views

How to match HTML elements inside a here-doc in perl?

I have a PHP file hello.php that contains the following code: <?php $heredoc = <<<HTML <html> <body> <table> <tr> <td>I AM THE TABLE.</...
MrSnrub's user avatar
  • 431
2 votes
0 answers
111 views

Why does folding not work for all Perl files?

I have 2 perl files opened in vim. A test file test.pl and another perl file Cbonusstat_TEC_bearb.pl. I made a session to save the environment. If I open vim with the session, the two files are loaded....
Andy A.'s user avatar
  • 233
1 vote
0 answers
57 views

Is it possible folding blocks, comments and pod in perl

I have to edit some perl scripts. There I can fold blocks surrounded by "{}" with :set foldmarker={,} :set foldmethod=marker See Perl folding with perl_fold_blocks Comments starts with #. ...
Andy A.'s user avatar
  • 233
0 votes
1 answer
97 views

Put many Perl-Filters into ~/.vim

I am pretty advanced in Vim. But one thing I am missing: how to put many Perl-Filters into Vim and run one of them over a selection. I was in former Times user of BBEdit, where I have set up many Perl-...
Marek Stepanek's user avatar
0 votes
3 answers
112 views

VIM Macro to delete all Perl POD?

POD is a markup format that is used by Perl. It's sometimes found embedded within the code. You can find more information on it from the official docs on perlpod, and perlpodspec. I'm wondering if ...
Evan Carroll's user avatar
  • 1,384
0 votes
1 answer
68 views

Define a fold that can not be searched, and that isn't affected by other fold commands?

POD is a markup file that is used by Perl. It's a pretty unreasonable documentation format that has nothing to do with perl (accept for being the only known use-case), and it's sometimes found ...
Evan Carroll's user avatar
  • 1,384