in reply to How do you pass bit flag arguments?

The flags are constants, not strings. The | operator is used to combine them, you don't need it if there's only one flag.
extensions => HOEDOWN_EXT_FENCED_CODE,
or
extensions => HOEDOWN_EXT_FENCED_CODE | HOEDOWN_EXT_UNDERLINE,
($q=q:Sq=~/;[c](.)(.)/;chr(-||-|5+lengthSq)`"S|oS2"`map{chr |+ord }map{substrSq`S_+|`|}3E|-|`7**2-3:)=~y+S|`+$1,++print+eval$q,q,a,

Replies are listed 'Best First'.
Re^2: How do you pass bit flag arguments?
by nysus (Parson) on Nov 05, 2018 at 21:23 UTC

    Ah, yup. Worked. I should have guessed and tried it as a constant as it's all uppercase. Was scratching my head, though, over how the constant got loaded. I guess by XSLoader.

    $PM = "Perl Monk's";
    $MCF = "Most Clueless Friar Abbot Bishop Pontiff Deacon Curate Priest Vicar";
    $nysus = $PM . ' ' . $MCF;
    Click here if you love Perl Monks