What is X in Perl?

thibaultduponchelle

Tib

Posted on April 14, 2021

What is X in Perl?

What is pip or gem?

cpanm or cpm

Where is my REPL?

Use perl debugger perl -de2 or one of the REPL (e.g. reply)

Is there any gemfile or requirements.txt?

cpanfile or cpmfile (NEW!)

(and more... e.g. with dzil)

What is package.json?

META.json and META.yml see doc

And gemfile.lock or package-lock.json?

cpanfile.snapshot or carton.lock

And what about Virtualenv?

Virtual envs are not as much vital in Perl, but there is plenv or perlbrew

Bundler?

carton

Other tips for Perl beginners

  • Usually no variable methods (variable.method) but methods on variables (method(variable)) e.g. split
  • ; is mandatory (with few exceptions but please forget)
  • Indentation not meaningful
💖 💪 🙅 🚩
thibaultduponchelle
Tib

Posted on April 14, 2021

Join Our Newsletter. No Spam, Only the good stuff.

Sign up to receive the latest update from our blog.

Related

What is X in Perl?
perl What is X in Perl?

April 14, 2021