Perl Diver 2.31
Main Environment Variables Perl Default Values Perl Config - Summary Perl Config - Full Installed Modules List Directory uptime Docs

Module Documentation
Details and documentation about a specific module, including version and documentation (if available). Note that while links to perldoc.com and search.cpan.org are provided, the module may be part of a larger distribution. If you reach a File Not Found page on either site, please try the parent module.

Data::HexDump

Name Data::HexDump
Version 0.02
Located at /usr/share/perl5/vendor_perl
File /usr/share/perl5/vendor_perl/Data/HexDump.pm
Is Core No
Search CPAN for this module Data::HexDump
Documentation Data::HexDump
Module Details Data::HexDump

NAME

Data::HexDump - Hexadecial Dumper


SYNOPSIS

  use Data::HexDump;
  my $buf = "foo\0bar";
  print HexDump $buf;
  or
  my $f = new Data::HexDump;
  $f->data($buf);
  print $f->dump;
  or
  my $fh = new FileHandle $file2dump;
  my $f = new Data::HexDump;
  $f->fh($fh);
  $f->block_size(1024);
  print while $_ = $f->dump;
  close $fh;
  or
  my $f = new Data::HexDump;
  $f->file($file2dump);
  $f->block_size(1024);
  print while $_ = $f->dump;


DESCRIPTION

Dump in hexadecimal the content of a scalar. The result is returned in a string. Each line of the result consists of the offset in the source in the leftmost column of each line, followed by one or more columns of data from the source in hexadecimal. The rightmost column of each line shows the printable characters (all others are shown as single dots).


COPYRIGHT

Copyright (c) 1998-1999 Fabien Tassin. All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.


AUTHOR

Fabien Tassin <fta@oleane.net>


VERSION

0.02 - Second release (September 1999)


SEE ALSO

perl(1)

Perl Diver brought to you by ScriptSolutions.com © 1997- 2025