[LA.pm] C-style Perl vs. regex

Robin Rowe rower at movieeditor.com
Wed Feb 8 12:18:39 PST 2006


Kevin,

Thanks for the great tips!

> It's also a bit inefficient to be passing flattened hashes into 
> subroutines:
> 
>>
>> sub CreateZoneFile
>> {    my %param = @_;
> 
> 
> A hashref would be somewhat more efficient (although it adds some cost 
> in dereferencing later).

What would that look like?

Robin



More information about the Losangeles-pm mailing list