Sisyphus repository
Last update: 2017-12-14 12:09:07 +0300 | SRPMs: 18221 | Sign in or Sign up
en ru uk br
ALT Linux repositories
hide window
Sisyphus: 0.03-alt1
p8: 0.03-alt1
p7: 0.03-alt1
t7: 0.03-alt1

Other repositories
hide window
CPAN: 0.03

Group :: Development/Perl
Source RPM: perl-Devel-ArgNames

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR (0/0)   Repocop 

Current version: 0.03-alt1
Built: about 6 years ago
Size: 6.19 KB
Repocop status: ok

Home page:   http://search.cpan.org/CPAN/authors/id/N/NU/NUFFIN/Devel-ArgNames-0.03.tar.gz

License: Artistic
Summary: Figure out the names of variables passed into subroutines
Description:

When print-debugging code, you will often find yourself going:

print "\$foo is $foo, \$bar is $bar"

With this module, you can write a reusable subroutine easily:

sub my_print_vars {
my %vars;

@vars{arg_names()} = @_;

foreach my $var ( keys %vars ) {
warn "$var is $vars{$var}\n";
}
}

my_print_vars($foo, $bar);

This module doesn't provide dumping facilities because there are too many to
choose from. This is a DIY kit ;-)

Current maintainer: Igor Vlasenko

List of contributors: ACL: List of rpms provided by this srpm:
  • perl-Devel-ArgNames
Recent changes (last three changelog entries):

2011-09-22 Igor Vlasenko <viy at altlinux.ru> 0.03-alt1

    - furst build

 
© 2009–2017 Igor Zubkov