in reply to Re: Returning arrays from subroutines
in thread Returning arrays from subroutines

When I tried to print @net it came out as a memory location, similar to ARRAY(0xFFC16), which made me think that it was a reference for some reason.
  • Comment on Re^2: Returning arrays from subroutines

Replies are listed 'Best First'.
Re^3: Returning arrays from subroutines
by revdiablo (Prior) on Jun 17, 2005 at 16:47 UTC
    similar to ARRAY(0xFFC16), which made me think that it was a reference for some reason

    This thought was correct; that is what happens when you try to print a reference. There's really not much we can do to help you with this part, though, because the code you pasted doesn't create a reference anywhere.