Download Shareware and Freeware Software for Windows, Linux, Macintosh, PDA

line Home  |  About Us  |  Link To Us  |  FAQ  |  Contact

Serving Software Downloads in 976 Categories, Downloaded 29.545.029 Times

Devel::DumpSizes 0.01

  Date Added: July 20, 2010  |  Visits: 543

Devel::DumpSizes

Report Broken Link
Printer Friendly Version


Product Homepage
Download (73 downloads)



Devel::DumpSizes is a Perl module to dump the name and size in bytes (in increasing order) of variables that are available at a give point in a script. SYNOPSIS use Devel::DumpSizes qw/dump_sizes/; &Devel::DumpSizes::dump_sizes(); Or, &Devel::DumpSizes::dump_sizes("/path/of/filename-to-dump-output"); This will print the name of each variable and its size. The name and size are seperated by a -> Variable name -> Size in bytes EXPORTS Exports one subroutine by default: dump_sizes This module allows us to print the names and sizes of variables that are available at a give point in a script. This module was written while debugging a huge long running script. The main use being to understand how variable sizes were fluctuating during script execution. It uses PadWalker and Devel::Symdump to get the variables. It uses Devel::Size to report the size of each variable. METHODS dump_sizes Usage: &Devel::DumpSizes::dump_sizes(); Or Usage: &Devel::DumpSizes::dump_sizes("/path/of/filename-to-dump-output"); This method accepts one optional parameter that will be used to create the file where the output is dumped. If parameter is given then two files will be create. One will have extension .my and will contain my variables. The second file will have extension .ol and will contain our/local variables. If no filename is given output is printed on STDOUT. As of now, the output is sectioned by printing the following at the start: 1. either of my or our/local to specify the kind of variables being reported. 2. output of time(). 3. If possible, subroutine name/line number as returned by caller (perldoc -f caller). All sizes are in Bytes as returned by Devel::Size. I plan to have more information reported in newer versions..

Requirements: No special requirements
Platforms: Linux
Keyword: Develdumpsizes Dumpsizes Libraries Module Name Perl Module Programming Script Size Sizes Variables
Users rating: 0/10

License: Freeware Size: 3.07 KB
USER REVIEWS
More Reviews or Write Review


DEVEL::DUMPSIZES RELATED
Libraries  -  Alien Perl module 0.91
Alien Perl module package contains external libraries wrapped up for your viewing pleasure! SYNOPSIS perldoc Alien; Alien is a package that exists just to hold together an idea, the idea of Alien:: packages, so there is no code here, just...
10.24 KB  
Libraries  -  OpenGeoDB Perl module 0.4
OpenGeDB Perl module is a module to access the OpenGeoDB database and calculate all ZIP codes in a certain radius..
3.07 KB  
Libraries  -  Module::Signature 0.55
Module::Signature is a Perl module signature file manipulation. SYNOPSIS As a shell command: % cpansign # verify an existing SIGNATURE, or # make a new one if none exists % cpansign sign # make signature; overwrites existing one %...
68.61 KB  
Libraries  -  Class::Meta::Express 0.04
Class::Meta::Express is a Perl module for concise, expressive creation of Class::Meta classes. Synopsis package My::Contact; use Class::Meta::Express; class { meta contact => ( default_type => string ); has name; has contact => (...
9.22 KB  
Libraries  -  Sys::Hostname::Long 1.4
Sys::Hostname::Long is a Perl module to try every conceivable way to get full hostname. SYNOPSIS use Sys::Hostname::Long; $host_long = hostname_long; How to get the host full name in perl on multiple operating systems (mac, windows, unix*...
5.12 KB  
Libraries  -  Myco::Devel 1.22
Myco::Devel is a Perl module for myco Developers Guide. This guide is intended for developers wanting to build applications with myco. You should have a decent grasp of the Perl programming language, or else a solid grasp of another programming...
102.4 KB  
Libraries  -  Pod::Perldoc::ToToc 1.05
Pod::Perldoc::ToToc is a Perl module to translate Pod to a Table of Contents. SYNOPSIS Use this module with perldocs -M switch. % perldoc -MPod::Perldoc::ToToc Module::Name This module uses the Pod::Perldoc module to extract a table of...
4.1 KB  
Libraries  -  Text::UberText::Overview 0.95
Text::UberText::Overview Perl module contains some general documentation. HOWTO How to I create or designate a namespace? A namespace is two or more words seperated by periods, like "uber.loop", or "acme.database.inventory". All namespaces...
20.48 KB  
Libraries  -  Mac::Apps::Seasonality::Constants 0.0.4
Mac::Apps::Seasonality::Constants is a Perl module for static definitions of aspects of Seasonality. SYNOPSIS use Mac::Apps::Seasonality::Constants qw{ $SEASONALITY_NAME $SEASONALITY_CREATOR $SEASONALITY_HISTORY_DATABASE_PATH }; use...
8.19 KB  
Libraries  -  dtRdr::Traits::Class 0.0.11
dtRdr::Traits::Class is a Perl module with shared OO stuff. Methods to Break Things NOT_IMPLEMENTED Imported into base class. Gives a nicer message than the standard "Cant locate method...", indicating that you did not typo the method name,...
2.8 MB  
NEW DOWNLOADS IN PROGRAMMING, LIBRARIES
Programming  -  FLEX-db Digital Asset Manager 3.0.9
FLEX-db - an enterprise Digital Asset Manager (DAM). It ingests and links metadata with files, creates thumbnails, and processes files using business rules. FLEX-db has a JSP client, Java app server for file input and output and an EJB metadata...
21.57 MB  
Programming  -  Libicom 0.9.0
The libicom library is a character based dynamicly linked library for Linux. It is used to remotely control the Icom IC-R8500 wide band receiver via an RS232 link. All call and return parameters to the control functions are character string based....
20.48 KB  
Programming  -  dotdesktop 0.3
Dotdesktop library provides ability to parse desktop entry file and access the information in a convenient way. Desktop entry file format is defined by freedesktop.org, it is used to describe information about an application such as the name and...
327.68 KB  
Programming  -  Cedalion for Linux 0.2.6
Cedalion is a programming language that allows its users to add new abstractions and define (and use) internal DSLs. Its innovation is in the fact that it uses projectional editing to allow the new abstractions to have no syntactic limitations.
471.04 KB  
Programming  -  libyasl 0.2
Libyasl is a C++ class library to easily realize TCP/UDP/Multicast clientsand servers in IPv4 and IPv6 environments under GNU/Linux systems.
143.36 KB  
Libraries  -  EuGTK 4.8.9
Makes it easy to develop good- looking, fast, cross-platform programs that run on Linux, OS X, and Windows. Euphoria is a very fast interpreted/compiled language with straight-forward syntax. EuGTK allows programming in a clean, object-oriented...
10.68 MB  
Libraries  -  Linux User Group Library Manager 1.0
The LUG Library Manager is a project to help Linux User Groups start their own library. A LUG library is helpful to the community at large because it increases access to information, and gives everyone the opportunity to become more knowledgeable.
5.35 KB  
Libraries  -  Module::MakefilePL::Parse 0.12
Module::MakefilePL::Parse is a Perl module to parse required modules from Makefile.PL. SYNOPSIS use Module::MakefilePL::Parse; open $fh, Makefile.PL; $parser = Module::MakefilePL::Parse->new( join("", ) ); $info = $parser->required;...
8.19 KB  
Libraries  -  sqlpp 0.06
sqlpp Perl package is a SQL preprocessor. sqlpp is a conventional cpp-alike preprocessor taught to understand SQL ( PgSQL, in particular) syntax specificities. In addition to the standard #define/#ifdef/#else/#endif cohort, provides also...
10.24 KB  
Libraries  -  App::SimpleScan::Substitution::Line 2.02
App::SimpleScan::Substitution::Line is a line with optional fixed variable values. SYNOPSIS my $line = App::SimpleScan::Substitution::Line->new(" this "); # Use only this value when substituting " ". $line->fix(substituite =>...
54.27 KB