KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I would like to pass the following variables to subroutine mySubroutine, $name, $age and then this multidimensional array: $name = "jennifer"; $age = 100; $list[0][0] = "TEST NAME 2"; $list[0][1] = "TEST GROUP 2"; $[0][2] = 10; $[1][0] = "TEST NAME 2"; $[1][1] = "TEST GROUP 2"; $[1][2] = 2; Subroutine: sub mySubroutine { } I have tried $_[0] , and @_ , but I don't seem to get the variables passed to the subroutine correctly.
Tags (comma-separated)
Save Edits
Cancel