Name : perl-Devel-ArgNames
| |
Version : 0.03
| Vendor : obs://build_opensuse_org/devel:languages:perl
|
Release : lp154.8.1
| Date : 2023-01-27 17:55:24
|
Group : Development/Libraries/Perl
| Source RPM : perl-Devel-ArgNames-0.03-lp154.8.1.src.rpm
|
Size : 0.00 MB
| |
Packager : https://www_suse_com/
| |
Summary : Figure out the names of variables passed into subroutines
|
Description :
When print-debugging code, you will often ind 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;
AATTvars{arg_names()} = AATT_;
foreach my $var ( keys %vars ) { warn \"$var is $vars{$var}\ \"; } }
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 ;-)
|
RPM found in directory: /packages/linux-pbone/ftp5.gwdg.de/pub/opensuse/repositories/devel:/languages:/perl:/CPAN-D/15.4/noarch |