VSCode-Anywhere
  • Introduction
  • Installation
    • Requirements
      • Windows requirements
      • Linux requirements
      • MacOS requirements
    • Quickstart
    • Advanced
      • Windows installation
      • Linux installation
      • MacOS installation
  • Modules
    • Module installation
    • Module update
    • Module settings
      • Global settings
        • brew settings
        • chocolatey settings
        • env settings
        • msys2 settings
        • nix settings
        • scoop settings
        • vscode settings
        • zeal settings
    • Modules list
      • Ansible
      • Bash
      • C / C++
      • C#
      • Custom
      • Deepcode
      • Docker
      • Fonts
      • Git
      • Go
      • HTML
      • Java
      • JavaScript / TypeScript
      • Markdown
      • Perl
      • PHP
      • Platformio
      • PowerShell
      • Puppet
      • Python2
      • Python3
      • Remote
      • Rest
      • ReStructuredText
      • Ruby
      • Saltstack
      • VSCode
    • Custom modules
  • Structure
    • apps
    • conf
      • saltstack
        • conf-offline
        • conf
        • pillar
        • states
    • tools
      • env
      • install
      • link
      • update
      • vscode
      • vscode-anywhere
  • Tutorials
    • Youtube tutorials
  • Release notes
    • V2
      • V2.0.0
    • V1
  • FAQ
Powered by GitBook
On this page
  • About
  • Installation
  • Requirements
  • VSCode
  • VSCode extensions
  • VSCode settings
  • VSCode keybindings
  • Software
  • Windows software
  • Linux software
  • MacOS software
  • Documentation
  • VSCode-Anywhere
  • Environment
  • Specific settings

Was this helpful?

  1. Modules
  2. Modules list

Perl

PreviousMarkdownNextPHP

Last updated 4 years ago

Was this helpful?

About

is a highly capable, feature-rich programming language with over 30 years of development.

Installation

vscode-anywhere:
    perl:
        enabled: True

Requirements

No requirements.

VSCode

VSCode extensions

cfgweb.vscode-perl

d9705996.perl-toolbox

mortenhenriksen.perl-debug

VSCode settings

Windows settings

{
    "perl.ctagsPath": "C:\\VSCode-Anywhere\\apps\\scoop\\apps\\ctags\\current\\ctags.exe",
    "perl.perltidy": "C:\\VSCode-Anywhere\\apps\\scoop\\apps\\perl\\current\\perl\\bin\\perltidy.bat",
    "perl-toolbox.syntax.path": "C:\\VSCode-Anywhere\\apps\\scoop\\apps\\perl\\current\\perl\\bin",
    "perl-toolbox.lint.exec": "C:\\VSCode-Anywhere\\apps\\scoop\\apps\\perl\\current\\perl\\site\\bin\\perlcritic.bat"
}

Assuming you have installed in the default directory C:\VSCode-Anywhere.

Linux settings

{
    "perl.ctagsPath": "/home/linuxbrew/.linuxbrew/bin/ctags",
    "perl.perltidy": "/home/linuxbrew/.linuxbrew/bin/perltidy",
    "perl-toolbox.syntax.path": "/home/myuser/VSCode-Anwyhere/apps/vscode-anywhere/home/.nix-profile/bin",
    "perl-toolbox.lint.exec": "/home/myuser/VSCode-Anwyhere/apps/vscode-anywhere/home/.nix-profile/bin/perlcritic"    
}

Assuming you have installed in the directory /home/myuser/VSCode-Anywhere.

MacOS settings

{
    "perl.ctagsPath": "/home/linuxbrew/.linuxbrew/bin/ctags",
    "perl.perltidy": "/home/linuxbrew/.linuxbrew/bin/perltidy",
    "perl-toolbox.syntax.path": "/home/myuser/VSCode-Anwyhere/apps/vscode-anywhere/home/.nix-profile/bin",
    "perl-toolbox.lint.exec": "/home/myuser/VSCode-Anwyhere/apps/vscode-anywhere/home/.nix-profile/bin/perlcritic"    
}

Assuming you have installed in the directory /home/myuser/VSCode-Anywhere.

VSCode keybindings

Software

Windows software

scoop

Linux software

brew

nix

MacOS software

brew

nix

Documentation

VSCode-Anywhere

Environment

Windows environment

PATH: C:\VSCode-Anywhere\apps\scoop\apps\perl\current\c\bin;C:\VSCode-Anywhere\apps\scoop\apps\perl\current\perl\bin;C:\VSCode-Anywhere\apps\scoop\apps\perl\current\perl\site\bin

Linux environment

No environment.

MacOS environment

No environment.

Specific settings

cpan

  • pkgs: name of the packages to install

    • enabled: True to enable, False to skip (default to False)

    • version: the version of the cpan package

  • opts

opts is not mandatory but allows to pass additional arguments.

Global opts packages settings:

  • cpan:pkgs:opts:global: allow passing arguments to all cpan packages when installing, updating, or uninstalling a package

Specific opts packages settings:

  • cpan:pkgs:<mypkg>:opts:global: allow passing arguments to <mypkg> cpan package when installing, updating, or uninstalling the package

  • Windows:

vscode-anywhere:
  perl:
    cpan:
      opts:
        global:
          bin_env: C:\VSCode-Anywhere\apps\scoop\apps\perl\current\perl\bin\cpan.bat
        install: {}
        update: {}
        uninstall: {}
      pkgs:
        Perl::Tidy:
          enabled: True
          version: null
          opts:
            install: {}
            update: {}
            uninstall: {}
        Perl::Critic:
          enabled: True
          version: null
          opts:
            install: {}
            update: {}
            # uninstall: {}

Assuming you have installed in the default directory C:\VSCode-Anywhere.

  • Linux

vscode-anywhere:
  perl:
    cpan:
      opts:
        global:
          bin_env: /home/linuxbrew/.linuxbrew/bin/cpan
        install: {}
        update: {}
        uninstall: {}
  • MacOS

vscode-anywhere:
  perl:
    cpan:
      opts:
        global:
          bin_env: /home/linuxbrew/.linuxbrew/bin/cpan
        install: {}
        update: {}
        uninstall: {}

Change enable from False to True in the perl section (cf ).

You can also take a look at the .

This aims to bring code intelligence for the Perl language to Visual Studio Code, mainly through the use of Exuberant Ctags.

This provides support for linting and syntax checking for Perl.

This provides a debugger for Perl in Visual Studio Code.

No .

​

​

​

Allow to manage packages.

Extra args can be arguments described in the or can be .

pm:pkgs:opts:install: allow passing arguments to all cpan packages when installing a package (cf )

cpan:pkgs:opts:update: allow passing arguments to all cpan packages when updating a package (cf )

cpan:pkgs:opts:uninstall: allow passing arguments to all cpan packages when uninstalling a package (cf )

cpan:pkgs:<mypkg>:opts:install: allow to pass arguments to <mypkg> cpan packages when installing the package (cf )

cpan:pkgs:<mypkg>:opts:update: allow to pass arguments to <mypkg> cpan packages when updating the package (cf )

cpan:pkgs:<mypkg>:opts:uninstall: allow to pass arguments to <mypkg> cpan packages when uninstalling the package (cf )

module installation
VSCode-Anywhere perl module configuration
extension
extension
extension
keybindings
perl
ctags
make
gcc
perl
perltidy
ctags
nixpkgs.perl528Packages.Perlcritic
make
gcc
perl
perltidy
ctags
nixpkgs.perl528Packages.Perlcritic
Perl
cpan
Saltstack cpan states
global Saltstack arguments
states.cpan.installed
states.cpan.uptodate
states.cpan.removed
states.cpan.installed
states.cpan.uptodate
states.cpan.removed
Perl