P5-www-mechanize-pluggable

Jul 20, 2023

Custmomize WWW::Mechanize via plugins

This module provides all of the same functionality of WWWMechanize, but adds support for plugins using ModulePluggable; this means that any module named WWWMechanizePluginwhatever… will be found and loaded when WWWMechanizePluggable is loaded.

Big deal, you say. Well, it becomes a big deal in conjunction with WWWMechanizePluggable’s other feature plugin hooks. When plugins are loaded, their import methods can call WWWMechanizePluggable’s prehook and posthook methods. These methods add callbacks to the plugin code in WWWMechanizePluggable’s methods. These callbacks can act before a method or after it, and have to option of short-circuiting the call to the WWWMechanizePluggable method altogether.

These methods receive whatever parameters the WWWMechanizePluggable methods received, plus a reference to the actvive Mech object.

All other extensions to WWWMechanizePluggable are handled by the plugins.



Checkout these related ports:
  • Zope213 - Object-based web application platform Version 2.13
  • Zola - Fast static site generator
  • Zgrab2 - Fast Go application scanner
  • Zerowait-httpd - Lightweight and fast http server
  • Zenphoto - Simpler web photo gallery
  • Zend-framework - Framework for developing PHP web applications
  • Yuicompressor - The Yahoo! JavaScript and CSS Compressor
  • Ytdl - YouTube downloader written in Go
  • Yt-dlp - Command-line program for downloading videos from various platforms
  • Youtube_dl - Program for downloading videos from various services
  • Yourls - Your Own URL Shortener
  • You-get - Dumb downloader that scrapes the web
  • Yaws - Web server for dynamic content written in Erlang
  • Yarr - Yet another rss reader
  • Yarn - Package manager for node, alternative to npm (meta port)