/handy-perl-snippets

Add this extension to get access to a bunch of handy perl code snippets

Creative Commons Attribution Share Alike 4.0 InternationalCC-BY-SA-4.0

handy-perl-snippets

Add this extension to get access to a bunch of handy perl code snippets

Supported Snippets

  • usw - Adds strict and warning directives
  • udd - Adds dumper
  • uss - Adds say
  • sub - Adds a subroutine
  • subp - Adds a subroutine with params
  • pd - Adds a new print Dumper statement
  • for - Adds a new for block
  • while - Add new while block
  • if - Add new if block
  • ifel - Add new if/else block
  • unless - Add new unless block
  • unel - Add new unless/else block
  • try - Add new try/catch block
  • begin - Adds begin block
  • pkg - Adds boilerplate for a package

Release Notes

1.0.0

Initial release which includes 5 snippets.

1.1.0

Made some design changes. To know more about the changes visit the changelog.

1.2.0

Added 7 more snippets namely Add new for block, Add new while block, Add new if block, Add new if/else block, Add new unless block, Add new unless/else block, Add new try/catch block

1.3.0

  • Added 3 more snippets namely Add a BEGIN block, Add say and Add a new package.