
japhy
Enthusiast
Feb 22, 2000, 1:08 PM
Post #6 of 6
(363 views)
|
|
Re: passing multiple variables to sub routine
[In reply to]
|
Can't Post
|
|
When getting elements from an array, you use brackets. Parentheses would cause a syntax error. <BLOCKQUOTE><font size="1" face="Arial,Helvetica,sans serif">code:</font><HR> $one_value = $array[2]; ($two,$values) = @array[1,4]; </pre><HR></BLOCKQUOTE> Read the perldata documentation on this web site.
|