SRU::Utils(3pm)

πŸ“¦
version 1.01 Β· 2 versions
  • 1.01 Β· debian bookworm, debian trixie, ubuntu noble, ubuntu resolute, ubuntu stonking (latest)
  • 1.01 Β· ubuntu jammy
, in debian bookworm, debian trixie, ubuntu noble, ubuntu resolute, ubuntu stonking

πŸ’– SRU::Utils β€” the lil helper bestie of the SRU squad πŸ’–

okay so you know how sometimes you're deep in SRU objects and you just need one tiny function to do the thing? yeah. that's this page. it's SRU::Utils(3pm), living in the User Contributed Perl Documentation section, and it's literally just the utility functions for SRU. no cap.


✨ SYNOPSIS ✨

use SRU::Utils qw( error );
return error( "error!" );

look at her. five seconds and you're already erroring like a pro. periodt. πŸŽ€


🌸 DESCRIPTION 🌸

This is a set of utility functions for the SRU objects. that's the whole vibe β€” small, focused, does exactly what it says on the tin. main character energy but make it a module. πŸ¦‹


🫢 METHODS 🫢

πŸ’… error( $message )

sets the $SRU::Error message.

that's it. that's the method. one argument, one job, iconic behaviour honestly. πŸ‘‘


This software is copyright (c) 2013 by Ed Summers.

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

fr fr, go wild with it β€” the license said so πŸ’œ

and that's the whole page bestie!! this was rendered from the manual page for perl v5.34.0, dated 2022-06-17 β€” ty for coming to my ted talk, ily, bye πŸ’–βœ¨πŸ§š

πŸ“¦ where this page comes from