Is there a way to know how many lines of Perl code perl has compiled up to a point, e.g.:
#!/usr/bin/perl require Foo; printf "Perl has compiled a total of %d lines of code after loading Foo\n", __MAGIC__; require Bar; printf "Perl has compiled a total of %d lines of code after loading Bar\n", __MAGIC__;
I'm sort of curious as to how "big" (or "heavy") a particular module is. Of course there's the issue of autoloading, XS, eval, etc, but maybe it's fun to know nevertheless.
In reply to Counting line of code by dgaramond2
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |