Welcome to Discuss Everything Forums...

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed.


 

Tags for this Thread

+ Reply to Thread
Results 1 to 3 of 3
  1. #1
    Aaron Russo's Avatar
    Junior Member

    Status
    Offline
    Join Date
    Aug 2009
    Posts
    2
    Downloads
    0
    Uploads
    0

    How do you get the size of a perl file after compilation?

    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

  2. #2
    GrahamH's Avatar
    Junior Member

    Status
    Offline
    Join Date
    May 2009
    Posts
    7
    Downloads
    0
    Uploads
    0
    ??
    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.

  3. #3
    martinthurn's Avatar
    Senior Member

    Status
    Offline
    Join Date
    May 2009
    Posts
    183
    Downloads
    0
    Uploads
    0
    You'll want to use the B::Bytecode module.

 

 

Quick Reply Quick Reply

Click here to log in


What is the sum of 36 and 12

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Perl script to edit file names only works if in file's folder?
    By Superandomness in forum Discuss PERL
    Replies: 0
    Last Post: 01-14-2012, 05:09 AM
  2. How do you get the size of a perl file after compilation?
    By Aaron Russo in forum Discuss PERL
    Replies: 0
    Last Post: 08-12-2009, 02:07 PM
  3. Replies: 0
    Last Post: 07-22-2009, 05:38 PM
  4. Replies: 1
    Last Post: 06-12-2009, 12:05 PM
  5. Replies: 1
    Last Post: 12-02-2008, 12:50 AM

Bookmarks

Posting Permissions

  • You may post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts
  •