MAB2::...Handle(3pm)

πŸ“¦
version 0.24 Β· 3 versions
, in debian bookworm, debian trixie, ubuntu noble, ubuntu questing

πŸ’– NAME πŸ’–

MAB2::Writer::Handle β€” bestie, it's a utility class that handles the common arguments and methods shared by all the MAB2::Writer girlies πŸŽ€ (this one shows up in the manual as MAB2::...Handle(3pm), iykyk).


🌸 Arguments 🌸

Okay so these are the args you can pass in, no cap:

  • file β€” path to the file πŸ“. Like, where the thing lives.
  • fh β€” an open filehandle 🫢. Already opened, already ready, main character energy.
  • encoding β€” sets the encoding ✨. Tell it how to read/write your bytes, babe.

πŸ¦‹ METHODS πŸ¦‹

πŸ’… _set_fh()

Opens a filehandle (with the encoding you specified) from the file πŸ’–. It's giving "make me an fh out of this path."

πŸ’… close_fh()

Closes the filehandle πŸ‘‘. Say bye, periodt.

πŸ’… write()

Writes a record to the filehandle πŸ”₯. That's the whole vibe.


🌈 AUTHOR 🌈

Johann Rolschewski <jorol@cpan.org> β€” iconic, we stan πŸ’œ


This software is copyright (c) 2013 by Johann Rolschewski.

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


and that's the whole page, bestie 🧚 no notes, it ate πŸ’…

signing off from perl v5.36.0, dated 2022-12-04 β€” catch you on the next manpage πŸ’–βœ¨

πŸ“¦ where this page comes from