Results 1 to 2 of 2
  1. #1
    Join Date
    Jul 2004
    Posts
    48

    Unanswered: passing hashreferences

    hello how can i pass my hashtable into a subroutine by reference and how will i receive it
    the thing is
    %hash={ ...}

    testhash(\%hash)

    sub testhash{

    }
    i dont know how i will receive it and print the results
    any idea???
    thnks in advance
    jag

  2. #2
    Join Date
    Feb 2006
    Posts
    56
    here's a couple of reference tutorials that should help you out:

    http://perldoc.perl.org/index-tutorials.html

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •