| |
Note_Perl
Page history last edited by Honesty 3 yrs ago
- 2 contexts:
- list context
- scalar context, 2 scalars: (specified by operators)
- names: (variable name and array name have no relation)
- scalar: $num
- array: @num
- array elements: $num[0]
- @_ and $_, have no relation:
- @_: function arguments
- $_: default variables (foreach loop)
- $_[0]: 1st function argument
Note_Perl
|
|
Tip: To turn text into a link, highlight the text, then click on a page or file from the list above.
|
|
|
Comments (0)
You don't have permission to comment on this page.