ANNOUNCE: Code::Dumper - a ::Dumper for code. Available on CPAN

ANNOUNCE: Code::Dumper - a ::Dumper for code. Available on CPAN

am 21.11.2005 12:03:35 von Alfie

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
Alfie John,

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.

Re: ANNOUNCE: Code::Dumper - a ::Dumper for code. Available on CPAN

am 22.11.2005 12:50:39 von sdn.girths00869

"Alfie" wrote in news:IqBpv0.Epq@zorch.sf-bay.org:

> 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
`$=`;$_=\%!;($_)=/(.)/;$==++$|;($.,$/,$,,$\,$",$;,$^,$#,$~,$ *,$:,@%)=(
$!=~/(.)(.).(.)(.)(.)(.)..(.)(.)(.)..(.)......(.)/,$"),$=++; $.++;$.++;
$_++;$_++;($_,$\,$,)=($~.$"."$;$/$%[$?]$_$\$,$:$%[$?]",$"&$~ ,$#,);$,++
;$,++;$^|=$";`$_$\$,$/$:$;$~$*$%[$?]$.$~$*${#}$%[$?]$;$\$"$^ $~$*.>&$=`

Re: ANNOUNCE: Code::Dumper - a ::Dumper for code. Available on CPAN

am 23.11.2005 16:06:13 von brad

Eric J. Roode wrote:
> "Alfie" wrote in news:IqBpv0.Epq@zorch.sf-bay.org:
>
> > 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