[첫화면으로]"Perl/RespectTheGlobalStateOfTheFlipFlopOperator" 페이지의 변경 내역

마지막으로 [b]


현재 버전 . . . . (수정) 2012-2-11 12:25 am 수정한 사람: Raymundo
4 번째 수정본 . . . . 2010-7-15 4:49 pm 수정한 사람: Raymundo
 

변경사항 (가장 최근의 "일반적인 수정"부터) (소소한 수정)

-1,5 +1,6
* 원문: [http://www.effectiveperlprogramming.com/blog/314 Respect the global state of the flip flop operator « The Effective Perler]
* 요점과 예제 코드 정리
* [[Perl/RangeOperator]] 참고
* 잘못 해석한 부분 보이시면 지적 부탁드립니다~
Perl의 플립-플롭 연산자 <code>..</code>(스칼라 컨택스트에서 사용될 때. 리스트 컨택스트에서는 범위를 명시하는 range 연산자로 사용됨<footnote(원문의 "otherwise known as the range operator in scalar context"는 "list context"의 오류인 듯)>)는 좌변이 참이 될 때까지는 거짓을 반환한다. 일단 좌변이 참이 되면, 그 때부터는 우변이 참이 될 때까지 참을 반환한다. 즉 좌변은 연산자를 '켜고' 우변은 '끈다'.

-280,7 +281,7
<div class="comments">
<longcomments(100)>
----
<trackbackreceived>
</div>
----
[[컴퓨터분류]]