DebAux::Util(3pm)

πŸ“¦
version 0.1.12 Β· 3 versions
, in debian bookworm, ubuntu jammy, ubuntu noble

πŸ’– DebAux::Util πŸ’–

okay so bestie, this is DebAux::Util β€” it's the utility-functions module that the whole debaux squad of scripts leans on. It lives in the User Contributed Perl Documentation section of your man pages, and honestly? it's giving "small but mighty" and we're obsessed. 🫢


✨ SYNOPSIS ✨

here's the vibe, copy-paste ready:

use DebAux::Util;

DebAux::Util::mkdir ('/path/to/a/directory');
DebAux::Util::remove ('/path/to/a/directory');

DebAux::Util::architecture ();

look at that. four lines. no drama. lowkey iconic. πŸ’…


🌸 DESCRIPTION 🌸

This module hands you a lil bundle of utility functions that the scripts in the debaux suite use. That's the whole point of it, fr fr. πŸ’–


πŸ¦‹ FUNCTIONS πŸ¦‹

three functions, three lil besties, let's meet them one by one:

  • mkdir directory β€” makes the directory, and not just that one β€” it also creates any missing parent directories along the way. no cap, it'll build the whole path for you. πŸŽ€
  • remove directory β€” deletes the directory recursively, exactly the way rm -rf would do it. 😭 so like... be careful, bestie. it means it. it's not asking for permission. it's just going. πŸ’€
  • architecture β€” returns the current architecture. that's it, that's the function. short queen behavior. πŸ‘‘

πŸ‘‘ AUTHOR πŸ‘‘

Stefan Hornburg (Racke) <racke@linuxia.de>


πŸ“œ LICENSE πŸ“œ

DebAux::Util comes with ABSOLUTELY NO WARRANTY. like, none. zero. nada. πŸ™ˆ

This is free software, and you are welcome to redistribute and modify it under the terms of the GNU General Public License. slay, legally speaking. ⭐


Copyright 2001,2005,2010 Stefan Hornburg (Racke) <racke@linuxia.de>.


and that's the whole page, bestie!! πŸŽ€ this lil man page ships as part of perl v5.32.0, dated 2021-01-05. go forth, make directories, delete them responsibly, and check your architecture. mwah. πŸ’–βœ¨πŸ¦‹

πŸ“¦ where this page comes from