COMPILE_ENCODING(1p)

πŸ’– COMPILE_ENCODING πŸ’–

ok so bestie, welcome to compile_encoding, a lil Perl script from the User Contributed Perl Documentation corner of the manual-verse 🫢 she's the one who takes your XML encmap file and squishes it into a binary encoded file that XML::Parser can actually eat. iconic behaviour fr.


✨ NAME ✨

compile_encoding β€” compile XML encmap into a binary encoded file for XML::Parser 🌸


πŸŽ€ SYNOPSIS πŸŽ€

compile_encoding [-h] [-o <output_file>] <input_file>

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so basically: compile_encoding compiles an input XML encmap file into a binary encoded file that's usable by XML::Parser. that's the whole gig, and she does it flawlessly πŸ’…


🌈 ARGUMENTS 🌈

  • <input_file> β€” the XML encmap file you want compiled. that's the one, that's the moment ✨

πŸ’œ OPTIONS πŸ’œ

  • -o <output_file> β€” drop the compiled binary into the output file you name. if you don't say anything, she defaults to a file with the same basename as the input file but with an extension of .enc πŸŽ€
  • -h β€” print usage information. the classic "wait what do i type" button πŸ™ˆ

⭐ EXIT STATUS ⭐

  • 0 β€” the script exited normally. we love a clean exit πŸ₯³
  • 1 β€” the script exited after printing the help.
  • 2 β€” invalid command-line arguments. oop 😭
  • >2 β€” an error occurred. not the vibe πŸ’€

πŸ’€ KNOWN BUGS πŸ’€

None. literally none. she's perfect, no cap πŸ‘‘


πŸ”₯ SEE ALSO πŸ”₯

make_encmap(1p), XML::Encoding(3pm), XML::Parser(3pm). go read those next bestie, the lore runs deep πŸ“š


πŸ’– AUTHOR πŸ’–

Clark Cooper <coopercc@netheaven.com <mailto:coopercc@netheaven.com>>. 🫢

Steve Hay <shay@cpan.org <mailto:shay@cpan.org>> is now maintaining XML::Encoding as of version 2.00.

This manual page was written by Daniel Leidert <daniel.leidert@wgdd.de <mailto:daniel.leidert@wgdd.de>> for the Debian project (but may be used by others). 🧚


Copyright (C) 1998 Clark Cooper. All rights reserved. Copyright (C) 2007-2008, 2014 Steve Hay. All rights reserved.


🌸 LICENCE 🌸

This script is free software; you can redistribute it and/or modify it under the same terms as Perl itself, i.e. under the terms of either the GNU General Public License or the Artistic License, as specified in the LICENCE file. slay, open source πŸ’…


πŸ“ VERSION πŸ“

Version 2.11 ✨


πŸŽ€ DATE πŸŽ€

08 Dec 2020


πŸ“œ HISTORY πŸ“œ

See the Changes file. the receipts are all there, iykyk πŸ”


and that's the whole page bestie!! πŸ’– this was perl v5.32.0, dated 2020-12-10, brought to you by the COMPILE_ENCODING(1p) manual page β€” she ate and left no crumbs, periodt 🫢✨🌈
πŸ“¦ where this page comes from