DOKK / manpages / debian 12 / libreply-perl / Reply::Plugin::LoadClass.3pm.en
Reply::Plugin::LoadClass(3pm) User Contributed Perl Documentation Reply::Plugin::LoadClass(3pm)

Reply::Plugin::LoadClass - attempts to load classes implicitly if possible

version 0.42

  ; .replyrc
  [LoadClass]

If executing a line of code fails due to a method not being defined on a package, this plugin will load the corresponding module and then try executing the line again. This simplifies common cases like running "DateTime->now" at the prompt before loading DateTime - this plugin will cause DateTime to be loaded implicitly.

Jesse Luehrs <doy@tozt.net>

This software is Copyright (c) 2016 by Jesse Luehrs.

This is free software, licensed under:

  The MIT (X11) License
2022-06-17 perl v5.34.0