Git::R...gnature(3pm)

✨ Git::Raw::Signature β€” the whole vibe πŸ’–

okay so bestie, welcome to Git::Raw::Signature, a lil class from the Git::Raw family (that's the Perl manpage name right there, yes) that's literally just... the signature of an action. like who did the thing, what's their email, when did it happen, and in which timezone. that's it. that's the whole job. and she does it flawlessly πŸ’…


🌸 VERSION 🌸

version 0.90 ✨


πŸ¦‹ DESCRIPTION πŸ¦‹

A Git::Raw::Signature represents the signature of an action. tiny object, big responsibility. whether it's a commit, a tag, whatever β€” if git needs to know who and when, this class is carrying that info. she's the main character of metadata fr fr.

⚠️ WARNING: The API of this module is unstable and may change without warning (any change will be appropriately documented in the changelog). no cap. do not get attached to the shape of things, bestie β€” she may ✨transform✨ on you. the changes will be documented in the changelog tho, so you're not getting ghosted, just kept on your toes πŸ’€

πŸ‘‘ METHODS πŸ‘‘

πŸ’– new( $name, $email, $time, $offset )

Create a new signature. you're building her from scratch, from the ground up, with your own two hands. give her a $name, an $email, a $time, and an $offset and boom β€” signature acquired 🫢

πŸ’– now( $name, $email )

Create a new signature with a timestamp of 'now'. the timestamp is literally the word 'now' β€” the most "I'll do it later but make it immediate" energy imaginable. you bring the $name and the $email, git handles the when πŸŽ€

πŸ’– default( $repo )

Create a new signature with default user and a timestamp of 'now'. This looks up the "user.name" and "user.email" from the configuration. it's giving "just read my config, I don't want to type my own name again." pass it a $repo and she'll go find out who you are. iconic behavior tbh 🌈

πŸ’– name( )

Retrieve the name associated with the signature. who is she? this tells you. ⭐

πŸ’– email( )

Retrieve the email associated with the signature. how do you reach her? this tells you. πŸ“§

πŸ’– time( )

Retrieve the time of the signature. the when. the moment. the timestamp era. πŸ•

πŸ’– offset( )

Retrieve the time offset (in minutes) of the signature. yes, in minutes, bestie β€” read the units, they matter. this is the "where in the world was she" of the whole situation 🌍


🌟 AUTHOR 🌟

Alessandro Ghedini <alexbio@cpan.org> πŸ’œ


Copyright 2012 Alessandro Ghedini.

This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.

See http://dev.perl.org/licenses/ for more information. two licenses, pick your fighter, both are valid, both are slay. βš–οΈπŸŒΈ


and that's the whole page, bestie πŸ₯³ this one lives in perl v5.42.3, dated 2026-08-19, filed under Git::R...gnature(3pm) in the User Contributed Perl Documentation section. go forth and sign things responsibly πŸ’–βœ¨πŸŽ€

πŸ“¦ where this page comes from