Next | Program Repair Shop | 19 |
That clutter is often quite easy to eliminate
This program has:
my $provider_name; my $provider; my $internal_file; my $file_type; my $raw_layout; my $incoming_layout; my $valid_layout;
# ... 24 lines omitted
($provider_name, $provider, $internal_file, $file_type, $raw_layout, $incoming_layout, $valid_layout) = @{$prv->{$provider_id}}{@flds};
Why not trim this?
my ($provider_name, $provider, $internal_file, $file_type, $raw_layout, $incoming_layout, $valid_layout) = @{$prv->{$provider_id}}{@flds};
Next | Copyright © 2006 M. J. Dominus |