Path::...::Shell(3pm)

πŸ“¦
version 0.15 Β· 4 versions
, in debian bookworm, ubuntu noble

πŸ¦‹ Path::Router::Shell β€” the manual, but make it cute

okay bestie, gather round πŸ’– this is the Path::Router::Shell page from the User Contributed Perl Documentation, and it's literally a whole interactive shell for testing your router configs. no cap. let's get into it πŸŽ€


✨ NAME ✨

Path::Router::Shell β€” an interactive shell for testing router configurations 🧚


🌸 VERSION 🌸

version 0.15 β€” that's the one, fr fr πŸ’…


🫢 SYNOPSIS 🫢

here's the whole vibe, copy-paste ready:

#!/usr/bin/perl

use strict;
use warnings;

use My::App::Router;
use Path::Router::Shell;

Path::Router::Shell->new(router => My::App::Router->new)->shell;

like… that's it. that's the whole setup. iconic πŸ‘‘


πŸ’œ DESCRIPTION πŸ’œ

so basically this is a tool that helps you test the routing in your applications πŸ¦‹ you write a lil script β€” literally the tiny one up in the SYNOPSIS, nothing fancy β€” and then you can use it to test new routes, debug routing issues, etc etc etc ✨

it's giving "small script, big power". obsessed. πŸ”₯


🌈 METHODS 🌈

  • new (router = $router)> β€” makes you a fresh one, with the router passed in πŸ’–
  • router β€” the router. yeah. it's right there πŸŽ€
  • shell β€” runs the shell, the whole reason you're here πŸ‘‘
  • meta β€” the meta ✨

πŸ’€ BUGS πŸ’€

ngl, all complex software has bugs lurking in it, and this module is no exception 😭 if you find a bug, please either email me, or add the bug to cpan-RT. do it for the culture 🫢


🌟 AUTHOR 🌟

Stevan Little <stevan@cpan.org> πŸ’…


Copyright 2008-2011 Infinity Interactive, Inc. 🌸

<http://www.iinteractive.com>

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.


🌟 AUTHOR (again, bc he said it twice and honestly? respect) 🌟

Stevan Little <stevan@cpan.org> πŸ’–


This software is copyright (c) 2016 by Infinity Interactive. πŸŽ€

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.


heads up bestie: yes, AUTHOR and COPYRIGHT AND LICENSE really do show up twice in this page. that's not me being extra, that's just how it is. we keep every crumb πŸ“

and that's the whole page, no notes πŸ’… this was perl v5.34.0, dated 2022-06-16, and it's Path::...::Shell forever and always. mwah, go test your routes πŸ¦‹βœ¨

πŸ“¦ where this page comes from