in reply to Can I use C or ASM from core?

If I write "use Inline C;" it doesn't work

Yes, the usage of Inline::C is a little different, and use Inline C; or use Inline::C; are fatal errors.

For some examples of usage see the cookbook or perldoc Inline::C-Cookbook.

Cheers,
Rob