FFI::P...ersion2(3pm)

πŸ’… NAME πŸ’…

Okay so bestie, gather round β€” this is FFI::Platypus::TypeParser::Version2, aka the FFI Type Parser Version Two. That's the whole name, no cap. It's a page from the User Contributed Perl Documentation manual, and it's literally all about the thing that reads your type strings so FFI::Platypus knows what you're on about. πŸ¦‹


✨ VERSION ✨

version 2.11 β€” yes, the version is right there in the title too, the way it's giving main character energy. πŸŽ€


🌸 SYNOPSIS 🌸

Here's the vibe check, fr fr:

use FFI::Platypus 2.00;
my $ffi = FFI::Platypus->new( api => 2 );
$ffi->type('string(10)');

See that 'string(10)'? That's a type string getting parsed, and this module is the one doing the parsing. Slay. πŸ’…


πŸ‘‘ DESCRIPTION πŸ‘‘

So this page documents the third type parser for FFI::Platypus β€” which is the version 2 one, keep up bestie 😭. It shipped with FFI::Platypus starting at version 1.58 as an experimental little baby feature, and then at 2.00 it got promoted to a stable interface. Glow-up of the century, honestly. ✨

And starting with version 1.00, the main FFI::Platypus documentation describes the version 2 API β€” so that's the one you should be reading for the overall picture. If you want the details on the version 1 API instead, go check out FFI::Platypus::TypeParser::Version1. Two different eras, two different parsers, both iconic in their own way. 🫢


πŸ¦‹ SEE ALSO πŸ¦‹

  • FFI::Platypus β€” the core FFI::Platypus documentation. Start here, it's the main character. πŸ‘‘
  • FFI::Platypus::TypeParser::Version0 β€” the API 0.02 type parser. Vintage. Retro. Respect it. πŸŽ€
  • FFI::Platypus::TypeParser::Version1 β€” the API 1.00 type parser. The middle child, lowkey. πŸ’œ

πŸ’– AUTHOR πŸ’–

Author: Graham Ollis <plicease@cpan.org> β€” the icon, the legend. 🌟

Contributors (and there are so many, we love a collaborative moment fr fr):

  • Bakkiaraj Murugesan (bakkiaraj)
  • Dylan Cali (calid)
  • pipcet
  • Zaki Mughal (zmughal)
  • Fitz Elliott (felliott)
  • Vickenty Fesunov (vyf)
  • Gregor Herrmann (gregoa)
  • Shlomi Fish (shlomif)
  • Damyan Ivanov
  • Ilya Pavlov (Ilya33)
  • Petr PΓ­saΕ™ (ppisar)
  • Mohammad S Anwar (MANWAR)
  • HΓ₯kon HΓ¦gland (hakonhagland, HAKONH)
  • Meredith (merrilymeredith, MHOWARD)
  • Diab Jerius (DJERIUS)
  • Eric Brine (IKEGAMI)
  • szTheory
  • JosΓ© JoaquΓ­n Atria (JJATRIA)
  • Pete Houston (openstrike, HOUSTON)
  • Lukas Mai (MAUKE)

Every single one of them ate, no crumbs. πŸ’€πŸ”₯


This software is copyright (c) 2015-2022 by Graham Ollis.

It's free software, bestie β€” you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. That's the whole license. Go be free. πŸ•ŠοΈ


Reminder: this was FFI::Platypus::TypeParser::Version2, section 3pm of the User Contributed Perl Documentation manual β€” documented as perl v5.42.3, dated 2026-08-20. Bookmark it, screenshot it, send it to the group chat. πŸ’Œ πŸ§šβ€β™€οΈ
πŸ“¦ where this page comes from