VarPrint(3)

NAME
VarPrint - display complex variables on STDOUT

SYNOPSIS
  use Data::VarPrint;
  VarPrint($var1, $var2,... );
or

  use Data::VarPrint;
  VarPrint( { var1 => $var1, var2 => $var2,... } );
or

  use Data::VarPrint;
  my $var_string = VarPrintAsString(...);

DESCRIPTION
Data::VarPrint module contains two functions: VarPrint and VarPrintAsString.

Function VarPrint displays its arguments' values. The output is structured, so that complex structures (combinations of hash and array references) are presented in a way which makes them easy to read.

Function VarPrintAsString returns the same output as a string, which can be usefull with error logs.

OPTIONS
VarPrint and VarPrintAsString take list of variables as arguments.

AUTHOR
Copyright (c) 2002 V. Sego, vsego@math.hr. All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.