Sign inSign up

codesignal/perl

By codesignal

•Updated 6 days ago

Perl environment.

Image
0

10K+

codesignal/perl repository overview

⁠Perl Development Environment

This environment is tailored for Perl development and includes essential Perl modules for JSON processing, database connectivity, and web interactions.

⁠Runtime Information

  • Runtime Name: perl
  • Runtime Version: 5.34

⁠Installed Software

⁠Perl Runtime

Perl interpreter from Ubuntu repositories.

  • Perl (v5.34)
⁠Perl Modules

Essential CPAN modules for common development tasks.

  • JSON (libjson-perl)
  • DBI (libdbi-perl)
  • DBD::mysql (libdbd-mysql-perl)
  • LWP (libwww-perl)
  • Perl::Tidy (perltidy)
⁠Debugger

Perl::LanguageServer's debug adapter and the modules it needs, from Ubuntu packages and CPAN.

  • Perl::LanguageServer 2.6.2 (CPAN)
  • Hash::SafeKeys 0.04 (CPAN)
  • AnyEvent::AIO 1.1 (CPAN)
  • Moose
  • Coro
  • AnyEvent
  • IO::AIO
  • PadWalker
  • Data::Dump
  • Class::Refresh
  • Compiler::Lexer
  • Encode::Locale
⁠Theia IDE Extensions

VSIX extensions for Perl language support in Theia IDE (syntax highlighting grammar, language server and debugger).

  • vscode.perl==1.95.3
  • bscan.perlnavigator==0.8.21
  • codesignal.perl-debug (bundled)

Debugging: F5 runs the Debug Perl launch entry. It finds the first perl or prove command in main.sh, or in a script main.sh runs, and debugs that file in that working directory with its arguments and the environment variables main.sh exports or sets on that command. It also puts its -I directories, prove -l and PERL5LIB directories on PERL5LIB. For prove it debugs the first test file only. Input redirection is not applied, and the program reads end of file from standard input. Without such a command it debugs the open .pl file, or main.pl or solution.pl. A breakpoint in a file loaded with do applies only once the file has loaded.

The setup script patches Perl::LanguageServer 2.6.2 so that the program's standard input is closed, files loaded by a relative path (require './solution.pl') get breakpoints and absolute paths in the call stack, and Run Without Debugging doesn't stop at breakpoints.

Tag summary

Content type

Image

Digest

sha256:f78950fe6…

Size

602.2 MB

Last updated

6 days ago

docker pull codesignal/perl:dev