Slash Boxes
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
More | Login | Reply
Loading... please wait.
  • Instead of looking at the cost in low-level ops, try system call tracing or malloc tracing (strace and e.g. valgrind in Linux) and see what kind of a pig "perl -le 'print 42' is". Compare with
    #include <stdio.h>
    int main() { printf("42\n"); return 0; }
    Not to mention comparing with chucking the include and going for write(1, "42\n", 3)... For a really scary output move up to, say, "perl -MCGI -e 1".