My coding style changed a lot because Perl was and still is my only programming language and I started horribly :)
Notably:
foreach my $it ( @eles ){ foreach my $part ( split '|', $it ){ ....; } }
unless ( GetOptions ( 'url=s' => \$url, 'agent=s' => \$agent, 'extraparts|cache=i' => \$cache_size, 'debug=i' => \$debug, + ); ) { die "$0 -url URL [-agent STRING -extraparts N -debug [0-2]]" }
In reply to Re: How has your coding style changed over the years?
by Discipulus
in thread How has your coding style changed over the years?
by stevieb
For: | Use: | ||
& | & | ||
< | < | ||
> | > | ||
[ | [ | ||
] | ] |