sub something { my( $string ) = @_; ## $string is a copy of the argument } my $hugeString = ........; something( $hugeString ); #### fuzzyMatch( \$hay, \$nee, 3 ); ## pass references to needle and haystack #### sub fuzzyMatch { my( $rHay, $rNee, $misses ) = @_; ## the 'r's are to remind that these are references #### my $lNee = length $$rNee; ## read as: $lenghtNeedle = length of the data $, referenced by $rNee