|
ru.perl- RU.PERL ---------------------------------------------------------------------- From : Ivan Frolcov 2:5020/400 25 Aug 2000 17:33:11 To : All Subject : Re: function() или &function() ? --------------------------------------------------------------------------------
> А чем отличается
> вызов функции с амперсандом &function() от вызова без него: function() ?
perlsub:
....
If a subroutine is called using the ``&'' form, the argument
list is optional, and if omitted, no @_ array is set up for
the subroutine: the @_ array at the time of the call is
visible to subroutine instead.
....
и тэ дэ
--- ifmail v.2.15dev5
* Origin: Moscow State University (2:5020/400)
Вернуться к списку тем, сортированных по: возрастание даты уменьшение даты тема автор
Архивное /ru.perl/548628f56996.html, оценка из 5, голосов 10
|