> http://www.wetware.com/drieux/CS/lang/Perl/Beginners/BenchMarks/loopVjoin.txt
> drieux

Thanks Drieux,
        I had no idea this could even be done.

---
$hash{$jref_key} = \@array;
my @new_array = @{$hash{$jref_key}};    
---

        Guess why I'm on this list? ;) I have one tiny question though
(from your web-page above).

---
### sub refFunc {
###     $hash{$ref_key} = [@array];
###     my @new_array = @{$hash{$ref_key}};    
### } # end of refFunc
### 
### sub JustRef {
###     $hash{$jref_key} = \@array;
###     my @new_array = @{$hash{$ref_key}};    
### } # end of JustRef

        Shouldn't the second last line read...

---
my @new_array = @{$hash{$jref_key}};
---

        ? It looks like JustRef() is creating @new_array based on the
hash value previously created in refFunc().

===================
 Shaun Fryer
===================
 London Webmasters
 http://LWEB.NET
 PH:  519-858-9660
 FX:  519-858-9024
===================


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to