Type error
#!/usr/bin/perl use Inline 'C'; say "7 + 'one' = ", add(7, 'one'); __END__ __C__ int add(int x, int y) { return x + y; }
- Output:
Argument "one" isn't numeric in subroutine entry ...
#!/usr/bin/perl use Inline 'C'; say "7 + 'one' = ", add(7, 'one'); __END__ __C__ int add(int x, int y) { return x + y; }
Argument "one" isn't numeric in subroutine entry ...