Help for this page

Select Code to Download


  1. or download this
    sub something {
        my( $string ) = @_;
    ...
    my $hugeString = ........;
    
    something( $hugeString );
    
  2. or download this
    fuzzyMatch( \$hay, \$nee, 3 ); ## pass references to needle and haysta
    +ck
    
  3. or download this
    sub fuzzyMatch {
         my( $rHay, $rNee, $misses ) = @_; ## the 'r's are to remind that 
    +these are references
    
  4. or download this
         my $lNee = length $$rNee; ## read as: $lenghtNeedle = length of t
    +he data $, referenced by $rNee