in reply to Re: macOS Fcntl.pm missing F_NOCACHE
in thread macOS Fcntl.pm missing F_NOCACHE

G'day hv,

If you were going to do it like this, you'd want a prototype of (), not ($).

In perlsub, see "Prototypes" and "Constant Functions".

— Ken

Replies are listed 'Best First'.
Re^3: macOS Fcntl.pm missing F_NOCACHE
by hv (Prior) on Oct 10, 2022 at 13:07 UTC

    Oops, thanks, corrected.