I would say there is a :: missing on line 7.
No. The OP is exactly correct. That is how Inline C is used. Though it is normal followd by some other arguments; Eg. This is my standard usage:
#! perl -slw use strict; use Inline C => Config => BUILD_NOISY => 1; use Inline C => <<'END_C', NAME => 'rdtsc', CLEAN_AFTER_BUILD => 0; SV *rdtsc() { return newSVuv( (UV)__rdtsc() ); } ... END_C use Data::Dump qw[ pp ]; use GD; ...
In reply to Re^2: Using Inline::C in a package
by BrowserUk
in thread Using Inline::C in a package
by rem45acp
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |