"Perl/RespectTheGlobalStateOfTheFlipFlopOperator" 페이지의 변경 내역| -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> |
| ---- |
| [[컴퓨터분류]] |