perl -Mblib -MInline=with,PDL -MInline=C,'size_t f() { return sizeof(struct pdl); }' -E 'say f()'
In reply to One-liner to show C struct sizes using Inline by etj