|
ru.perl- RU.PERL ---------------------------------------------------------------------- From : Alexander Titaev 2:5070/66 11 Jul 2001 21:00:45 To : Dmitri Masalimov Subject : Re: странность. -------------------------------------------------------------------------------- DM> Далее по тексту: DM> Don't pass constants to this kind of function, as in trunc_em(1.4, 3.5, DM> 6.7). If you try, you'll get a run-time exception saying "Modification of a DM> read-only value attempted at ...." DM> Т.е. в данном случае @_ все-таки read-only. нууу, видимо не @_ является read-only, а значение ему переданое, тем более что опять же далее по тексту until they get the hang of how it works. Given this vast potential for confusion, you might want to think twice before modifying @_ in your subroutines. -- Sanyo mailto:tit@irk.ru --- tin/1.4.5-20010409 ("One More Nightmare") (UNIX) (FreeBSD/3.5-STABLE (i386)) * Origin: The_Bulls echo gate (2:5070/66) Вернуться к списку тем, сортированных по: возрастание даты уменьшение даты тема автор
Архивное /ru.perl/4112929f723aa.html, оценка из 5, голосов 10
|