Brian Volk wrote: > Hi All, Hello,
> I'm working through the exercises in the Alpaca book. I don't > understand why you have to pass the check_items_for_all subroutine a > reference to a hash. Why can't you just pass it the hash itself... > check_items_for_all(%all) instead for (\%all) ? Could someone pls > explain this to me? You can do it either way if you want it is just that passing a reference is more efficient. John -- use Perl; program fulfillment -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>