|
Posted by Alfie on November 21, 2005, 11:03 am
Please log in for more thread options
NAME
Code::Dumper - Debugging module to have your cake and eat it too
SYNOPSIS
use Code::Dumper;
# DUMP (
print "just another perl hacker";
# )
DESCRIPTION
Surround code with the special Code::Dumper comments (see
SYNOPSIS) and your code will be:
o executed as normal
o printed as well
Debugging can be fun. However after too many print
statements and Data::Dumpers have been sprinked
all around, lets face it... it can do your head in.
Code::Dumper is a module that attempts to bring back
debugging context and your sanity.
BUGS
Please report them. Better yet, submit a patch :)
AUTHOR
COPYRIGHT AND LICENSE
Copyright (C) 2005 by Alfie John
This library is free software; you can redistribute it
and/or modify it under the same terms as Perl itself,
either Perl version 5.8.6 or, at your option, any
later version of Perl 5 you may have available.
|
|
Posted by Eric J. Roode on November 22, 2005, 5:50 am
Please log in for more thread options
> NAME
> Code::Dumper - Debugging module to have your cake and eat it too
>
> SYNOPSIS
> use Code::Dumper;
>
> # DUMP (
>
> print "just another perl hacker";
>
> # )
Does this module provide any functionality that Smart::Comments doesn't?
--
Eric
`$=`;$_=\%!;($_)=/(.)/;$==++$|;($.,$/,$,,$\,$",$;,$^,$#,$~,$*,$:,@%)=(
$!=~/(.)(.).(.)(.)(.)(.)..(.)(.)(.)..(.)......(.)/,$"),$=++;$.++;$.++;
$_++;$_++;($_,$\,$,)=($~.$"."$;$/$%[$?]$_$$,$:$%[$?]",$"&$~,$#,);$,++
;$,++;$^|=$";`$_$$,$/$:$;$~$*$%[$?]$.$~$*$$%[$?]$;$$"$^$~$*.>&$=`
|
|
Posted by Brad on November 23, 2005, 7:06 am
Please log in for more thread options
Eric J. Roode wrote:
>
> > NAME
> > Code::Dumper - Debugging module to have your cake and eat it too
....
>
> Does this module provide any functionality that Smart::Comments doesn't?
It would appear that it does. Smart::Comments does not print the
code itself, but rather code that you put in a smart comment.
--
Regards,
Brad
|
| Similar Threads | Posted | | weirdness with CPAN modules that use Data::Dumper | June 30, 2007, 2:34 am |
| Reading Data::Dumper output | February 8, 2008, 12:11 pm |
| Testing database code in CPAN modules | April 4, 2005, 12:33 pm |
| ANNOUNCE: Language::Zcode v0.8 (Translate Z-code files to Perl) | September 14, 2004, 10:44 pm |
| Please help with this code | June 10, 2007, 3:40 pm |
| what is wrong in this code | November 13, 2005, 10:40 pm |
| Image Magick code help | November 29, 2004, 12:14 pm |
| Image Magick code help | December 3, 2004, 6:43 pm |
| Net::Cmd::code doesn't return value of Net::Cmd::dataend | January 10, 2005, 9:17 pm |
| explain code section please... | August 28, 2006, 4:41 pm |
|