Hi
I would like to know how you can get the size of a perl file, in bytes, after compilation. The idea being I want to see the difference in size between loadin a whole module and explicitly mentioning some of the subroutines.
Thanks
Hi
I would like to know how you can get the size of a perl file, in bytes, after compilation. The idea being I want to see the difference in size between loadin a whole module and explicitly mentioning some of the subroutines.
Thanks
??
Any file system will show you the size of any file both its actual size and space occupied on disk (due to non filled blocks this is always more).
If you want to be more specific use whatever option is available when compiling to produce a map file. This will show you individual module sizes.
You'll want to use the B::Bytecode module.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks