home *** CD-ROM | disk | FTP | other *** search
Unknown | 1997-07-17 | 35.9 KB |
open in:
MacOS 8.1
|
Win98
|
DOS
view JSON data
|
view as text
This file was not able to be converted.
This format is not currently supported by dexvert.
Confidence | Program | Detection | Match Type | Support
|
---|
100%
| file
| data
| default
|
|
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| fc 8e 00 00 01 00 00 00 | 00 00 00 00 06 08 00 00 |........|........|
|00000010| 00 08 00 00 01 10 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 10 00 00 02 18 00 00 | c8 00 00 00 00 00 00 00 |........|........|
|00000030| 07 22 c1 00 00 00 00 00 | 00 18 00 00 a5 6c 00 00 |."......|.....l..|
|00000040| 43 38 fc 02 40 25 ff ff | 60 73 ff ff d8 3b 00 00 |C8..@%..|`s...;..|
|00000050| 16 00 00 00 b0 fc 07 00 | 00 00 00 00 07 22 c1 00 |........|....."..|
|00000060| 07 22 c1 00 07 22 c1 00 | 00 00 00 00 70 65 72 6c |."..."..|....perl|
|00000070| 73 79 6e 20 2d 20 50 65 | 72 6c 20 73 05 05 79 6e |syn - Pe|rl s..yn|
|00000080| 74 61 78 0d 08 05 05 05 | 07 22 c1 00 00 00 00 00 |tax.....|."......|
|00000090| 07 00 50 13 08 f9 12 00 | 08 f9 12 00 00 00 00 00 |..P.....|........|
|000000a0| 05 00 00 00 00 6c 00 00 | a5 30 00 00 40 a2 5f 01 |.....l..|.0..@._.|
|000000b0| a0 98 fe ff f0 de fe ff | 68 37 00 00 44 65 73 63 |........|h7..Desc|
|000000c0| 72 69 70 74 69 6f 6e 0d | 08 65 73 63 08 fa 12 00 |ription.|.esc....|
|000000d0| 00 00 00 00 00 30 00 00 | 05 88 00 00 00 24 dd 07 |.....0..|.....$..|
|000000e0| 3f 40 fe ff 1f 6f fe ff | 20 22 00 00 41 20 50 65 |?@...o..| "..A Pe|
|000000f0| 72 6c 20 73 63 72 69 70 | 74 20 63 6f 6e 73 69 73 |rl scrip|t consis|
|00000100| 74 73 20 6f 66 20 61 20 | 73 65 71 75 65 6e 63 65 |ts of a |sequence|
|00000110| 20 6f 66 20 64 65 63 6c | 61 72 61 74 69 6f 6e 73 | of decl|arations|
|00000120| 20 61 6e 64 20 73 74 61 | 74 65 6d 65 6e 74 73 2e | and sta|tements.|
|00000130| 20 54 68 65 20 6f 6e 6c | 79 20 74 68 69 6e 67 73 | The onl|y things|
|00000140| 20 74 68 61 74 20 6e 65 | 65 64 20 74 6f 20 62 65 | that ne|ed to be|
|00000150| 20 64 65 63 6c 61 72 65 | 64 20 00 00 00 88 00 00 | declare|d ......|
|00000160| 05 7c 00 00 00 20 18 07 | 18 08 fe ff f8 36 fe ff |.|... ..|.....6..|
|00000170| 20 22 00 00 69 6e 20 50 | 65 72 6c 20 61 72 65 20 | "..in P|erl are |
|00000180| 72 65 70 6f 72 74 20 66 | 6f 72 6d 61 74 73 20 61 |report f|ormats a|
|00000190| 6e 64 20 73 75 62 72 6f | 75 74 69 6e 65 73 2e 20 |nd subro|utines. |
|000001a0| 20 53 65 65 20 74 68 65 | 20 73 65 63 74 69 6f 6e | See the| section|
|000001b0| 73 20 62 65 6c 6f 77 20 | 66 6f 72 20 6d 6f 72 65 |s below |for more|
|000001c0| 20 69 6e 66 6f 72 6d 61 | 74 69 6f 6e 20 6f 6e 20 | informa|tion on |
|000001d0| 74 68 6f 73 65 20 00 00 | 00 7c 00 00 05 8c 00 00 |those ..|.|......|
|000001e0| 00 a4 d2 07 f1 cf fd ff | d1 fe fd ff 20 22 00 00 |........|.... "..|
|000001f0| 64 65 63 6c 61 72 61 74 | 69 6f 6e 73 2e 20 20 41 |declarat|ions. A|
|00000200| 6c 6c 20 75 6e 69 6e 69 | 74 69 61 6c 69 7a 65 64 |ll unini|tialized|
|00000210| 20 75 73 65 72 2d 63 72 | 65 61 74 65 64 20 6f 62 | user-cr|eated ob|
|00000220| 6a 65 63 74 73 20 61 72 | 65 20 61 73 73 75 6d 65 |jects ar|e assume|
|00000230| 64 20 74 6f 20 73 74 61 | 72 74 20 77 69 74 68 20 |d to sta|rt with |
|00000240| 61 20 6e 75 6c 6c 20 6f | 72 20 30 20 76 61 6c 75 |a null o|r 0 valu|
|00000250| 65 20 75 6e 74 69 6c 20 | 74 68 65 79 20 61 72 65 |e until |they are|
|00000260| 20 00 00 00 00 8c 00 00 | 05 80 00 00 00 d4 93 07 | .......|........|
|00000270| ca 97 fd ff aa c6 fd ff | 20 22 00 00 64 65 66 69 |........| "..defi|
|00000280| 6e 65 64 20 62 79 20 73 | 6f 6d 65 20 65 78 70 6c |ned by s|ome expl|
|00000290| 69 63 69 74 20 6f 70 65 | 72 61 74 69 6f 6e 20 73 |icit ope|ration s|
|000002a0| 75 63 68 20 61 73 20 61 | 73 73 69 67 6e 6d 65 6e |uch as a|ssignmen|
|000002b0| 74 2e 20 20 28 54 68 6f | 75 67 68 20 79 6f 75 20 |t. (Tho|ugh you |
|000002c0| 63 61 6e 20 67 65 74 20 | 77 61 72 6e 69 6e 67 73 |can get |warnings|
|000002d0| 20 61 62 6f 75 74 20 74 | 68 65 20 75 73 65 20 6f | about t|he use o|
|000002e0| 66 20 00 00 00 80 00 00 | 85 b4 00 00 00 28 8b 07 |f ......|.....(..|
|000002f0| a3 5f fd ff 83 8e fd ff | 20 22 00 00 75 6e 64 65 |._......| "..unde|
|00000300| 66 69 6e 65 64 20 76 61 | 6c 75 65 73 20 69 66 20 |fined va|lues if |
|00000310| 79 6f 75 20 6c 69 6b 65 | 2e 29 20 20 54 68 65 20 |you like|.) The |
|00000320| 73 65 71 75 65 6e 63 65 | 20 6f 66 20 73 74 61 74 |sequence| of stat|
|00000330| 65 6d 65 6e 74 73 20 69 | 73 20 65 78 65 63 75 74 |ements i|s execut|
|00000340| 65 64 20 6a 75 73 74 20 | 6f 6e 63 65 2c 20 75 6e |ed just |once, un|
|00000350| 6c 69 6b 65 20 69 6e 20 | 07 20 74 68 10 fb 12 00 |like in |. th....|
|00000360| 10 fb 12 00 00 00 00 00 | 73 65 64 08 10 00 00 00 |........|sed.....|
|00000370| 00 00 00 00 20 61 6e 64 | 20 07 65 72 10 fc 12 00 |.... and| .er....|
|00000380| 10 fc 12 00 00 00 00 00 | 61 77 6b 08 10 00 00 00 |........|awk.....|
|00000390| 00 00 00 00 20 00 00 00 | 00 b4 00 00 05 84 00 00 |.... ...|........|
|000003a0| 00 68 b7 07 7c 27 fd ff | 5c 56 fd ff 20 22 00 00 |.h..|'..|\V.. "..|
|000003b0| 73 63 72 69 70 74 73 2c | 20 77 68 65 72 65 20 74 |scripts,| where t|
|000003c0| 68 65 20 73 65 71 75 65 | 6e 63 65 20 6f 66 20 73 |he seque|nce of s|
|000003d0| 74 61 74 65 6d 65 6e 74 | 73 20 69 73 20 65 78 65 |tatement|s is exe|
|000003e0| 63 75 74 65 64 20 66 6f | 72 20 65 61 63 68 20 69 |cuted fo|r each i|
|000003f0| 6e 70 75 74 20 6c 69 6e | 65 2e 20 20 57 68 69 6c |nput lin|e. Whil|
|00000400| 65 20 74 68 69 73 20 6d | 65 61 6e 73 20 74 68 61 |e this m|eans tha|
|00000410| 74 20 79 6f 75 20 6d 75 | 73 74 20 00 00 84 00 00 |t you mu|st .....|
|00000420| 05 84 00 00 00 7c a3 07 | 55 ef fc ff 35 1e fd ff |.....|..|U...5...|
|00000430| 20 22 00 00 65 78 70 6c | 69 63 69 74 6c 79 20 6c | "..expl|icitly l|
|00000440| 6f 6f 70 20 6f 76 65 72 | 20 74 68 65 20 6c 69 6e |oop over| the lin|
|00000450| 65 73 20 6f 66 20 79 6f | 75 72 20 69 6e 70 75 74 |es of yo|ur input|
|00000460| 20 66 69 6c 65 20 28 6f | 72 20 66 69 6c 65 73 29 | file (o|r files)|
|00000470| 2c 20 69 74 20 61 6c 73 | 6f 20 6d 65 61 6e 73 20 |, it als|o means |
|00000480| 79 6f 75 20 68 61 76 65 | 20 6d 75 63 68 20 6d 6f |you have| much mo|
|00000490| 72 65 20 63 6f 6e 74 72 | 6f 6c 20 6f 76 65 72 20 |re contr|ol over |
|000004a0| 00 84 00 00 05 8c 00 00 | 00 60 ef 07 2e b7 fc ff |........|.`......|
|000004b0| 0e e6 fc ff 20 22 00 00 | 77 68 69 63 68 20 66 69 |.... "..|which fi|
|000004c0| 6c 65 73 20 61 6e 64 20 | 77 68 69 63 68 20 6c 69 |les and |which li|
|000004d0| 6e 65 73 20 79 6f 75 20 | 6c 6f 6f 6b 20 61 74 2e |nes you |look at.|
|000004e0| 20 20 28 41 63 74 75 61 | 6c 6c 79 2c 20 49 27 6d | (Actua|lly, I'm|
|000004f0| 20 6c 79 69 6e 67 2d 2d | 69 74 20 69 73 20 70 6f | lying--|it is po|
|00000500| 73 73 69 62 6c 65 20 74 | 6f 20 64 6f 20 61 6e 20 |ssible t|o do an |
|00000510| 69 6d 70 6c 69 63 69 74 | 20 6c 6f 6f 70 20 77 69 |implicit| loop wi|
|00000520| 74 68 20 65 69 74 68 65 | 72 20 00 00 00 8c 00 00 |th eithe|r ......|
|00000530| a5 e0 00 00 40 30 df 05 | 07 7f fc ff e7 ad fc ff |....@0..|........|
|00000540| 20 22 00 00 74 68 65 20 | 07 72 6d 20 10 fd 12 00 | "..the |.rm ....|
|00000550| 10 fd 12 00 00 00 00 00 | 2d 6e 08 20 10 00 00 00 |........|-n. ....|
|00000560| 00 00 00 00 20 6f 72 20 | 07 6e 20 74 10 fe 12 00 |.... or |.n t....|
|00000570| 10 fe 12 00 00 00 00 00 | 2d 70 08 74 10 00 00 00 |........|-p.t....|
|00000580| 00 00 00 00 20 73 77 69 | 74 63 68 2e 20 20 49 74 |.... swi|tch. It|
|00000590| 27 73 20 6a 75 73 74 20 | 6e 6f 74 20 74 68 65 20 |'s just |not the |
|000005a0| 6d 61 6e 64 61 74 6f 72 | 79 20 64 65 66 61 75 6c |mandator|y defaul|
|000005b0| 74 20 6c 69 6b 65 20 69 | 74 20 69 73 20 69 6e 20 |t like i|t is in |
|000005c0| 07 22 20 63 10 ff 12 00 | 10 ff 12 00 00 00 00 00 |." c....|........|
|000005d0| 73 65 64 08 10 00 00 00 | 00 00 00 00 20 61 6e 64 |sed.....|.... and|
|000005e0| 20 07 64 20 10 00 13 00 | 10 00 13 00 00 00 00 00 | .d ....|........|
|000005f0| 61 77 6b 08 10 00 00 00 | 00 00 00 00 2e 29 0d 07 |awk.....|.....)..|
|00000600| 0a 01 13 00 0a 01 13 00 | 00 00 00 00 00 e0 00 00 |........|........|
|00000610| a5 30 00 00 40 e6 2f 01 | 60 08 fc ff 10 3f fc ff |.0..@./.|`....?..|
|00000620| 18 2b 00 00 44 65 63 6c | 61 72 61 74 69 6f 6e 73 |.+..Decl|arations|
|00000630| 0d 08 6f 6d 0a 02 13 00 | 00 00 00 00 00 30 00 00 |..om....|.....0..|
|00000640| 05 84 00 00 00 e4 71 07 | 2b b3 fb ff 0b e2 fb ff |......q.|+.......|
|00000650| 20 22 00 00 50 65 72 6c | 20 69 73 2c 20 66 6f 72 | "..Perl| is, for|
|00000660| 20 74 68 65 20 6d 6f 73 | 74 20 70 61 72 74 2c 20 | the mos|t part, |
|00000670| 61 20 66 72 65 65 2d 66 | 6f 72 6d 20 6c 61 6e 67 |a free-f|orm lang|
|00000680| 75 61 67 65 2e 20 20 28 | 54 68 65 20 6f 6e 6c 79 |uage. (|The only|
|00000690| 20 65 78 63 65 70 74 69 | 6f 6e 20 74 6f 20 74 68 | excepti|on to th|
|000006a0| 69 73 20 69 73 20 66 6f | 72 6d 61 74 20 64 65 63 |is is fo|rmat dec|
|000006b0| 6c 61 72 61 74 69 6f 6e | 73 2c 20 66 6f 72 20 00 |laration|s, for .|
|000006c0| 00 84 00 00 05 84 00 00 | 00 ac a0 07 04 7b fb ff |........|.....{..|
|000006d0| e4 a9 fb ff 20 22 00 00 | 6f 62 76 69 6f 75 73 20 |.... "..|obvious |
|000006e0| 72 65 61 73 6f 6e 73 2e | 29 20 43 6f 6d 6d 65 6e |reasons.|) Commen|
|000006f0| 74 73 20 61 72 65 20 69 | 6e 64 69 63 61 74 65 64 |ts are i|ndicated|
|00000700| 20 62 79 20 74 68 65 20 | 22 23 22 20 63 68 61 72 | by the |"#" char|
|00000710| 61 63 74 65 72 2c 20 61 | 6e 64 20 65 78 74 65 6e |acter, a|nd exten|
|00000720| 64 20 74 6f 20 74 68 65 | 20 65 6e 64 20 6f 66 20 |d to the| end of |
|00000730| 74 68 65 20 6c 69 6e 65 | 2e 20 20 49 66 20 79 6f |the line|. If yo|
|00000740| 75 20 00 00 00 84 00 00 | 85 98 00 00 00 68 66 07 |u ......|.....hf.|
|00000750| dd 42 fb ff bd 71 fb ff | 20 22 00 00 61 74 74 65 |.B...q..| "..atte|
|00000760| 6d 70 74 20 74 6f 20 75 | 73 65 20 07 0e 03 13 00 |mpt to u|se .....|
|00000770| 0e 03 13 00 00 00 00 00 | 2f 2a 20 2a 2f 08 6c 61 |........|/* */.la|
|00000780| 0e 04 13 00 00 00 00 00 | 20 43 2d 73 74 79 6c 65 |........| C-style|
|00000790| 20 63 6f 6d 6d 65 6e 74 | 73 2c 20 69 74 20 77 69 | comment|s, it wi|
|000007a0| 6c 6c 20 62 65 20 69 6e | 74 65 72 70 72 65 74 65 |ll be in|terprete|
|000007b0| 64 20 65 69 74 68 65 72 | 20 61 73 20 64 69 76 69 |d either| as divi|
|000007c0| 73 69 6f 6e 20 6f 72 20 | 70 61 74 74 65 72 6e 20 |sion or |pattern |
|000007d0| 6d 61 74 63 68 69 6e 67 | 2c 20 00 00 00 98 00 00 |matching|, ......|
|000007e0| a5 9c 00 00 40 54 bf 07 | b6 0a fb ff 96 39 fb ff |....@T..|.....9..|
|000007f0| 20 22 00 00 64 65 70 65 | 6e 64 69 6e 67 20 6f 6e | "..depe|nding on|
|00000800| 20 74 68 65 20 63 6f 6e | 74 65 78 74 2c 20 61 6e | the con|text, an|
|00000810| 64 20 43 2b 2b 20 07 65 | 0e 05 13 00 0e 05 13 00 |d C++ .e|........|
|00000820| 00 00 00 00 2f 2f 08 70 | 0e 06 13 00 00 00 00 00 |....//.p|........|
|00000830| 20 63 6f 6d 6d 65 6e 74 | 73 20 6a 75 73 74 20 6c | comment|s just l|
|00000840| 6f 6f 6b 20 6c 69 6b 65 | 20 61 20 6e 75 6c 6c 20 |ook like| a null |
|00000850| 72 65 67 75 6c 61 72 20 | 65 78 70 72 65 73 73 69 |regular |expressi|
|00000860| 6f 6e 2c 20 73 6f 20 64 | 6f 6e 27 74 20 64 6f 20 |on, so d|on't do |
|00000870| 74 68 61 74 2e 0d 00 00 | 00 9c 00 00 05 80 00 00 |that....|........|
|00000880| 00 68 5d 07 df 9b fa ff | bf ca fa ff 20 22 00 00 |.h].....|.... "..|
|00000890| 41 20 64 65 63 6c 61 72 | 61 74 69 6f 6e 20 63 61 |A declar|ation ca|
|000008a0| 6e 20 62 65 20 70 75 74 | 20 61 6e 79 77 68 65 72 |n be put| anywher|
|000008b0| 65 20 61 20 73 74 61 74 | 65 6d 65 6e 74 20 63 61 |e a stat|ement ca|
|000008c0| 6e 2c 20 62 75 74 20 68 | 61 73 20 6e 6f 20 65 66 |n, but h|as no ef|
|000008d0| 66 65 63 74 20 6f 6e 20 | 74 68 65 20 65 78 65 63 |fect on |the exec|
|000008e0| 75 74 69 6f 6e 20 6f 66 | 20 74 68 65 20 70 72 69 |ution of| the pri|
|000008f0| 6d 61 72 79 20 00 00 00 | 00 80 00 00 05 8c 00 00 |mary ...|........|
|00000900| 00 e8 e5 07 b8 63 fa ff | 98 92 fa ff 20 22 00 00 |.....c..|.... "..|
|00000910| 73 65 71 75 65 6e 63 65 | 20 6f 66 20 73 74 61 74 |sequence| of stat|
|00000920| 65 6d 65 6e 74 73 2d 2d | 64 65 63 6c 61 72 61 74 |ements--|declarat|
|00000930| 69 6f 6e 73 20 61 6c 6c | 20 74 61 6b 65 20 65 66 |ions all| take ef|
|00000940| 66 65 63 74 20 61 74 20 | 63 6f 6d 70 69 6c 65 20 |fect at |compile |
|00000950| 74 69 6d 65 2e 20 20 54 | 79 70 69 63 61 6c 6c 79 |time. T|ypically|
|00000960| 20 61 6c 6c 20 74 68 65 | 20 64 65 63 6c 61 72 61 | all the| declara|
|00000970| 74 69 6f 6e 73 20 61 72 | 65 20 70 75 74 20 61 74 |tions ar|e put at|
|00000980| 20 00 00 00 00 8c 00 00 | 05 88 00 00 00 78 b9 07 | .......|.....x..|
|00000990| 91 2b fa ff 71 5a fa ff | 20 22 00 00 74 68 65 20 |.+..qZ..| "..the |
|000009a0| 62 65 67 69 6e 6e 69 6e | 67 20 6f 72 20 74 68 65 |beginnin|g or the|
|000009b0| 20 65 6e 64 20 6f 66 20 | 74 68 65 20 73 63 72 69 | end of |the scri|
|000009c0| 70 74 2e 20 20 48 6f 77 | 65 76 65 72 2c 20 69 66 |pt. How|ever, if|
|000009d0| 20 79 6f 75 27 72 65 20 | 75 73 69 6e 67 20 6c 65 | you're |using le|
|000009e0| 78 69 63 61 6c 6c 79 2d | 73 63 6f 70 65 64 20 70 |xically-|scoped p|
|000009f0| 72 69 76 61 74 65 20 76 | 61 72 69 61 62 6c 65 73 |rivate v|ariables|
|00000a00| 20 63 72 65 61 74 65 64 | 20 00 00 00 00 88 00 00 | created| .......|
|00000a10| 05 84 00 00 00 4c c7 07 | 6a f3 f9 ff 4a 22 fa ff |.....L..|j...J"..|
|00000a20| 20 22 00 00 77 69 74 68 | 20 6d 79 28 29 2c 20 79 | "..with| my(), y|
|00000a30| 6f 75 27 6c 6c 20 68 61 | 76 65 20 74 6f 20 6d 61 |ou'll ha|ve to ma|
|00000a40| 6b 65 20 73 75 72 65 20 | 79 6f 75 72 20 66 6f 72 |ke sure |your for|
|00000a50| 6d 61 74 20 6f 72 20 73 | 75 62 72 6f 75 74 69 6e |mat or s|ubroutin|
|00000a60| 65 20 64 65 66 69 6e 69 | 74 69 6f 6e 20 69 73 20 |e defini|tion is |
|00000a70| 77 69 74 68 69 6e 20 74 | 68 65 20 73 61 6d 65 20 |within t|he same |
|00000a80| 62 6c 6f 63 6b 20 73 63 | 6f 70 65 20 61 73 20 00 |block sc|ope as .|
|00000a90| 00 84 00 00 a5 68 00 00 | 40 2c b4 04 43 bb f9 ff |.....h..|@,..C...|
|00000aa0| 23 ea f9 ff 20 22 00 00 | 74 68 65 20 6d 79 20 69 |#... "..|the my i|
|00000ab0| 66 20 79 6f 75 20 65 78 | 70 65 63 74 20 74 6f 20 |f you ex|pect to |
|00000ac0| 62 65 20 61 62 6c 65 20 | 74 6f 20 61 63 63 65 73 |be able |to acces|
|00000ad0| 73 20 74 68 6f 73 65 20 | 70 72 69 76 61 74 65 20 |s those |private |
|00000ae0| 76 61 72 69 61 62 6c 65 | 73 2e 0d 07 14 07 13 00 |variable|s.......|
|00000af0| 14 07 13 00 00 00 00 00 | 00 68 00 00 05 84 00 00 |........|.h......|
|00000b00| 00 74 78 07 6c 4c f9 ff | 4c 7b f9 ff 20 22 00 00 |.tx.lL..|L{.. "..|
|00000b10| 44 65 63 6c 61 72 69 6e | 67 20 61 20 73 75 62 72 |Declarin|g a subr|
|00000b20| 6f 75 74 69 6e 65 20 61 | 6c 6c 6f 77 73 20 61 20 |outine a|llows a |
|00000b30| 73 75 62 72 6f 75 74 69 | 6e 65 20 6e 61 6d 65 20 |subrouti|ne name |
|00000b40| 74 6f 20 62 65 20 75 73 | 65 64 20 61 73 20 69 66 |to be us|ed as if|
|00000b50| 20 69 74 20 77 65 72 65 | 20 61 20 6c 69 73 74 20 | it were| a list |
|00000b60| 6f 70 65 72 61 74 6f 72 | 20 66 72 6f 6d 20 74 68 |operator| from th|
|00000b70| 61 74 20 70 6f 69 6e 74 | 20 00 00 00 00 84 00 00 |at point| .......|
|00000b80| a5 d0 00 00 40 40 7c 07 | 45 14 f9 ff 25 43 f9 ff |....@@|.|E...%C..|
|00000b90| 20 22 00 00 66 6f 72 77 | 61 72 64 20 69 6e 20 74 | "..forw|ard in t|
|00000ba0| 68 65 20 70 72 6f 67 72 | 61 6d 2e 20 20 59 6f 75 |he progr|am. You|
|00000bb0| 20 63 61 6e 20 64 65 63 | 6c 61 72 65 20 61 20 73 | can dec|lare a s|
|00000bc0| 75 62 72 6f 75 74 69 6e | 65 20 77 69 74 68 6f 75 |ubroutin|e withou|
|00000bd0| 74 20 64 65 66 69 6e 69 | 6e 67 20 69 74 20 62 79 |t defini|ng it by|
|00000be0| 20 73 61 79 69 6e 67 20 | 07 68 65 72 0e 08 13 00 | saying |.her....|
|00000bf0| 14 07 13 00 0e 08 13 00 | 00 00 00 00 73 75 62 20 |........|....sub |
|00000c00| 6e 61 6d 65 08 00 00 00 | 0e 09 13 00 14 07 13 00 |name....|........|
|00000c10| 00 00 00 00 2c 20 74 68 | 75 73 3a 0d 08 7c 08 05 |...., th|us:..|..|
|00000c20| 14 00 00 00 00 00 00 00 | 07 77 6f 75 12 0a 13 00 |........|.wou....|
|00000c30| 12 0a 13 00 00 00 00 00 | 07 6f 75 74 0c 0b 13 00 |........|.out....|
|00000c40| 12 0a 13 00 0c 0b 13 00 | 00 00 00 00 00 d0 00 00 |........|........|
|00000c50| 25 24 00 00 40 d0 01 01 | 3e ad f8 ff 4e d4 f8 ff |%$..@...|>...N...|
|00000c60| 70 1a 00 00 73 75 62 20 | 6d 79 6e 61 6d 65 3b 0d |p...sub |myname;.|
|00000c70| 00 24 00 00 a5 78 00 00 | 40 a0 f1 04 5e 7e f8 ff |.$...x..|@...^~..|
|00000c80| 6e a5 f8 ff 70 1a 00 00 | 24 6d 65 20 3d 20 6d 79 |n...p...|$me = my|
|00000c90| 6e 61 6d 65 20 24 30 20 | 20 20 20 20 20 20 20 20 |name $0 | |
|00000ca0| 20 20 20 20 6f 72 20 64 | 69 65 20 22 63 61 6e 27 | or d|ie "can'|
|00000cb0| 74 20 67 65 74 20 6d 79 | 6e 61 6d 65 22 3b 0d 08 |t get my|name";..|
|00000cc0| 0c 0c 13 00 12 0a 13 00 | 00 00 00 00 08 20 07 05 |........|..... ..|
|00000cd0| 12 00 00 00 00 00 00 00 | 07 00 00 00 18 0d 13 00 |........|........|
|00000ce0| 18 0d 13 00 00 00 00 00 | 00 78 00 00 a5 24 00 00 |........|.x...$..|
|00000cf0| 40 00 00 00 ce 69 f8 ff | 8e 76 f8 ff 00 00 00 00 |@....i..|.v......|
|00000d00| 0d 08 72 20 18 0e 13 00 | 00 00 00 00 00 24 00 00 |..r ....|.....$..|
|00000d10| 85 c0 00 00 00 fc dd 07 | fe 10 f8 ff de 3f f8 ff |........|.....?..|
|00000d20| 20 22 00 00 4e 6f 74 65 | 20 74 68 61 74 20 69 74 | "..Note| that it|
|00000d30| 20 66 75 6e 63 74 69 6f | 6e 73 20 61 73 20 61 20 | functio|ns as a |
|00000d40| 6c 69 73 74 20 6f 70 65 | 72 61 74 6f 72 2c 20 6e |list ope|rator, n|
|00000d50| 6f 74 20 61 73 20 61 20 | 75 6e 61 72 79 20 6f 70 |ot as a |unary op|
|00000d60| 65 72 61 74 6f 72 3b 20 | 73 6f 20 62 65 20 63 61 |erator; |so be ca|
|00000d70| 72 65 66 75 6c 20 74 6f | 20 75 73 65 20 07 72 69 |reful to| use .ri|
|00000d80| 0e 0f 13 00 0e 0f 13 00 | 00 00 00 00 6f 72 08 74 |........|....or.t|
|00000d90| 0e 10 13 00 00 00 00 00 | 20 69 6e 73 74 65 61 64 |........| instead|
|00000da0| 20 6f 66 20 07 69 61 62 | 0e 11 13 00 0e 11 13 00 | of .iab|........|
|00000db0| 00 00 00 00 7c 7c 08 63 | 0e 12 13 00 00 00 00 00 |....||.c|........|
|00000dc0| 20 69 6e 20 74 68 69 73 | 20 00 00 00 00 c0 00 00 | in this| .......|
|00000dd0| 85 a4 00 00 00 48 4a 07 | d7 d8 f7 ff b7 07 f8 ff |.....HJ.|........|
|00000de0| 20 22 00 00 63 61 73 65 | 2e 20 20 48 6f 77 65 76 | "..case|. Howev|
|00000df0| 65 72 2c 20 69 66 20 79 | 6f 75 20 77 65 72 65 20 |er, if y|ou were |
|00000e00| 74 6f 20 64 65 63 6c 61 | 72 65 20 74 68 65 20 73 |to decla|re the s|
|00000e10| 75 62 72 6f 75 74 69 6e | 65 20 61 73 20 07 20 77 |ubroutin|e as . w|
|00000e20| 0e 13 13 00 0e 13 13 00 | 00 00 00 00 73 75 62 20 |........|....sub |
|00000e30| 6d 79 6e 61 6d 65 20 28 | 24 29 08 20 0e 14 13 00 |myname (|$). ....|
|00000e40| 00 00 00 00 2c 20 74 68 | 65 6e 20 07 0e 15 13 00 |...., th|en .....|
|00000e50| 0e 15 13 00 00 00 00 00 | 6d 79 6e 61 6d 65 08 70 |........|myname.p|
|00000e60| 0e 16 13 00 00 00 00 00 | 20 77 6f 75 6c 64 20 00 |........| would .|
|00000e70| 00 a4 00 00 a5 8c 00 00 | 40 d4 a5 04 b0 a0 f7 ff |........|@.......|
|00000e80| 90 cf f7 ff 20 22 00 00 | 66 75 6e 63 74 6f 6e 69 |.... "..|functoni|
|00000e90| 6f 6e 20 61 73 20 61 20 | 75 6e 61 72 79 20 6f 70 |on as a |unary op|
|00000ea0| 65 72 61 74 6f 72 2c 20 | 73 6f 20 65 69 74 68 65 |erator, |so eithe|
|00000eb0| 72 20 07 6e 0e 17 13 00 | 0e 17 13 00 00 00 00 00 |r .n....|........|
|00000ec0| 6f 72 08 74 0e 18 13 00 | 00 00 00 00 20 6f 72 20 |or.t....|.... or |
|00000ed0| 07 78 70 72 0e 19 13 00 | 0e 19 13 00 00 00 00 00 |.xpr....|........|
|00000ee0| 7c 7c 08 64 0e 1a 13 00 | 00 00 00 00 20 77 6f 75 |||.d....|.... wou|
|00000ef0| 6c 64 20 77 6f 72 6b 2e | 0d 00 00 00 00 8c 00 00 |ld work.|........|
|00000f00| 85 98 00 00 00 68 c0 07 | d9 31 f7 ff b9 60 f7 ff |.....h..|.1...`..|
|00000f10| 20 22 00 00 53 75 62 72 | 6f 75 74 69 6e 65 73 20 | "..Subr|outines |
|00000f20| 64 65 63 6c 61 72 61 74 | 69 6f 6e 73 20 63 61 6e |declarat|ions can|
|00000f30| 20 61 6c 73 6f 20 62 65 | 20 6c 6f 61 64 65 64 20 | also be| loaded |
|00000f40| 75 70 20 77 69 74 68 20 | 74 68 65 20 07 6c 20 73 |up with |the .l s|
|00000f50| 0e 1b 13 00 0e 1b 13 00 | 00 00 00 00 72 65 71 75 |........|....requ|
|00000f60| 69 72 65 08 0e 1c 13 00 | 00 00 00 00 20 73 74 61 |ire.....|.... sta|
|00000f70| 74 65 6d 65 6e 74 20 6f | 72 20 62 6f 74 68 20 6c |tement o|r both l|
|00000f80| 6f 61 64 65 64 20 61 6e | 64 20 69 6d 70 6f 72 74 |oaded an|d import|
|00000f90| 65 64 20 00 00 98 00 00 | a5 a0 00 00 40 0c 6c 06 |ed .....|....@.l.|
|00000fa0| b2 f9 f6 ff 92 28 f7 ff | 20 22 00 00 69 6e 74 6f |.....(..| "..into|
|00000fb0| 20 79 6f 75 72 20 6e 61 | 6d 65 73 70 61 63 65 20 | your na|mespace |
|00000fc0| 77 69 74 68 20 61 20 07 | 0e 1d 13 00 0e 1d 13 00 |with a .|........|
|00000fd0| 00 00 00 00 75 73 65 08 | 0e 1e 13 00 00 00 00 00 |....use.|........|
|00000fe0| 20 73 74 61 74 65 6d 65 | 6e 74 2e 20 53 65 65 20 | stateme|nt. See |
|00000ff0| 74 68 65 20 63 68 61 70 | 74 65 72 20 07 64 20 61 |the chap|ter .d a|
|00001000| 10 1f 13 00 10 1f 13 00 | 00 00 00 00 70 65 72 6c |........|....perl|
|00001010| 6d 6f 64 08 10 00 00 00 | 00 00 00 00 20 66 6f 72 |mod.....|.... for|
|00001020| 20 64 65 74 61 69 6c 73 | 20 6f 6e 20 74 68 69 73 | details| on this|
|00001030| 2e 0d 00 00 00 a0 00 00 | 05 80 00 00 00 78 9b 07 |........|.....x..|
|00001040| db 8a f6 ff bb b9 f6 ff | 20 22 00 00 41 20 73 74 |........| "..A st|
|00001050| 61 74 65 6d 65 6e 74 20 | 73 65 71 75 65 6e 63 65 |atement |sequence|
|00001060| 20 6d 61 79 20 63 6f 6e | 74 61 69 6e 20 64 65 63 | may con|tain dec|
|00001070| 6c 61 72 61 74 69 6f 6e | 73 20 6f 66 20 6c 65 78 |laration|s of lex|
|00001080| 69 63 61 6c 6c 79 2d 73 | 63 6f 70 65 64 20 76 61 |ically-s|coped va|
|00001090| 72 69 61 62 6c 65 73 2c | 20 62 75 74 20 61 70 61 |riables,| but apa|
|000010a0| 72 74 20 66 72 6f 6d 20 | 64 65 63 6c 61 72 69 6e |rt from |declarin|
|000010b0| 67 20 61 20 00 80 00 00 | 05 84 00 00 00 58 85 07 |g a ....|.....X..|
|000010c0| b4 52 f6 ff 94 81 f6 ff | 20 22 00 00 76 61 72 69 |.R......| "..vari|
|000010d0| 61 62 6c 65 20 6e 61 6d | 65 2c 20 74 68 65 20 64 |able nam|e, the d|
|000010e0| 65 63 6c 61 72 61 74 69 | 6f 6e 20 61 63 74 73 20 |eclarati|on acts |
|000010f0| 6c 69 6b 65 20 61 6e 20 | 6f 72 64 69 6e 61 72 79 |like an |ordinary|
|00001100| 20 73 74 61 74 65 6d 65 | 6e 74 2c 20 61 6e 64 20 | stateme|nt, and |
|00001110| 69 73 20 65 6c 61 62 6f | 72 61 74 65 64 20 77 69 |is elabo|rated wi|
|00001120| 74 68 69 6e 20 74 68 65 | 20 73 65 71 75 65 6e 63 |thin the| sequenc|
|00001130| 65 20 6f 66 20 00 00 00 | 00 84 00 00 05 84 00 00 |e of ...|........|
|00001140| 00 a8 bc 07 8d 1a f6 ff | 6d 49 f6 ff 20 22 00 00 |........|mI.. "..|
|00001150| 73 74 61 74 65 6d 65 6e | 74 73 20 61 73 20 69 66 |statemen|ts as if|
|00001160| 20 69 74 20 77 65 72 65 | 20 61 6e 20 6f 72 64 69 | it were| an ordi|
|00001170| 6e 61 72 79 20 73 74 61 | 74 65 6d 65 6e 74 2e 20 |nary sta|tement. |
|00001180| 20 54 68 61 74 20 6d 65 | 61 6e 73 20 69 74 20 61 | That me|ans it a|
|00001190| 63 74 75 61 6c 6c 79 20 | 68 61 73 20 62 6f 74 68 |ctually |has both|
|000011a0| 20 63 6f 6d 70 69 6c 65 | 2d 74 69 6d 65 20 61 6e | compile|-time an|
|000011b0| 64 20 72 75 6e 2d 74 69 | 6d 65 20 00 00 84 00 00 |d run-ti|me .....|
|000011c0| a5 30 00 00 40 cc 87 00 | 66 e2 f5 ff 46 11 f6 ff |.0..@...|f...F...|
|000011d0| 20 22 00 00 65 66 66 65 | 63 74 73 2e 0d 07 66 69 | "..effe|cts...fi|
|000011e0| 0a 20 13 00 0a 20 13 00 | 00 00 00 00 00 30 00 00 |. ... ..|.....0..|
|000011f0| a5 34 00 00 40 ce c1 01 | bf 6b f5 ff 6f a2 f5 ff |.4..@...|.k..o...|
|00001200| 18 2b 00 00 53 69 6d 70 | 6c 65 20 73 74 61 74 65 |.+..Simp|le state|
|00001210| 6d 65 6e 74 73 0d 08 00 | 0a 21 13 00 00 00 00 00 |ments...|.!......|
|00001220| 00 34 00 00 05 84 00 00 | 00 0c ad 07 8a 16 f5 ff |.4......|........|
|00001230| 6a 45 f5 ff 20 22 00 00 | 54 68 65 20 6f 6e 6c 79 |jE.. "..|The only|
|00001240| 20 6b 69 6e 64 20 6f 66 | 20 73 69 6d 70 6c 65 20 | kind of| simple |
|00001250| 73 74 61 74 65 6d 65 6e | 74 20 69 73 20 61 6e 20 |statemen|t is an |
|00001260| 65 78 70 72 65 73 73 69 | 6f 6e 20 65 76 61 6c 75 |expressi|on evalu|
|00001270| 61 74 65 64 20 66 6f 72 | 20 69 74 73 20 73 69 64 |ated for| its sid|
|00001280| 65 20 65 66 66 65 63 74 | 73 2e 20 20 45 76 65 72 |e effect|s. Ever|
|00001290| 79 20 73 69 6d 70 6c 65 | 20 73 74 61 74 65 6d 65 |y simple| stateme|
|000012a0| 6e 74 20 00 00 84 00 00 | 05 88 00 00 00 60 e3 07 |nt .....|.....`..|
|000012b0| 63 de f4 ff 43 0d f5 ff | 20 22 00 00 6d 75 73 74 |c...C...| "..must|
|000012c0| 20 62 65 20 74 65 72 6d | 69 6e 61 74 65 64 20 77 | be term|inated w|
|000012d0| 69 74 68 20 61 20 73 65 | 6d 69 63 6f 6c 6f 6e 2c |ith a se|micolon,|
|000012e0| 20 75 6e 6c 65 73 73 20 | 69 74 20 69 73 20 74 68 | unless |it is th|
|000012f0| 65 20 66 69 6e 61 6c 20 | 73 74 61 74 65 6d 65 6e |e final |statemen|
|00001300| 74 20 69 6e 20 61 20 62 | 6c 6f 63 6b 2c 20 69 6e |t in a b|lock, in|
|00001310| 20 77 68 69 63 68 20 63 | 61 73 65 20 74 68 65 20 | which c|ase the |
|00001320| 73 65 6d 69 63 6f 6c 6f | 6e 20 00 00 00 88 00 00 |semicolo|n ......|
|00001330| 05 84 00 00 00 f8 9c 07 | 3c a6 f4 ff 1c d5 f4 ff |........|<.......|
|00001340| 20 22 00 00 69 73 20 6f | 70 74 69 6f 6e 61 6c 2e | "..is o|ptional.|
|00001350| 20 20 28 41 20 73 65 6d | 69 63 6f 6c 6f 6e 20 69 | (A sem|icolon i|
|00001360| 73 20 73 74 69 6c 6c 20 | 65 6e 63 6f 75 72 61 67 |s still |encourag|
|00001370| 65 64 20 74 68 65 72 65 | 20 69 66 20 74 68 65 20 |ed there| if the |
|00001380| 62 6c 6f 63 6b 20 74 61 | 6b 65 73 20 75 70 20 6d |block ta|kes up m|
|00001390| 6f 72 65 20 74 68 61 6e | 20 6f 6e 65 20 6c 69 6e |ore than| one lin|
|000013a0| 65 2c 20 62 65 63 61 75 | 73 65 20 79 6f 75 20 00 |e, becau|se you .|
|000013b0| 00 84 00 00 85 b0 00 00 | 00 50 c0 07 15 6e f4 ff |........|.P...n..|
|000013c0| f5 9c f4 ff 20 22 00 00 | 6d 61 79 20 65 76 65 6e |.... "..|may even|
|000013d0| 74 75 61 6c 6c 79 20 61 | 64 64 20 61 6e 6f 74 68 |tually a|dd anoth|
|000013e0| 65 72 20 6c 69 6e 65 2e | 29 20 4e 6f 74 65 20 74 |er line.|) Note t|
|000013f0| 68 61 74 20 74 68 65 72 | 65 20 61 72 65 20 73 6f |hat ther|e are so|
|00001400| 6d 65 20 6f 70 65 72 61 | 74 6f 72 73 20 6c 69 6b |me opera|tors lik|
|00001410| 65 20 07 64 0e 22 13 00 | 0e 22 13 00 00 00 00 00 |e .d."..|."......|
|00001420| 65 76 61 6c 20 7b 7d 08 | 0e 23 13 00 00 00 00 00 |eval {}.|.#......|
|00001430| 20 61 6e 64 20 07 68 20 | 0e 24 13 00 0e 24 13 00 | and .h |.$...$..|
|00001440| 00 00 00 00 64 6f 20 7b | 7d 08 63 75 0e 25 13 00 |....do {|}.cu.%..|
|00001450| 00 00 00 00 20 74 68 61 | 74 20 6c 6f 6f 6b 20 00 |.... tha|t look .|
|00001460| 00 b0 00 00 05 80 00 00 | 00 f0 6b 07 ee 35 f4 ff |........|..k..5..|
|00001470| ce 64 f4 ff 20 22 00 00 | 6c 69 6b 65 20 63 6f 6d |.d.. "..|like com|
|00001480| 70 6f 75 6e 64 20 73 74 | 61 74 65 6d 65 6e 74 73 |pound st|atements|
|00001490| 2c 20 62 75 74 20 61 72 | 65 6e 27 74 20 28 74 68 |, but ar|en't (th|
|000014a0| 65 79 27 72 65 20 6a 75 | 73 74 20 54 45 52 4d 73 |ey're ju|st TERMs|
|000014b0| 20 69 6e 20 61 6e 20 65 | 78 70 72 65 73 73 69 6f | in an e|xpressio|
|000014c0| 6e 29 2c 20 61 6e 64 20 | 74 68 75 73 20 6e 65 65 |n), and |thus nee|
|000014d0| 64 20 61 6e 20 65 78 70 | 6c 69 63 69 74 20 00 00 |d an exp|licit ..|
|000014e0| 00 80 00 00 01 10 00 00 | 40 a0 a1 03 00 00 00 00 |........|@.......|
|000014f0| 00 10 00 00 02 14 00 00 | 64 02 00 00 00 00 00 00 |........|d.......|
|00001500| 00 00 00 00 00 14 00 00 | a5 68 00 00 40 a0 a1 03 |........|.h..@...|
|00001510| cf 44 f2 ff af 73 f2 ff | 20 22 00 00 16 00 00 00 |.D...s..| "......|
|00001520| b0 fc 07 00 00 00 00 00 | 74 65 72 6d 69 6e 61 74 |........|terminat|
|00001530| 69 6f 6e 20 69 66 20 75 | 73 65 64 20 61 73 20 74 |ion if u|sed as t|
|00001540| 68 65 20 6c 61 73 74 20 | 69 74 65 6d 20 69 6e 20 |he last |item in |
|00001550| 61 20 73 74 61 74 65 6d | 65 6e 74 2e 0d 07 73 74 |a statem|ent...st|
|00001560| 14 26 13 00 14 26 13 00 | 00 00 00 00 00 68 00 00 |.&...&..|.....h..|
|00001570| 85 9c 00 00 00 e8 61 07 | f8 d5 f1 ff d8 04 f2 ff |......a.|........|
|00001580| 20 22 00 00 41 6e 79 20 | 73 69 6d 70 6c 65 20 73 | "..Any |simple s|
|00001590| 74 61 74 65 6d 65 6e 74 | 20 6d 61 79 20 6f 70 74 |tatement| may opt|
|000015a0| 69 6f 6e 61 6c 6c 79 20 | 62 65 20 66 6f 6c 6c 6f |ionally |be follo|
|000015b0| 77 65 64 20 62 79 20 61 | 20 07 00 00 11 27 13 00 |wed by a| ....'..|
|000015c0| 14 26 13 00 11 27 13 00 | 00 00 00 00 53 49 4e 47 |.&...'..|....SING|
|000015d0| 4c 45 08 6d 11 00 00 00 | 14 26 13 00 00 00 00 00 |LE.m....|.&......|
|000015e0| 20 6d 6f 64 69 66 69 65 | 72 2c 20 6a 75 73 74 20 | modifie|r, just |
|000015f0| 62 65 66 6f 72 65 20 74 | 68 65 20 74 65 72 6d 69 |before t|he termi|
|00001600| 6e 61 74 69 6e 67 20 00 | 00 9c 00 00 a5 80 00 00 |nating .|........|
|00001610| 40 d4 33 04 d1 9d f1 ff | b1 cc f1 ff 20 22 00 00 |@.3.....|.... "..|
|00001620| 73 65 6d 69 63 6f 6c 6f | 6e 20 28 6f 72 20 62 6c |semicolo|n (or bl|
|00001630| 6f 63 6b 20 65 6e 64 69 | 6e 67 29 2e 20 20 54 68 |ock endi|ng). Th|
|00001640| 65 20 70 6f 73 73 69 62 | 6c 65 20 6d 6f 64 69 66 |e possib|le modif|
|00001650| 69 65 72 73 20 61 72 65 | 3a 0d 08 20 14 00 00 00 |iers are|:.. ....|
|00001660| 00 00 00 00 07 74 20 73 | 12 28 13 00 12 28 13 00 |.....t s|.(...(..|
|00001670| 00 00 00 00 07 0d 07 05 | 0c 29 13 00 12 28 13 00 |........|.)...(..|
|00001680| 0c 29 13 00 00 00 00 00 | 00 80 00 00 25 20 00 00 |.)......|....% ..|
|00001690| 40 10 a4 00 ca 36 f1 ff | da 5d f1 ff 70 1a 00 00 |@....6..|.]..p...|
|000016a0| 69 66 20 45 58 50 52 0d | 00 20 00 00 25 24 00 00 |if EXPR.|. ..%$..|
|000016b0| 40 d0 01 01 ea 07 f1 ff | fa 2e f1 ff 70 1a 00 00 |@.......|....p...|
|000016c0| 75 6e 6c 65 73 73 20 45 | 58 50 52 0d 00 24 00 00 |unless E|XPR..$..|
|000016d0| 25 24 00 00 40 60 ea 00 | 0a d9 f0 ff 1a 00 f1 ff |%$..@`..|........|
|000016e0| 70 1a 00 00 77 68 69 6c | 65 20 45 58 50 52 0d 00 |p...whil|e EXPR..|
|000016f0| 00 24 00 00 a5 4c 00 00 | 40 60 ea 00 2a aa f0 ff |.$...L..|@`..*...|
|00001700| 3a d1 f0 ff 70 1a 00 00 | 75 6e 74 69 6c 20 45 58 |:...p...|until EX|
|00001710| 50 52 0d 08 0c 2a 13 00 | 12 28 13 00 00 00 00 00 |PR...*..|.(......|
|00001720| 08 6e 67 20 12 00 00 00 | 00 00 00 00 07 65 20 63 |.ng ....|.....e c|
|00001730| 18 2b 13 00 18 2b 13 00 | 00 00 00 00 00 4c 00 00 |.+...+..|.....L..|
|00001740| a5 34 00 00 40 00 00 00 | 9a 95 f0 ff 5a a2 f0 ff |.4..@...|....Z...|
|00001750| 00 00 00 00 0d 08 20 61 | 18 2c 13 00 00 00 00 00 |...... a|.,......|
|00001760| 07 29 2c 20 14 2d 13 00 | 14 2d 13 00 00 00 00 00 |.), .-..|.-......|
|00001770| 00 34 00 00 85 d4 00 00 | 00 d4 c0 07 ca 3c f0 ff |.4......|.....<..|
|00001780| aa 6b f0 ff 20 22 00 00 | 54 68 65 20 07 20 65 78 |.k.. "..|The . ex|
|00001790| 0e 2e 13 00 14 2d 13 00 | 0e 2e 13 00 00 00 00 00 |.....-..|........|
|000017a0| 69 66 08 6e 0e 2f 13 00 | 14 2d 13 00 00 00 00 00 |if.n./..|.-......|
|000017b0| 20 61 6e 64 20 07 61 6c | 0e 30 13 00 14 2d 13 00 | and .al|.0...-..|
|000017c0| 0e 30 13 00 00 00 00 00 | 75 6e 6c 65 73 73 08 63 |.0......|unless.c|
|000017d0| 0e 31 13 00 14 2d 13 00 | 00 00 00 00 20 6d 6f 64 |.1...-..|.... mod|
|000017e0| 69 66 69 65 72 73 20 68 | 61 76 65 20 74 68 65 20 |ifiers h|ave the |
|000017f0| 65 78 70 65 63 74 65 64 | 20 73 65 6d 61 6e 74 69 |expected| semanti|
|00001800| 63 73 2c 20 70 72 65 73 | 75 6d 69 6e 67 20 79 6f |cs, pres|uming yo|
|00001810| 75 27 72 65 20 61 20 73 | 70 65 61 6b 65 72 20 6f |u're a s|peaker o|
|00001820| 66 20 45 6e 67 6c 69 73 | 68 2e 20 20 54 68 65 20 |f Englis|h. The |
|00001830| 07 4c 4f 43 0e 32 13 00 | 14 2d 13 00 0e 32 13 00 |.LOC.2..|.-...2..|
|00001840| 00 00 00 00 00 d4 00 00 | 85 b0 00 00 00 d8 80 07 |........|........|
|00001850| a3 04 f0 ff 83 33 f0 ff | ba 1f 00 00 77 68 69 6c |.....3..|....whil|
|00001860| 65 08 6e 74 0e 33 13 00 | 14 2d 13 00 00 00 00 00 |e.nt.3..|.-......|
|00001870| 20 61 6e 64 20 07 6f 6e | 0e 34 13 00 14 2d 13 00 | and .on|.4...-..|
|00001880| 0e 34 13 00 00 00 00 00 | 75 6e 74 69 6c 08 05 05 |.4......|until...|
|00001890| 0e 35 13 00 14 2d 13 00 | 00 00 00 00 20 6d 6f 64 |.5...-..|.... mod|
|000018a0| 69 66 69 65 72 73 20 61 | 6c 73 6f 20 68 61 76 65 |ifiers a|lso have|
|000018b0| 20 74 68 65 20 75 73 75 | 61 6c 20 22 77 68 69 6c | the usu|al "whil|
|000018c0| 65 20 6c 6f 6f 70 22 20 | 73 65 6d 61 6e 74 69 63 |e loop" |semantic|
|000018d0| 73 20 28 63 6f 6e 64 69 | 74 69 6f 6e 61 6c 20 65 |s (condi|tional e|
|000018e0| 76 61 6c 75 61 74 65 64 | 20 66 69 72 73 74 29 2c |valuated| first),|
|000018f0| 20 00 00 00 00 b0 00 00 | 05 78 00 00 00 f8 a5 07 | .......|.x......|
|00001900| 7c cc ef ff 5c fb ef ff | 20 22 00 00 65 78 63 65 ||...\...| "..exce|
|00001910| 70 74 20 77 68 65 6e 20 | 61 70 70 6c 69 65 64 20 |pt when |applied |
|00001920| 74 6f 20 61 20 64 6f 2d | 42 4c 4f 43 4b 20 28 6f |to a do-|BLOCK (o|
|00001930| 72 20 74 6f 20 74 68 65 | 20 6e 6f 77 2d 64 65 70 |r to the| now-dep|
|00001940| 72 65 63 61 74 65 64 20 | 64 6f 2d 53 55 42 52 4f |recated |do-SUBRO|
|00001950| 55 54 49 4e 45 20 73 74 | 61 74 65 6d 65 6e 74 29 |UTINE st|atement)|
|00001960| 2c 20 69 6e 20 77 68 69 | 63 68 20 00 00 78 00 00 |, in whi|ch ..x..|
|00001970| a5 b4 00 00 40 94 af 07 | 55 94 ef ff 35 c3 ef ff |....@...|U...5...|
|00001980| 20 22 00 00 63 61 73 65 | 20 74 68 65 20 62 6c 6f | "..case| the blo|
|00001990| 63 6b 20 65 78 65 63 75 | 74 65 73 20 6f 6e 63 65 |ck execu|tes once|
|000019a0| 20 62 65 66 6f 72 65 20 | 74 68 65 20 63 6f 6e 64 | before |the cond|
|000019b0| 69 74 69 6f 6e 61 6c 20 | 69 73 20 65 76 61 6c 75 |itional |is evalu|
|000019c0| 61 74 65 64 2e 20 20 54 | 68 69 73 20 69 73 20 73 |ated. T|his is s|
|000019d0| 6f 20 74 68 61 74 20 79 | 6f 75 20 63 61 6e 20 77 |o that y|ou can w|
|000019e0| 72 69 74 65 20 6c 6f 6f | 70 73 20 6c 69 6b 65 3a |rite loo|ps like:|
|000019f0| 0d 08 74 65 14 00 00 00 | 00 00 00 00 07 6c 69 6b |..te....|.....lik|
|00001a00| 12 36 13 00 12 36 13 00 | 00 00 00 00 07 6c 2c 20 |.6...6..|.....l, |
|00001a10| 0c 37 13 00 12 36 13 00 | 0c 37 13 00 00 00 00 00 |.7...6..|.7......|
|00001a20| 00 b4 00 00 25 20 00 00 | 40 c0 5d 00 4e 2d ef ff |....% ..|@.].N-..|
|00001a30| 5e 54 ef ff 70 1a 00 00 | 64 6f 20 7b 0d 00 00 00 |^T..p...|do {....|
|00001a40| 00 20 00 00 25 30 00 00 | 40 c0 d4 01 6e fe ee ff |. ..%0..|@...n...|
|00001a50| 7e 25 ef ff 70 1a 00 00 | 20 20 20 20 24 6c 69 6e |~%..p...| $lin|
|00001a60| 65 20 3d 20 3c 53 54 44 | 49 4e 3e 3b 0d 00 00 00 |e = <STD|IN>;....|
|00001a70| 00 30 00 00 25 20 00 00 | 40 10 a4 00 8e cf ee ff |.0..% ..|@.......|
|00001a80| 9e f6 ee ff 70 1a 00 00 | 20 20 20 20 2e 2e 2e 0d |....p...| ....|
|00001a90| 00 20 00 00 a5 5c 00 00 | 40 80 32 02 ae a0 ee ff |. ...\..|@.2.....|
|00001aa0| be c7 ee ff 70 1a 00 00 | 7d 20 75 6e 74 69 6c 20 |....p...|} until |
|00001ab0| 24 6c 69 6e 65 20 20 65 | 71 20 22 2e 5c 6e 22 3b |$line e|q ".\n";|
|00001ac0| 0d 08 77 61 0c 38 13 00 | 12 36 13 00 00 00 00 00 |..wa.8..|.6......|
|00001ad0| 08 6f 6e 64 12 00 00 00 | 00 00 00 00 07 77 69 74 |.ond....|.....wit|
|00001ae0| 18 39 13 00 18 39 13 00 | 00 00 00 00 00 5c 00 00 |.9...9..|.....\..|
|00001af0| a5 24 00 00 40 00 00 00 | 1e 8c ee ff de 98 ee ff |.$..@...|........|
|00001b00| 00 00 00 00 0d 08 6f 74 | 18 3a 13 00 00 00 00 00 |......ot|.:......|
|00001b10| 00 24 00 00 85 ac 00 00 | 00 30 b6 07 4e 33 ee ff |.$......|.0..N3..|
|00001b20| 2e 62 ee ff 20 22 00 00 | 53 65 65 20 74 68 65 20 |.b.. "..|See the |
|00001b30| 22 64 6f 22 20 65 6e 74 | 72 79 20 69 6e 20 74 68 |"do" ent|ry in th|
|00001b40| 65 20 63 68 61 70 74 65 | 72 20 07 00 10 3b 13 00 |e chapte|r ...;..|
|00001b50| 10 3b 13 00 00 00 00 00 | 70 65 72 6c 66 75 6e 63 |.;......|perlfunc|
|00001b60| 08 48 13 00 10 00 00 00 | 00 00 00 00 2e 20 20 4e |.H......|..... N|
|00001b70| 6f 74 65 20 61 6c 73 6f | 20 74 68 61 74 20 74 68 |ote also| that th|
|00001b80| 65 20 6c 6f 6f 70 20 63 | 6f 6e 74 72 6f 6c 20 73 |e loop c|ontrol s|
|00001b90| 74 61 74 65 6d 65 6e 74 | 73 20 64 65 73 63 72 69 |tatement|s descri|
|00001ba0| 62 65 64 20 6c 61 74 65 | 72 20 77 69 6c 6c 20 07 |bed late|r will .|
|00001bb0| 11 3c 13 00 11 3c 13 00 | 00 00 00 00 00 ac 00 00 |.<...<..|........|
|00001bc0| 85 8c 00 00 00 2c d5 07 | 27 fb ed ff 07 2a ee ff |.....,..|'....*..|
|00001bd0| f8 22 00 00 4e 4f 54 08 | 11 00 00 00 00 00 00 00 |."..NOT.|........|
|00001be0| 20 77 6f 72 6b 20 69 6e | 20 74 68 69 73 20 63 6f | work in| this co|
|00001bf0| 6e 73 74 72 75 63 74 2c | 20 62 65 63 61 75 73 65 |nstruct,| because|
|00001c00| 20 6d 6f 64 69 66 69 65 | 72 73 20 64 6f 6e 27 74 | modifie|rs don't|
|00001c10| 20 74 61 6b 65 20 6c 6f | 6f 70 20 6c 61 62 65 6c | take lo|op label|
|00001c20| 73 2e 20 20 53 6f 72 72 | 79 2e 20 20 59 6f 75 20 |s. Sorr|y. You |
|00001c30| 63 61 6e 20 61 6c 77 61 | 79 73 20 77 72 61 70 20 |can alwa|ys wrap |
|00001c40| 61 6e 6f 74 68 65 72 20 | 00 8c 00 00 a5 50 00 00 |another |.....P..|
|00001c50| 40 40 d5 02 00 c3 ed ff | e0 f1 ed ff 20 22 00 00 |@@......|.... "..|
|00001c60| 62 6c 6f 63 6b 20 61 72 | 6f 75 6e 64 20 69 74 20 |block ar|ound it |
|00001c70| 74 6f 20 64 6f 20 74 68 | 61 74 20 73 6f 72 74 20 |to do th|at sort |
|00001c80| 6f 66 20 74 68 69 6e 67 | 2e 0d 07 00 0a 3d 13 00 |of thing|.....=..|
|00001c90| 0a 3d 13 00 00 00 00 00 | 00 50 00 00 a5 38 00 00 |.=......|.P...8..|
|00001ca0| 40 28 26 02 59 4c ed ff | 09 83 ed ff 18 2b 00 00 |@(&.YL..|.....+..|
|00001cb0| 43 6f 6d 70 6f 75 6e 64 | 20 73 74 61 74 65 6d 65 |Compound| stateme|
|00001cc0| 6e 74 73 0d 08 65 6d 65 | 0a 3e 13 00 00 00 00 00 |nts..eme|.>......|
|00001cd0| 00 38 00 00 05 84 00 00 | 00 30 bc 07 24 f7 ec ff |.8......|.0..$...|
|00001ce0| 04 26 ed ff 20 22 00 00 | 49 6e 20 50 65 72 6c 2c |.&.. "..|In Perl,|
|00001cf0| 20 61 20 73 65 71 75 65 | 6e 63 65 20 6f 66 20 73 | a seque|nce of s|
|00001d00| 74 61 74 65 6d 65 6e 74 | 73 20 74 68 61 74 20 64 |tatement|s that d|
|00001d10| 65 66 69 6e 65 73 20 61 | 20 73 63 6f 70 65 20 69 |efines a| scope i|
|00001d20| 73 20 63 61 6c 6c 65 64 | 20 61 20 62 6c 6f 63 6b |s called| a block|
|00001d30| 2e 20 53 6f 6d 65 74 69 | 6d 65 73 20 61 20 62 6c |. Someti|mes a bl|
|00001d40| 6f 63 6b 20 69 73 20 64 | 65 6c 69 6d 69 74 65 64 |ock is d|elimited|
|00001d50| 20 62 79 20 00 84 00 00 | 05 88 00 00 00 74 9f 07 | by ....|.....t..|
|00001d60| fd be ec ff dd ed ec ff | 20 22 00 00 74 68 65 20 |........| "..the |
|00001d70| 66 69 6c 65 20 63 6f 6e | 74 61 69 6e 69 6e 67 20 |file con|taining |
|00001d80| 69 74 20 28 69 6e 20 74 | 68 65 20 63 61 73 65 20 |it (in t|he case |
|00001d90| 6f 66 20 61 20 72 65 71 | 75 69 72 65 64 20 66 69 |of a req|uired fi|
|00001da0| 6c 65 2c 20 6f 72 20 74 | 68 65 20 70 72 6f 67 72 |le, or t|he progr|
|00001db0| 61 6d 20 61 73 20 61 20 | 77 68 6f 6c 65 29 2c 20 |am as a |whole), |
|00001dc0| 61 6e 64 20 73 6f 6d 65 | 74 69 6d 65 73 20 61 20 |and some|times a |
|00001dd0| 62 6c 6f 63 6b 20 69 73 | 20 00 00 00 00 88 00 00 |block is| .......|
|00001de0| 25 58 00 00 40 d4 39 04 | d6 86 ec ff b6 b5 ec ff |%X..@.9.|........|
|00001df0| 20 22 00 00 64 65 6c 69 | 6d 69 74 65 64 20 62 79 | "..deli|mited by|
|00001e00| 20 74 68 65 20 65 78 74 | 65 6e 74 20 6f 66 20 61 | the ext|ent of a|
|00001e10| 20 73 74 72 69 6e 67 20 | 28 69 6e 20 74 68 65 20 | string |(in the |
|00001e20| 63 61 73 65 20 6f 66 20 | 61 6e 20 65 76 61 6c 29 |case of |an eval)|
|00001e30| 2e 0d 00 00 00 58 00 00 | 05 84 00 00 00 8c 6f 07 |.....X..|......o.|
|00001e40| ff 17 ec ff df 46 ec ff | 20 22 00 00 42 75 74 20 |.....F..| "..But |
|00001e50| 67 65 6e 65 72 61 6c 6c | 79 2c 20 61 20 62 6c 6f |generall|y, a blo|
|00001e60| 63 6b 20 69 73 20 64 65 | 6c 69 6d 69 74 65 64 20 |ck is de|limited |
|00001e70| 62 79 20 63 75 72 6c 79 | 20 62 72 61 63 6b 65 74 |by curly| bracket|
|00001e80| 73 2c 20 61 6c 73 6f 20 | 6b 6e 6f 77 6e 20 61 73 |s, also |known as|
|00001e90| 20 62 72 61 63 65 73 2e | 20 57 65 20 77 69 6c 6c | braces.| We will|
|00001ea0| 20 63 61 6c 6c 20 74 68 | 69 73 20 73 79 6e 74 61 | call th|is synta|
|00001eb0| 63 74 69 63 20 00 00 00 | 00 84 00 00 a5 38 00 00 |ctic ...|.....8..|
|00001ec0| 40 ac 82 01 d8 df eb ff | b8 0e ec ff 20 22 00 00 |@.......|.... "..|
|00001ed0| 63 6f 6e 73 74 72 75 63 | 74 20 61 20 42 4c 4f 43 |construc|t a BLOC|
|00001ee0| 4b 2e 0d 07 14 3f 13 00 | 14 3f 13 00 00 00 00 00 |K....?..|.?......|
|00001ef0| 00 38 00 00 a5 84 00 00 | 40 94 d3 04 01 71 eb ff |.8......|@....q..|
|00001f00| e1 9f eb ff 20 22 00 00 | 54 68 65 20 66 6f 6c 6c |.... "..|The foll|
|00001f10| 6f 77 69 6e 67 20 63 6f | 6d 70 6f 75 6e 64 20 73 |owing co|mpound s|
|00001f20| 74 61 74 65 6d 65 6e 74 | 73 20 6d 61 79 20 62 65 |tatement|s may be|
|00001f30| 20 75 73 65 64 20 74 6f | 20 63 6f 6e 74 72 6f 6c | used to| control|
|00001f40| 20 66 6c 6f 77 3a 0d 08 | 14 00 00 00 00 00 00 00 | flow:..|........|
|00001f50| 07 5a 13 00 12 40 13 00 | 12 40 13 00 00 00 00 00 |.Z...@..|.@......|
|00001f60| 07 05 05 05 0c 41 13 00 | 12 40 13 00 0c 41 13 00 |.....A..|.@...A..|
|00001f70| 00 00 00 00 00 84 00 00 | 25 28 00 00 40 90 5f 01 |........|%(..@._.|
|00001f80| fa 09 eb ff 0a 31 eb ff | 70 1a 00 00 69 66 20 28 |.....1..|p...if (|
|00001f90| 45 58 50 52 29 20 42 4c | 4f 43 4b 0d 00 28 00 00 |EXPR) BL|OCK..(..|
|00001fa0| 25 34 00 00 40 60 61 02 | 1a db ea ff 2a 02 eb ff |%4..@`a.|....*...|
|00001fb0| 70 1a 00 00 69 66 20 28 | 45 58 50 52 29 20 42 4c |p...if (|EXPR) BL|
|00001fc0| 4f 43 4b 20 65 6c 73 65 | 20 42 4c 4f 43 4b 0d 00 |OCK else| BLOCK..|
|00001fd0| 00 34 00 00 25 4c 00 00 | 40 70 7c 04 3a ac ea ff |.4..%L..|@p|.:...|
|00001fe0| 4a d3 ea ff 70 1a 00 00 | 69 66 20 28 45 58 50 52 |J...p...|if (EXPR|
|00001ff0| 29 20 42 4c 4f 43 4b 20 | 65 6c 73 69 66 20 28 45 |) BLOCK |elsif (E|
|00002000| 58 50 52 29 20 42 4c 4f | 43 4b 20 2e 2e 2e 20 65 |XPR) BLO|CK ... e|
|00002010| 6c 73 65 20 42 4c 4f 43 | 4b 0d 00 00 00 4c 00 00 |lse BLOC|K....L..|
|00002020| 25 34 00 00 40 80 32 02 | 5a 7d ea ff 6a a4 ea ff |%4..@.2.|Z}..j...|
|00002030| 70 1a 00 00 4c 41 42 45 | 4c 20 77 68 69 6c 65 20 |p...LABE|L while |
|00002040| 28 45 58 50 52 29 20 42 | 4c 4f 43 4b 0d 00 00 00 |(EXPR) B|LOCK....|
|00002050| 00 34 00 00 25 40 00 00 | 40 10 92 03 7a 4e ea ff |.4..%@..|@...zN..|
|00002060| 8a 75 ea ff 70 1a 00 00 | 4c 41 42 45 4c 20 77 68 |.u..p...|LABEL wh|
|00002070| 69 6c 65 20 28 45 58 50 | 52 29 20 42 4c 4f 43 4b |ile (EXP|R) BLOCK|
|00002080| 20 63 6f 6e 74 69 6e 75 | 65 20 42 4c 4f 43 4b 0d | continu|e BLOCK.|
|00002090| 00 40 00 00 25 3c 00 00 | 40 e0 1c 03 9a 1f ea ff |.@..%<..|@.......|
|000020a0| aa 46 ea ff 70 1a 00 00 | 4c 41 42 45 4c 20 66 6f |.F..p...|LABEL fo|
|000020b0| 72 20 28 45 58 50 52 3b | 20 45 58 50 52 3b 20 45 |r (EXPR;| EXPR; E|
|000020c0| 58 50 52 29 20 42 4c 4f | 43 4b 0d 00 00 3c 00 00 |XPR) BLO|CK...<..|
|000020d0| 25 38 00 00 40 20 bf 02 | ba f0 e9 ff ca 17 ea ff |%8..@ ..|........|
|000020e0| 70 1a 00 00 4c 41 42 45 | 4c 20 66 6f 72 65 61 63 |p...LABE|L foreac|
|000020f0| 68 20 56 41 52 20 28 4c | 49 53 54 29 20 42 4c 4f |h VAR (L|IST) BLO|
|00002100| 43 4b 0d 00 00 38 00 00 | a5 5c 00 00 40 60 61 02 |CK...8..|.\..@`a.|
|00002110| da c1 e9 ff ea e8 e9 ff | 70 1a 00 00 4c 41 42 45 |........|p...LABE|
|00002120| 4c 20 42 4c 4f 43 4b 20 | 63 6f 6e 74 69 6e 75 65 |L BLOCK |continue|
|00002130| 20 42 4c 4f 43 4b 0d 08 | 0c 42 13 00 12 40 13 00 | BLOCK..|.B...@..|
|00002140| 00 00 00 00 08 20 70 61 | 12 00 00 00 00 00 00 00 |..... pa|........|
|00002150| 07 05 05 05 18 43 13 00 | 18 43 13 00 00 00 00 00 |.....C..|.C......|
|00002160| 00 5c 00 00 a5 34 00 00 | 40 00 00 00 4a ad e9 ff |.\...4..|@...J...|
|00002170| 0a ba e9 ff 00 00 00 00 | 0d 08 68 75 18 44 13 00 |........|..hu.D..|
|00002180| 00 00 00 00 07 62 65 20 | 14 45 13 00 14 45 13 00 |.....be |.E...E..|
|00002190| 00 00 00 00 00 34 00 00 | 05 84 00 00 00 74 d5 07 |.....4..|.....t..|
|000021a0| 7a 54 e9 ff 5a 83 e9 ff | 20 22 00 00 4e 6f 74 65 |zT..Z...| "..Note|
|000021b0| 20 74 68 61 74 2c 20 75 | 6e 6c 69 6b 65 20 43 20 | that, u|nlike C |
|000021c0| 61 6e 64 20 50 61 73 63 | 61 6c 2c 20 74 68 65 73 |and Pasc|al, thes|
|000021d0| 65 20 61 72 65 20 64 65 | 66 69 6e 65 64 20 69 6e |e are de|fined in|
|000021e0| 20 74 65 72 6d 73 20 6f | 66 20 42 4c 4f 43 4b 73 | terms o|f BLOCKs|
|000021f0| 2c 20 6e 6f 74 20 73 74 | 61 74 65 6d 65 6e 74 73 |, not st|atements|
|00002200| 2e 20 20 54 68 69 73 20 | 6d 65 61 6e 73 20 74 68 |. This |means th|
|00002210| 61 74 20 74 68 65 20 00 | 00 84 00 00 85 a4 00 00 |at the .|........|
|00002220| 00 d8 89 07 53 1c e9 ff | 33 4b e9 ff 20 22 00 00 |....S...|3K.. "..|
|00002230| 63 75 72 6c 79 20 62 72 | 61 63 6b 65 74 73 20 61 |curly br|ackets a|
|00002240| 72 65 20 07 11 46 13 00 | 14 45 13 00 11 46 13 00 |re ..F..|.E...F..|
|00002250| 00 00 00 00 72 65 71 75 | 69 72 65 64 08 6f 6f 70 |....requ|ired.oop|
|00002260| 11 00 00 00 14 45 13 00 | 00 00 00 00 2d 2d 6e 6f |.....E..|....--no|
|00002270| 20 64 61 6e 67 6c 69 6e | 67 20 73 74 61 74 65 6d | danglin|g statem|
|00002280| 65 6e 74 73 20 61 6c 6c | 6f 77 65 64 2e 20 20 49 |ents all|owed. I|
|00002290| 66 20 79 6f 75 20 77 61 | 6e 74 20 74 6f 20 77 72 |f you wa|nt to wr|
|000022a0| 69 74 65 20 63 6f 6e 64 | 69 74 69 6f 6e 61 6c 73 |ite cond|itionals|
|000022b0| 20 77 69 74 68 6f 75 74 | 20 00 00 00 00 a4 00 00 | without| .......|
|000022c0| a5 a4 00 00 40 50 7c 06 | 2c e4 e8 ff 0c 13 e9 ff |....@P|.|,.......|
|000022d0| 20 22 00 00 63 75 72 6c | 79 20 62 72 61 63 6b 65 | "..curl|y bracke|
|000022e0| 74 73 20 74 68 65 72 65 | 20 61 72 65 20 73 65 76 |ts there| are sev|
|000022f0| 65 72 61 6c 20 6f 74 68 | 65 72 20 77 61 79 73 20 |eral oth|er ways |
|00002300| 74 6f 20 64 6f 20 69 74 | 2e 20 20 54 68 65 20 66 |to do it|. The f|
|00002310| 6f 6c 6c 6f 77 69 6e 67 | 20 61 6c 6c 20 64 6f 20 |ollowing| all do |
|00002320| 74 68 65 20 73 61 6d 65 | 20 74 68 69 6e 67 3a 0d |the same| thing:.|
|00002330| 08 00 00 00 14 00 00 00 | 00 00 00 00 07 6e 13 00 |........|.....n..|
|00002340| 12 47 13 00 12 47 13 00 | 00 00 00 00 07 6e 13 00 |.G...G..|.....n..|
|00002350| 0c 48 13 00 12 47 13 00 | 0c 48 13 00 00 00 00 00 |.H...G..|.H......|
|00002360| 00 a4 00 00 25 48 00 00 | 40 20 36 04 25 7d e8 ff |....%H..|@ 6.%}..|
|00002370| 35 a4 e8 ff 70 1a 00 00 | 69 66 20 28 21 6f 70 65 |5...p...|if (!ope|
|00002380| 6e 28 46 4f 4f 29 29 20 | 7b 20 64 69 65 20 22 43 |n(FOO)) |{ die "C|
|00002390| 61 6e 27 74 20 6f 70 65 | 6e 20 24 46 4f 4f 3a 20 |an't ope|n $FOO: |
|000023a0| 24 21 22 3b 20 7d 0d 00 | 00 48 00 00 25 44 00 00 |$!"; }..|.H..%D..|
|000023b0| 40 d0 ef 03 45 4e e8 ff | 55 75 e8 ff 70 1a 00 00 |@...EN..|Uu..p...|
|000023c0| 64 69 65 20 22 43 61 6e | 27 74 20 6f 70 65 6e 20 |die "Can|'t open |
|000023d0| 24 46 4f 4f 3a 20 24 21 | 22 20 75 6e 6c 65 73 73 |$FOO: $!|" unless|
|000023e0| 20 6f 70 65 6e 28 46 4f | 4f 29 3b 0d 00 44 00 00 | open(FO|O);..D..|
|000023f0| 25 54 00 00 40 60 4f 05 | 65 1f e8 ff 75 46 e8 ff |%T..@`O.|e...uF..|
|00002400| 70 1a 00 00 6f 70 65 6e | 28 46 4f 4f 29 20 6f 72 |p...open|(FOO) or|
|00002410| 20 64 69 65 20 22 43 61 | 6e 27 74 20 6f 70 65 6e | die "Ca|n't open|
|00002420| 20 24 46 4f 4f 3a 20 24 | 21 22 3b 20 20 20 20 20 | $FOO: $|!"; |
|00002430| 23 20 46 4f 4f 20 6f 72 | 20 62 75 73 74 21 0d 00 |# FOO or| bust!..|
|00002440| 00 54 00 00 25 4c 00 00 | 40 70 7c 04 85 f0 e7 ff |.T..%L..|@p|.....|
|00002450| 95 17 e8 ff 70 1a 00 00 | 6f 70 65 6e 28 46 4f 4f |....p...|open(FOO|
|00002460| 29 20 3f 20 27 68 69 20 | 6d 6f 6d 27 20 3a 20 64 |) ? 'hi |mom' : d|
|00002470| 69 65 20 22 43 61 6e 27 | 74 20 6f 70 65 6e 20 24 |ie "Can'|t open $|
|00002480| 46 4f 4f 3a 20 24 21 22 | 3b 0d 00 00 00 4c 00 00 |FOO: $!"|;....L..|
|00002490| a5 74 00 00 40 70 7c 04 | a5 c1 e7 ff b5 e8 e7 ff |.t..@p|.|........|
|000024a0| 70 1a 00 00 20 20 20 20 | 20 20 20 20 20 20 20 20 |p... | |
|000024b0| 20 20 20 20 20 20 20 20 | 23 20 61 20 62 69 74 20 | |# a bit |
|000024c0| 65 78 6f 74 69 63 2c 20 | 74 68 61 74 20 6c 61 73 |exotic, |that las|
|000024d0| 74 20 6f 6e 65 0d 08 00 | 0c 49 13 00 12 47 13 00 |t one...|.I...G..|
|000024e0| 00 00 00 00 08 79 2c 20 | 12 00 00 00 00 00 00 00 |.....y, |........|
|000024f0| 07 65 63 75 18 4a 13 00 | 18 4a 13 00 00 00 00 00 |.ecu.J..|.J......|
|00002500| 00 74 00 00 a5 24 00 00 | 40 00 00 00 15 ad e7 ff |.t...$..|@.......|
|00002510| d5 b9 e7 ff 00 00 00 00 | 0d 08 13 00 18 4b 13 00 |........|.....K..|
|00002520| 00 00 00 00 00 24 00 00 | 85 98 00 00 00 c4 8e 07 |.....$..|........|
|00002530| 45 54 e7 ff 25 83 e7 ff | 20 22 00 00 54 68 65 20 |ET..%...| "..The |
|00002540| 07 20 20 20 0e 4c 13 00 | 0e 4c 13 00 00 00 00 00 |. .L..|.L......|
|00002550| 69 66 08 24 0e 4d 13 00 | 00 00 00 00 20 73 74 61 |if.$.M..|.... sta|
|00002560| 74 65 6d 65 6e 74 20 69 | 73 20 73 74 72 61 69 67 |tement i|s straig|
|00002570| 68 74 66 6f 72 77 61 72 | 64 2e 20 20 42 65 63 61 |htforwar|d. Beca|
|00002580| 75 73 65 20 42 4c 4f 43 | 4b 73 20 61 72 65 20 61 |use BLOC|Ks are a|
|00002590| 6c 77 61 79 73 20 62 6f | 75 6e 64 65 64 20 62 79 |lways bo|unded by|
|000025a0| 20 63 75 72 6c 79 20 62 | 72 61 63 6b 65 74 73 2c | curly b|rackets,|
|000025b0| 20 74 68 65 72 65 20 69 | 73 20 00 00 00 98 00 00 | there i|s ......|
|000025c0| 85 e8 00 00 00 bc c9 07 | 1e 1c e7 ff fe 4a e7 ff |........|.....J..|
|000025d0| 20 22 00 00 6e 65 76 65 | 72 20 61 6e 79 20 61 6d | "..neve|r any am|
|000025e0| 62 69 67 75 69 74 79 20 | 61 62 6f 75 74 20 77 68 |biguity |about wh|
|000025f0| 69 63 68 20 07 24 00 00 | 0e 4e 13 00 0e 4e 13 00 |ich .$..|.N...N..|
|00002600| 00 00 00 00 69 66 08 00 | 0e 4f 13 00 00 00 00 00 |....if..|.O......|
|00002610| 20 61 6e 20 07 24 00 00 | 0e 50 13 00 0e 50 13 00 | an .$..|.P...P..|
|00002620| 00 00 00 00 65 6c 73 65 | 08 22 00 00 0e 51 13 00 |....else|."...Q..|
|00002630| 00 00 00 00 20 67 6f 65 | 73 20 77 69 74 68 2e 20 |.... goe|s with. |
|00002640| 20 49 66 20 79 6f 75 20 | 75 73 65 20 07 73 74 61 | If you |use .sta|
|00002650| 0e 52 13 00 0e 52 13 00 | 00 00 00 00 75 6e 6c 65 |.R...R..|....unle|
|00002660| 73 73 08 6f 0e 53 13 00 | 00 00 00 00 20 69 6e 20 |ss.o.S..|.... in |
|00002670| 70 6c 61 63 65 20 6f 66 | 20 07 20 61 0e 54 13 00 |place of| . a.T..|
|00002680| 0e 54 13 00 00 00 00 00 | 69 66 08 65 0e 55 13 00 |.T......|if.e.U..|
|00002690| 00 00 00 00 2c 20 74 68 | 65 20 73 65 6e 73 65 20 |...., th|e sense |
|000026a0| 6f 66 20 00 00 e8 00 00 | 01 10 00 00 40 4c 67 01 |of .....|....@Lg.|
|000026b0| 00 00 00 00 00 10 00 00 | 02 14 00 00 00 04 00 00 |........|........|
|000026c0| 00 00 00 00 00 00 00 00 | 00 14 00 00 25 3c 00 00 |........|....%<..|
|000026d0| 40 4c 67 01 1e 45 e5 ff | fe 73 e5 ff 20 22 00 00 |@Lg..E..|.s.. "..|
|000026e0| 16 00 00 00 b0 fc 07 00 | 00 00 00 00 74 68 65 20 |........|....the |
|000026f0| 74 65 73 74 20 69 73 20 | 72 65 76 65 72 73 65 64 |test is |reversed|
|00002700| 2e 0d 00 00 00 3c 00 00 | 85 9c 00 00 00 a0 8e 07 |.....<..|........|
|00002710| 47 d6 e4 ff 27 05 e5 ff | 20 22 00 00 54 68 65 20 |G...'...| "..The |
|00002720| 07 6f 75 20 0e 56 13 00 | 0e 56 13 00 00 00 00 00 |.ou .V..|.V......|
|00002730| 77 68 69 6c 65 08 00 00 | 0e 57 13 00 00 00 00 00 |while...|.W......|
|00002740| 20 73 74 61 74 65 6d 65 | 6e 74 20 65 78 65 63 75 | stateme|nt execu|
|00002750| 74 65 73 20 74 68 65 20 | 62 6c 6f 63 6b 20 61 73 |tes the |block as|
|00002760| 20 6c 6f 6e 67 20 61 73 | 20 74 68 65 20 65 78 70 | long as| the exp|
|00002770| 72 65 73 73 69 6f 6e 20 | 69 73 20 74 72 75 65 20 |ression |is true |
|00002780| 28 64 6f 65 73 20 6e 6f | 74 20 65 76 61 6c 75 61 |(does no|t evalua|
|00002790| 74 65 20 74 6f 20 74 68 | 65 20 6e 75 6c 6c 20 00 |te to th|e null .|
|000027a0| 00 9c 00 00 05 88 00 00 | 00 ac ee 07 20 9e e4 ff |........|.... ...|
|000027b0| 00 cd e4 ff 20 22 00 00 | 73 74 72 69 6e 67 20 6f |.... "..|string o|
|000027c0| 72 20 30 20 6f 72 20 22 | 30 22 29 2e 20 20 54 68 |r 0 or "|0"). Th|
|000027d0| 65 20 4c 41 42 45 4c 20 | 69 73 20 6f 70 74 69 6f |e LABEL |is optio|
|000027e0| 6e 61 6c 2c 20 61 6e 64 | 20 69 66 20 70 72 65 73 |nal, and| if pres|
|000027f0| 65 6e 74 2c 20 63 6f 6e | 73 69 73 74 73 20 6f 66 |ent, con|sists of|
|00002800| 20 61 6e 20 69 64 65 6e | 74 69 66 69 65 72 20 66 | an iden|tifier f|
|00002810| 6f 6c 6c 6f 77 65 64 20 | 62 79 20 61 20 63 6f 6c |ollowed |by a col|
|00002820| 6f 6e 2e 20 54 68 65 20 | 00 88 00 00 85 c8 00 00 |on. The |........|
|00002830| 00 00 6b 07 f9 65 e4 ff | d9 94 e4 ff 20 22 00 00 |..k..e..|.... "..|
|00002840| 4c 41 42 45 4c 20 69 64 | 65 6e 74 69 66 69 65 73 |LABEL id|entifies|
|00002850| 20 74 68 65 20 6c 6f 6f | 70 20 66 6f 72 20 74 68 | the loo|p for th|
|00002860| 65 20 6c 6f 6f 70 20 63 | 6f 6e 74 72 6f 6c 20 73 |e loop c|ontrol s|
|00002870| 74 61 74 65 6d 65 6e 74 | 73 20 07 05 0e 58 13 00 |tatement|s ...X..|
|00002880| 0e 58 13 00 00 00 00 00 | 6e 65 78 74 08 8b 13 00 |.X......|next....|
|00002890| 0e 59 13 00 00 00 00 00 | 2c 20 07 73 0e 5a 13 00 |.Y......|, .s.Z..|
|000028a0| 0e 5a 13 00 00 00 00 00 | 6c 61 73 74 08 66 6f 72 |.Z......|last.for|
|000028b0| 0e 5b 13 00 00 00 00 00 | 2c 20 61 6e 64 20 07 63 |.[......|, and .c|
|000028c0| 0e 5c 13 00 0e 5c 13 00 | 00 00 00 00 72 65 64 6f |.\...\..|....redo|
|000028d0| 08 69 6f 6e 0e 5d 13 00 | 00 00 00 00 2e 20 20 49 |.ion.]..|..... I|
|000028e0| 66 20 74 68 65 20 4c 41 | 42 45 4c 20 69 73 20 00 |f the LA|BEL is .|
|000028f0| 00 c8 00 00 05 84 00 00 | 00 7c bb 07 d2 2d e4 ff |........|.|...-..|
|00002900| b2 5c e4 ff 20 22 00 00 | 6f 6d 69 74 74 65 64 2c |.\.. "..|omitted,|
|00002910| 20 74 68 65 20 6c 6f 6f | 70 20 63 6f 6e 74 72 6f | the loo|p contro|
|00002920| 6c 20 73 74 61 74 65 6d | 65 6e 74 20 72 65 66 65 |l statem|ent refe|
|00002930| 72 73 20 74 6f 20 74 68 | 65 20 69 6e 6e 65 72 6d |rs to th|e innerm|
|00002940| 6f 73 74 20 65 6e 63 6c | 6f 73 69 6e 67 20 6c 6f |ost encl|osing lo|
|00002950| 6f 70 2e 20 20 54 68 69 | 73 20 6d 61 79 20 69 6e |op. Thi|s may in|
|00002960| 63 6c 75 64 65 20 64 79 | 6e 61 6d 69 63 61 6c 6c |clude dy|namicall|
|00002970| 79 20 00 00 00 84 00 00 | 05 84 00 00 00 f4 d0 07 |y ......|........|
|00002980| ab f5 e3 ff 8b 24 e4 ff | 20 22 00 00 6c 6f 6f 6b |.....$..| "..look|
|00002990| 69 6e 67 20 62 61 63 6b | 20 79 6f 75 72 20 63 61 |ing back| your ca|
|000029a0| 6c 6c 2d 73 74 61 63 6b | 20 61 74 20 72 75 6e 20 |ll-stack| at run |
|000029b0| 74 69 6d 65 20 74 6f 20 | 66 69 6e 64 20 74 68 65 |time to |find the|
|000029c0| 20 4c 41 42 45 4c 2e 20 | 20 53 75 63 68 20 64 65 | LABEL. | Such de|
|000029d0| 73 70 65 72 61 74 65 20 | 62 65 68 61 76 69 6f 72 |sperate |behavior|
|000029e0| 20 74 72 69 67 67 65 72 | 73 20 61 20 77 61 72 6e | trigger|s a warn|
|000029f0| 69 6e 67 20 69 66 20 00 | 00 84 00 00 a5 48 00 00 |ing if .|.....H..|
|00002a00| 40 04 73 01 84 bd e3 ff | 64 ec e3 ff 20 22 00 00 |@.s.....|d... "..|
|00002a10| 79 6f 75 20 75 73 65 20 | 74 68 65 20 07 6f 6d 6d |you use |the .omm|
|00002a20| 10 5e 13 00 10 5e 13 00 | 00 00 00 00 2d 77 08 61 |.^...^..|....-w.a|
|00002a30| 10 00 00 00 00 00 00 00 | 20 66 6c 61 67 2e 0d 00 |........| flag...|
|00002a40| 00 48 00 00 85 9c 00 00 | 00 0c c5 07 ad 4e e3 ff |.H......|.....N..|
|00002a50| 8d 7d e3 ff 20 22 00 00 | 49 66 20 74 68 65 72 65 |.}.. "..|If there|
|00002a60| 20 69 73 20 61 20 07 05 | 0e 5f 13 00 0e 5f 13 00 | is a ..|._..._..|
|00002a70| 00 00 00 00 63 6f 6e 74 | 69 6e 75 65 08 20 77 68 |....cont|inue. wh|
|00002a80| 0e 60 13 00 00 00 00 00 | 20 42 4c 4f 43 4b 2c 20 |.`......| BLOCK, |
|00002a90| 69 74 20 69 73 20 61 6c | 77 61 79 73 20 65 78 65 |it is al|ways exe|
|00002aa0| 63 75 74 65 64 20 6a 75 | 73 74 20 62 65 66 6f 72 |cuted ju|st befor|
|00002ab0| 65 20 74 68 65 20 63 6f | 6e 64 69 74 69 6f 6e 61 |e the co|nditiona|
|00002ac0| 6c 20 69 73 20 61 62 6f | 75 74 20 74 6f 20 62 65 |l is abo|ut to be|
|00002ad0| 20 65 76 61 6c 75 61 74 | 65 64 20 00 00 9c 00 00 | evaluat|ed .....|
|00002ae0| 85 9c 00 00 00 10 94 07 | 86 16 e3 ff 66 45 e3 ff |........|....fE..|
|00002af0| 20 22 00 00 61 67 61 69 | 6e 2c 20 6a 75 73 74 20 | "..agai|n, just |
|00002b00| 6c 69 6b 65 20 74 68 65 | 20 74 68 69 72 64 20 70 |like the| third p|
|00002b10| 61 72 74 20 6f 66 20 61 | 20 07 7b 20 0e 61 13 00 |art of a| .{ .a..|
|00002b20| 0e 61 13 00 00 00 00 00 | 66 6f 72 08 0e 62 13 00 |.a......|for..b..|
|00002b30| 00 00 00 00 20 6c 6f 6f | 70 20 69 6e 20 43 2e 20 |.... loo|p in C. |
|00002b40| 20 54 68 75 73 20 69 74 | 20 63 61 6e 20 62 65 20 | Thus it| can be |
|00002b50| 75 73 65 64 20 74 6f 20 | 69 6e 63 72 65 6d 65 6e |used to |incremen|
|00002b60| 74 20 61 20 6c 6f 6f 70 | 20 76 61 72 69 61 62 6c |t a loop| variabl|
|00002b70| 65 2c 20 65 76 65 6e 20 | 00 9c 00 00 a5 c4 00 00 |e, even |........|
|00002b80| 40 a4 f0 07 5f de e2 ff | 3f 0d e3 ff 20 22 00 00 |@..._...|?... "..|
|00002b90| 77 68 65 6e 20 74 68 65 | 20 6c 6f 6f 70 20 68 61 |when the| loop ha|
|00002ba0| 73 20 62 65 65 6e 20 63 | 6f 6e 74 69 6e 75 65 64 |s been c|ontinued|
|00002bb0| 20 76 69 61 20 74 68 65 | 20 07 13 00 0e 63 13 00 | via the| ....c..|
|00002bc0| 0e 63 13 00 00 00 00 00 | 6e 65 78 74 08 6f 74 65 |.c......|next.ote|
|00002bd0| 0e 64 13 00 00 00 00 00 | 20 73 74 61 74 65 6d 65 |.d......| stateme|
|00002be0| 6e 74 20 28 77 68 69 63 | 68 20 69 73 20 73 69 6d |nt (whic|h is sim|
|00002bf0| 69 6c 61 72 20 74 6f 20 | 74 68 65 20 43 20 07 05 |ilar to |the C ..|
|00002c00| 0e 65 13 00 0e 65 13 00 | 00 00 00 00 63 6f 6e 74 |.e...e..|....cont|
|00002c10| 69 6e 75 65 08 20 61 62 | 0e 66 13 00 00 00 00 00 |inue. ab|.f......|
|00002c20| 20 73 74 61 74 65 6d 65 | 6e 74 29 2e 0d 07 20 65 | stateme|nt)... e|
|00002c30| 0a 67 13 00 0a 67 13 00 | 00 00 00 00 00 c4 00 00 |.g...g..|........|
|00002c40| a5 40 00 00 40 16 39 01 | b8 67 e2 ff 68 9e e2 ff |.@..@.9.|.g..h...|
|00002c50| 18 2b 00 00 4c 6f 6f 70 | 20 43 6f 6e 74 72 6f 6c |.+..Loop| Control|
|00002c60| 0d 08 13 00 0a 68 13 00 | 00 00 00 00 07 68 69 6c |.....h..|.....hil|
|00002c70| 14 69 13 00 14 69 13 00 | 00 00 00 00 00 40 00 00 |.i...i..|.....@..|
|00002c80| a5 ec 00 00 40 bc 21 07 | 83 12 e2 ff 63 41 e2 ff |....@.!.|....cA..|
|00002c90| 20 22 00 00 54 68 65 20 | 07 9a 13 00 0e 6a 13 00 | "..The |.....j..|
|00002ca0| 14 69 13 00 0e 6a 13 00 | 00 00 00 00 6e 65 78 74 |.i...j..|....next|
|00002cb0| 08 00 00 00 0e 6b 13 00 | 14 69 13 00 00 00 00 00 |.....k..|.i......|
|00002cc0| 20 63 6f 6d 6d 61 6e 64 | 20 69 73 20 6c 69 6b 65 | command| is like|
|00002cd0| 20 74 68 65 20 07 64 2c | 0e 6c 13 00 14 69 13 00 | the .d,|.l...i..|
|00002ce0| 0e 6c 13 00 00 00 00 00 | 63 6f 6e 74 69 6e 75 65 |.l......|continue|
|00002cf0| 08 74 69 6c 0e 6d 13 00 | 14 69 13 00 00 00 00 00 |.til.m..|.i......|
|00002d00| 20 73 74 61 74 65 6d 65 | 6e 74 20 69 6e 20 43 3b | stateme|nt in C;|
|00002d10| 20 69 74 20 73 74 61 72 | 74 73 20 74 68 65 20 6e | it star|ts the n|
|00002d20| 65 78 74 20 69 74 65 72 | 61 74 69 6f 6e 20 6f 66 |ext iter|ation of|
|00002d30| 20 74 68 65 20 6c 6f 6f | 70 3a 0d 08 14 00 00 00 | the loo|p:......|
|00002d40| 00 00 00 00 07 05 05 05 | 12 6e 13 00 12 6e 13 00 |........|.n...n..|
|00002d50| 00 00 00 00 07 69 6c 61 | 0c 6f 13 00 12 6e 13 00 |.....ila|.o...n..|
|00002d60| 0c 6f 13 00 00 00 00 00 | 00 ec 00 00 25 30 00 00 |.o......|....%0..|
|00002d70| 40 10 1b 02 7c ab e1 ff | 8c d2 e1 ff 70 1a 00 00 |@...|...|....p...|
|00002d80| 4c 49 4e 45 3a 20 77 68 | 69 6c 65 20 28 3c 53 54 |LINE: wh|ile (<ST|
|00002d90| 44 49 4e 3e 29 20 7b 0d | 00 30 00 00 25 48 00 00 |DIN>) {.|.0..%H..|
|00002da0| 40 20 36 04 9c 7c e1 ff | ac a3 e1 ff 70 1a 00 00 |@ 6..|..|....p...|
|00002db0| 20 20 20 20 6e 65 78 74 | 20 4c 49 4e 45 20 69 66 | next| LINE if|
|00002dc0| 20 2f 5e 23 2f 3b 20 20 | 20 20 20 20 23 20 64 69 | /^#/; | # di|
|00002dd0| 73 63 61 72 64 20 63 6f | 6d 6d 65 6e 74 73 0d 00 |scard co|mments..|
|00002de0| 00 48 00 00 25 20 00 00 | 40 10 a4 00 bc 4d e1 ff |.H..% ..|@....M..|
|00002df0| cc 74 e1 ff 70 1a 00 00 | 20 20 20 20 2e 2e 2e 0d |.t..p...| ....|
|00002e00| 00 20 00 00 a5 44 00 00 | 40 70 17 00 dc 1e e1 ff |. ...D..|@p......|
|00002e10| ec 45 e1 ff 70 1a 00 00 | 7d 0d 08 00 0c 70 13 00 |.E..p...|}....p..|
|00002e20| 12 6e 13 00 00 00 00 00 | 08 65 20 07 12 00 00 00 |.n......|.e .....|
|00002e30| 00 00 00 00 07 a5 13 00 | 18 71 13 00 18 71 13 00 |........|.q...q..|
|00002e40| 00 00 00 00 00 44 00 00 | a5 34 00 00 40 00 00 00 |.....D..|.4..@...|
|00002e50| 4c 0a e1 ff 0c 17 e1 ff | 00 00 00 00 0d 08 79 20 |L.......|......y |
|00002e60| 18 72 13 00 00 00 00 00 | 07 63 6f 72 14 73 13 00 |.r......|.cor.s..|
|00002e70| 14 73 13 00 00 00 00 00 | 00 34 00 00 85 c8 00 00 |.s......|.4......|
|00002e80| 00 28 b5 07 7c b1 e0 ff | 5c e0 e0 ff 20 22 00 00 |.(..|...|\... "..|
|00002e90| 54 68 65 20 07 a4 13 00 | 0e 74 13 00 14 73 13 00 |The ....|.t...s..|
|00002ea0| 0e 74 13 00 00 00 00 00 | 6c 61 73 74 08 20 74 68 |.t......|last. th|
|00002eb0| 0e 75 13 00 14 73 13 00 | 00 00 00 00 20 63 6f 6d |.u...s..|.... com|
|00002ec0| 6d 61 6e 64 20 69 73 20 | 6c 69 6b 65 20 74 68 65 |mand is |like the|
|00002ed0| 20 07 00 00 0e 76 13 00 | 14 73 13 00 0e 76 13 00 | ....v..|.s...v..|
|00002ee0| 00 00 00 00 62 72 65 61 | 6b 08 72 20 0e 77 13 00 |....brea|k.r .w..|
|00002ef0| 14 73 13 00 00 00 00 00 | 20 73 74 61 74 65 6d 65 |.s......| stateme|
|00002f00| 6e 74 20 69 6e 20 43 20 | 28 61 73 20 75 73 65 64 |nt in C |(as used|
|00002f10| 20 69 6e 20 6c 6f 6f 70 | 73 29 3b 20 69 74 20 69 | in loop|s); it i|
|00002f20| 6d 6d 65 64 69 61 74 65 | 6c 79 20 65 78 69 74 73 |mmediate|ly exits|
|00002f30| 20 74 68 65 20 6c 6f 6f | 70 20 69 6e 20 00 00 00 | the loo|p in ...|
|00002f40| 00 c8 00 00 a5 a0 00 00 | 40 c4 28 04 55 79 e0 ff |........|@.(.Uy..|
|00002f50| 35 a8 e0 ff 20 22 00 00 | 71 75 65 73 74 69 6f 6e |5... "..|question|
|00002f60| 2e 20 20 54 68 65 20 07 | 0e 78 13 00 14 73 13 00 |. The .|.x...s..|
|00002f70| 0e 78 13 00 00 00 00 00 | 63 6f 6e 74 69 6e 75 65 |.x......|continue|
|00002f80| 08 68 65 20 0e 79 13 00 | 14 73 13 00 00 00 00 00 |.he .y..|.s......|
|00002f90| 20 62 6c 6f 63 6b 2c 20 | 69 66 20 61 6e 79 2c 20 | block, |if any, |
|00002fa0| 69 73 20 6e 6f 74 20 65 | 78 65 63 75 74 65 64 3a |is not e|xecuted:|
|00002fb0| 0d 08 6e 64 14 00 00 00 | 00 00 00 00 07 74 68 65 |..nd....|.....the|
|00002fc0| 12 7a 13 00 12 7a 13 00 | 00 00 00 00 07 76 13 00 |.z...z..|.....v..|
|00002fd0| 0c 7b 13 00 12 7a 13 00 | 0c 7b 13 00 00 00 00 00 |.{...z..|.{......|
|00002fe0| 00 a0 00 00 25 30 00 00 | 40 10 1b 02 4e 12 e0 ff |....%0..|@...N...|
|00002ff0| 5e 39 e0 ff 70 1a 00 00 | 4c 49 4e 45 3a 20 77 68 |^9..p...|LINE: wh|
|00003000| 69 6c 65 20 28 3c 53 54 | 44 49 4e 3e 29 20 7b 0d |ile (<ST|DIN>) {.|
|00003010| 00 30 00 00 25 54 00 00 | 40 80 20 05 6e e3 df ff |.0..%T..|@. .n...|
|00003020| 7e 0a e0 ff 70 1a 00 00 | 20 20 20 20 6c 61 73 74 |~...p...| last|
|00003030| 20 4c 49 4e 45 20 69 66 | 20 2f 5e 24 2f 3b 20 20 | LINE if| /^$/; |
|00003040| 20 20 20 20 23 20 65 78 | 69 74 20 77 68 65 6e 20 | # ex|it when |
|00003050| 64 6f 6e 65 20 77 69 74 | 68 20 68 65 61 64 65 72 |done wit|h header|
|00003060| 0d 00 00 00 00 54 00 00 | 25 20 00 00 40 10 a4 00 |.....T..|% ..@...|
|00003070| 8e b4 df ff 9e db df ff | 70 1a 00 00 20 20 20 20 |........|p... |
|00003080| 2e 2e 2e 0d 00 20 00 00 | a5 44 00 00 40 70 17 00 |..... ..|.D..@p..|
|00003090| ae 85 df ff be ac df ff | 70 1a 00 00 7d 0d 08 65 |........|p...}..e|
|000030a0| 0c 7c 13 00 12 7a 13 00 | 00 00 00 00 08 65 73 69 |.|...z..|.....esi|
|000030b0| 12 00 00 00 00 00 00 00 | 07 6f 72 6d 18 7d 13 00 |........|.orm.}..|
|000030c0| 18 7d 13 00 00 00 00 00 | 00 44 00 00 a5 24 00 00 |.}......|.D...$..|
|000030d0| 40 00 00 00 1e 71 df ff | de 7d df ff 00 00 00 00 |@....q..|.}......|
|000030e0| 0d 08 00 00 18 7e 13 00 | 00 00 00 00 00 24 00 00 |.....~..|.....$..|
|000030f0| 85 b4 00 00 00 88 8b 07 | 4e 18 df ff 2e 47 df ff |........|N....G..|
|00003100| 20 22 00 00 54 68 65 20 | 07 6f 74 68 0e 7f 13 00 | "..The |.oth....|
|00003110| 0e 7f 13 00 00 00 00 00 | 72 65 64 6f 08 70 6c 69 |........|redo.pli|
|00003120| 0e 80 13 00 00 00 00 00 | 20 63 6f 6d 6d 61 6e 64 |........| command|
|00003130| 20 72 65 73 74 61 72 74 | 73 20 74 68 65 20 6c 6f | restart|s the lo|
|00003140| 6f 70 20 62 6c 6f 63 6b | 20 77 69 74 68 6f 75 74 |op block| without|
|00003150| 20 65 76 61 6c 75 61 74 | 69 6e 67 20 74 68 65 20 | evaluat|ing the |
|00003160| 63 6f 6e 64 69 74 69 6f | 6e 61 6c 20 61 67 61 69 |conditio|nal agai|
|00003170| 6e 2e 20 20 54 68 65 20 | 07 6f 66 2d 0e 81 13 00 |n. The |.of-....|
|00003180| 0e 81 13 00 00 00 00 00 | 63 6f 6e 74 69 6e 75 65 |........|continue|
|00003190| 08 65 20 66 0e 82 13 00 | 00 00 00 00 20 00 00 00 |.e f....|.... ...|
|000031a0| 00 b4 00 00 85 98 00 00 | 00 9c b0 07 27 e0 de ff |........|....'...|
|000031b0| 07 0f df ff 20 22 00 00 | 62 6c 6f 63 6b 2c 20 69 |.... "..|block, i|
|000031c0| 66 20 61 6e 79 2c 20 69 | 73 20 07 07 11 83 13 00 |f any, i|s ......|
|000031d0| 11 83 13 00 00 00 00 00 | 6e 6f 74 08 11 00 00 00 |........|not.....|
|000031e0| 00 00 00 00 20 65 78 65 | 63 75 74 65 64 2e 20 54 |.... exe|cuted. T|
|000031f0| 68 69 73 20 63 6f 6d 6d | 61 6e 64 20 69 73 20 6e |his comm|and is n|
|00003200| 6f 72 6d 61 6c 6c 79 20 | 75 73 65 64 20 62 79 20 |ormally |used by |
|00003210| 70 72 6f 67 72 61 6d 73 | 20 74 68 61 74 20 77 61 |programs| that wa|
|00003220| 6e 74 20 74 6f 20 6c 69 | 65 20 74 6f 20 74 68 65 |nt to li|e to the|
|00003230| 6d 73 65 6c 76 65 73 20 | 00 98 00 00 25 34 00 00 |mselves |....%4..|
|00003240| 40 e0 ea 01 00 a8 de ff | e0 d6 de ff 20 22 00 00 |@.......|.... "..|
|00003250| 61 62 6f 75 74 20 77 68 | 61 74 20 77 61 73 20 6a |about wh|at was j|
|00003260| 75 73 74 20 69 6e 70 75 | 74 2e 0d 00 00 34 00 00 |ust inpu|t....4..|
|00003270| 85 9c 00 00 00 60 d1 07 | 29 39 de ff 09 68 de ff |.....`..|)9...h..|
|00003280| 20 22 00 00 46 6f 72 20 | 65 78 61 6d 70 6c 65 2c | "..For |example,|
|00003290| 20 77 68 65 6e 20 70 72 | 6f 63 65 73 73 69 6e 67 | when pr|ocessing|
|000032a0| 20 61 20 66 69 6c 65 20 | 6c 69 6b 65 20 07 05 05 | a file |like ...|
|000032b0| 06 84 13 00 06 84 13 00 | 00 00 00 00 2f 65 74 63 |........|..../etc|
|000032c0| 2f 74 65 72 6d 63 61 70 | 08 0d 08 05 06 85 13 00 |/termcap|........|
|000032d0| 00 00 00 00 2e 20 49 66 | 20 79 6f 75 72 20 69 6e |..... If| your in|
|000032e0| 70 75 74 20 6c 69 6e 65 | 73 20 6d 69 67 68 74 20 |put line|s might |
|000032f0| 65 6e 64 20 69 6e 20 62 | 61 63 6b 73 6c 61 73 68 |end in b|ackslash|
|00003300| 65 73 20 74 6f 20 00 00 | 00 9c 00 00 a5 80 00 00 |es to ..|........|
|00003310| 40 2c 17 05 02 01 de ff | e2 2f de ff 20 22 00 00 |@,......|./.. "..|
|00003320| 69 6e 64 69 63 61 74 65 | 20 63 6f 6e 74 69 6e 75 |indicate| continu|
|00003330| 61 74 69 6f 6e 2c 20 79 | 6f 75 20 77 61 6e 74 20 |ation, y|ou want |
|00003340| 74 6f 20 73 6b 69 70 20 | 61 68 65 61 64 20 61 6e |to skip |ahead an|
|00003350| 64 20 67 65 74 20 74 68 | 65 20 6e 65 78 74 20 72 |d get th|e next r|
|00003360| 65 63 6f 72 64 2e 0d 07 | 12 86 13 00 12 86 13 00 |ecord...|........|
|00003370| 00 00 00 00 07 20 70 72 | 0c 87 13 00 12 86 13 00 |..... pr|........|
|00003380| 0c 87 13 00 00 00 00 00 | 00 80 00 00 25 28 00 00 |........|....%(..|
|00003390| 40 40 19 01 fb 99 dd ff | 0b c1 dd ff 70 1a 00 00 |@@......|....p...|
|000033a0| 77 68 69 6c 65 20 28 3c | 3e 29 20 7b 0d 00 00 00 |while (<|>) {....|
|000033b0| 00 28 00 00 25 24 00 00 | 40 60 ea 00 1b 6b dd ff |.(..%$..|@`...k..|
|000033c0| 2b 92 dd ff 70 1a 00 00 | 20 20 20 20 63 68 6f 6d |+...p...| chom|
|000033d0| 70 3b 0d 00 00 24 00 00 | 25 2c 00 00 40 e0 a5 01 |p;...$..|%,..@...|
|000033e0| 3b 3c dd ff 4b 63 dd ff | 70 1a 00 00 20 20 20 20 |;<..Kc..|p... |
|000033f0| 69 66 20 28 73 2f 5c 5c | 24 2f 2f 29 20 7b 0d 00 |if (s/\\|$//) {..|
|00003400| 00 2c 00 00 25 2c 00 00 | 40 70 8e 01 5b 0d dd ff |.,..%,..|@p..[...|
|00003410| 6b 34 dd ff 70 1a 00 00 | 20 20 20 20 20 20 20 20 |k4..p...| |
|00003420| 24 5f 20 2e 3d 20 3c 3e | 3b 0d 00 00 00 2c 00 00 |$_ .= <>|;....,..|
|00003430| 25 34 00 00 40 60 61 02 | 7b de dc ff 8b 05 dd ff |%4..@`a.|{.......|
|00003440| 70 1a 00 00 20 20 20 20 | 20 20 20 20 72 65 64 6f |p... | redo|
|00003450| 20 75 6e 6c 65 73 73 20 | 65 6f 66 28 29 3b 0d 00 | unless |eof();..|
|00003460| 00 34 00 00 25 20 00 00 | 40 30 75 00 9b af dc ff |.4..% ..|@0u.....|
|00003470| ab d6 dc ff 70 1a 00 00 | 20 20 20 20 7d 0d 00 00 |....p...| }...|
|00003480| 00 20 00 00 25 30 00 00 | 40 c0 d4 01 bb 80 dc ff |. ..%0..|@.......|
|00003490| cb a7 dc ff 70 1a 00 00 | 20 20 20 20 23 20 6e 6f |....p...| # no|
|000034a0| 77 20 70 72 6f 63 65 73 | 73 20 24 5f 0d 00 00 00 |w proces|s $_....|
|000034b0| 00 30 00 00 a5 44 00 00 | 40 70 17 00 db 51 dc ff |.0...D..|@p...Q..|
|000034c0| eb 78 dc ff 70 1a 00 00 | 7d 0d 08 74 0c 88 13 00 |.x..p...|}..t....|
|000034d0| 12 86 13 00 00 00 00 00 | 08 6f 62 61 12 00 00 00 |........|.oba....|
|000034e0| 00 00 00 00 07 74 20 69 | 18 89 13 00 18 89 13 00 |.....t i|........|
|000034f0| 00 00 00 00 00 44 00 00 | a5 34 00 00 40 00 00 00 |.....D..|.4..@...|
|00003500| 4b 3d dc ff 0b 4a dc ff | 00 00 00 00 0d 08 65 20 |K=...J..|......e |
|00003510| 18 8a 13 00 00 00 00 00 | 07 78 69 63 14 8b 13 00 |........|.xic....|
|00003520| 14 8b 13 00 00 00 00 00 | 00 34 00 00 a5 88 00 00 |........|.4......|
|00003530| 40 7c ac 04 7b e4 db ff | 5b 13 dc ff 20 22 00 00 |@|..{...|[... "..|
|00003540| 77 68 69 63 68 20 69 73 | 20 50 65 72 6c 20 73 68 |which is| Perl sh|
|00003550| 6f 72 74 2d 68 61 6e 64 | 20 66 6f 72 20 74 68 65 |ort-hand| for the|
|00003560| 20 6d 6f 72 65 20 65 78 | 70 6c 69 63 69 74 6c 79 | more ex|plicitly|
|00003570| 20 77 72 69 74 74 65 6e | 20 76 65 72 73 69 6f 6e | written| version|
|00003580| 3a 0d 08 00 14 00 00 00 | 00 00 00 00 07 63 68 08 |:.......|.....ch.|
|00003590| 12 8c 13 00 12 8c 13 00 | 00 00 00 00 07 6f 72 64 |........|.....ord|
|000035a0| 0c 8d 13 00 12 8c 13 00 | 0c 8d 13 00 00 00 00 00 |........|........|
|000035b0| 00 88 00 00 25 40 00 00 | 40 10 92 03 74 7d db ff |....%@..|@...t}..|
|000035c0| 84 a4 db ff 70 1a 00 00 | 4c 49 4e 45 3a 20 77 68 |....p...|LINE: wh|
|000035d0| 69 6c 65 20 28 64 65 66 | 69 6e 65 64 28 24 6c 69 |ile (def|ined($li|
|000035e0| 6e 65 20 3d 20 3c 41 52 | 47 56 3e 29 29 20 7b 0d |ne = <AR|GV>)) {.|
|000035f0| 00 40 00 00 25 2c 00 00 | 40 70 8e 01 94 4e db ff |.@..%,..|@p...N..|
|00003600| a4 75 db ff 70 1a 00 00 | 20 20 20 20 63 68 6f 6d |.u..p...| chom|
|00003610| 70 28 24 6c 69 6e 65 29 | 3b 0d 00 00 00 2c 00 00 |p($line)|;....,..|
|00003620| 25 34 00 00 40 d0 78 02 | b4 1f db ff c4 46 db ff |%4..@.x.|.....F..|
|00003630| 70 1a 00 00 20 20 20 20 | 69 66 20 28 24 6c 69 6e |p... |if ($lin|
|00003640| 65 20 3d 7e 20 73 2f 5c | 5c 24 2f 2f 29 20 7b 0d |e =~ s/\|\$//) {.|
|00003650| 00 34 00 00 25 34 00 00 | 40 80 32 02 d4 f0 da ff |.4..%4..|@.2.....|
|00003660| e4 17 db ff 70 1a 00 00 | 20 20 20 20 20 20 20 20 |....p...| |
|00003670| 24 6c 69 6e 65 20 2e 3d | 20 3c 41 52 47 56 3e 3b |$line .=| <ARGV>;|
|00003680| 0d 00 00 00 00 34 00 00 | 25 4c 00 00 40 00 65 04 |.....4..|%L..@.e.|
|00003690| f4 c1 da ff 04 e9 da ff | 70 1a 00 00 20 20 20 20 |........|p... |
|000036a0| 20 20 20 20 72 65 64 6f | 20 4c 49 4e 45 20 75 6e | redo| LINE un|
|000036b0| 6c 65 73 73 20 65 6f 66 | 28 29 3b 20 23 20 6e 6f |less eof|(); # no|
|000036c0| 74 20 65 6f 66 28 41 52 | 47 56 29 21 0d 00 00 00 |t eof(AR|GV)!....|
|000036d0| 00 4c 00 00 25 20 00 00 | 40 30 75 00 14 93 da ff |.L..% ..|@0u.....|
|000036e0| 24 ba da ff 70 1a 00 00 | 20 20 20 20 7d 0d 00 00 |$...p...| }...|
|000036f0| 00 20 00 00 25 30 00 00 | 40 10 1b 02 34 64 da ff |. ..%0..|@...4d..|
|00003700| 44 8b da ff 70 1a 00 00 | 20 20 20 20 23 20 6e 6f |D...p...| # no|
|00003710| 77 20 70 72 6f 63 65 73 | 73 20 24 6c 69 6e 65 0d |w proces|s $line.|
|00003720| 00 30 00 00 a5 44 00 00 | 40 70 17 00 54 35 da ff |.0...D..|@p..T5..|
|00003730| 64 5c da ff 70 1a 00 00 | 7d 0d 08 00 0c 8e 13 00 |d\..p...|}.......|
|00003740| 12 8c 13 00 00 00 00 00 | 08 00 00 00 12 00 00 00 |........|........|
|00003750| 00 00 00 00 07 65 78 20 | 18 8f 13 00 18 8f 13 00 |.....ex |........|
|00003760| 00 00 00 00 00 44 00 00 | a5 24 00 00 40 00 00 00 |.....D..|.$..@...|
|00003770| c4 20 da ff 84 2d da ff | 00 00 00 00 0d 08 6f 73 |. ...-..|......os|
|00003780| 18 90 13 00 00 00 00 00 | 00 24 00 00 01 10 00 00 |........|.$......|
|00003790| 40 f8 a6 06 00 00 00 00 | 00 10 00 00 02 14 00 00 |@.......|........|
|000037a0| 9c 05 00 00 00 00 00 00 | 00 00 00 00 00 14 00 00 |........|........|
|000037b0| a5 a0 00 00 40 f8 a6 06 | 6d 45 d8 ff 4d 74 d8 ff |....@...|mE..Mt..|
|000037c0| 20 22 00 00 16 00 00 00 | b0 fc 07 00 00 00 00 00 | "......|........|
|000037d0| 4f 72 20 68 65 72 65 27 | 73 20 61 20 73 69 6d 70 |Or here'|s a simp|
|000037e0| 6c 65 6d 69 6e 64 65 64 | 20 50 61 73 63 61 6c 20 |leminded| Pascal |
|000037f0| 63 6f 6d 6d 65 6e 74 20 | 73 74 72 69 70 70 65 72 |comment |stripper|
|00003800| 20 28 77 61 72 6e 69 6e | 67 3a 20 61 73 73 75 6d | (warnin|g: assum|
|00003810| 65 73 20 6e 6f 20 7b 20 | 6f 72 20 7d 20 69 6e 20 |es no { |or } in |
|00003820| 73 74 72 69 6e 67 73 29 | 2e 0d 07 00 12 91 13 00 |strings)|........|
|00003830| 12 91 13 00 00 00 00 00 | 07 98 00 00 0c 92 13 00 |........|........|
|00003840| 12 91 13 00 0c 92 13 00 | 00 00 00 00 00 a0 00 00 |........|........|
|00003850| 25 30 00 00 40 10 1b 02 | 66 de d7 ff 76 05 d8 ff |%0..@...|f...v...|
|00003860| 70 1a 00 00 4c 49 4e 45 | 3a 20 77 68 69 6c 65 20 |p...LINE|: while |
|00003870| 28 3c 53 54 44 49 4e 3e | 29 20 7b 0d 00 30 00 00 |(<STDIN>|) {..0..|
|00003880| 25 3c 00 00 40 e0 1c 03 | 86 af d7 ff 96 d6 d7 ff |%<..@...|........|
|00003890| 70 1a 00 00 20 20 20 20 | 77 68 69 6c 65 20 28 73 |p... |while (s|
|000038a0| 7c 28 7b 2e 2a 7d 2e 2a | 29 7b 2e 2a 7d 7c 24 31 ||({.*}.*|){.*}|$1|
|000038b0| 20 7c 29 20 7b 7d 0d 00 | 00 3c 00 00 25 28 00 00 | |) {}..|.<..%(..|
|000038c0| 40 20 48 01 a6 80 d7 ff | b6 a7 d7 ff 70 1a 00 00 |@ H.....|....p...|
|000038d0| 20 20 20 20 73 7c 7b 2e | 2a 7d 7c 20 7c 3b 0d 00 | s|{.|*}| |;..|
|000038e0| 00 28 00 00 25 2c 00 00 | 40 50 bd 01 c6 51 d7 ff |.(..%,..|@P...Q..|
|000038f0| d6 78 d7 ff 70 1a 00 00 | 20 20 20 20 69 66 20 28 |.x..p...| if (|
|00003900| 73 7c 7b 2e 2a 7c 20 7c | 29 20 7b 0d 00 2c 00 00 |s|{.*| ||) {..,..|
|00003910| 25 30 00 00 40 c0 d4 01 | e6 22 d7 ff f6 49 d7 ff |%0..@...|."...I..|
|00003920| 70 1a 00 00 20 20 20 20 | 20 20 20 20 24 66 72 6f |p... | $fro|
|00003930| 6e 74 20 3d 20 24 5f 3b | 0d 00 00 00 00 30 00 00 |nt = $_;|.....0..|
|00003940| 25 34 00 00 40 f0 49 02 | 06 f4 d6 ff 16 1b d7 ff |%4..@.I.|........|
|00003950| 70 1a 00 00 20 20 20 20 | 20 20 20 20 77 68 69 6c |p... | whil|
|00003960| 65 20 28 3c 53 54 44 49 | 4e 3e 29 20 7b 0d 00 00 |e (<STDI|N>) {...|
|00003970| 00 34 00 00 25 48 00 00 | 40 b0 1e 04 26 c5 d6 ff |.4..%H..|@...&...|
|00003980| 36 ec d6 ff 70 1a 00 00 | 20 20 20 20 20 20 20 20 |6...p...| |
|00003990| 20 20 20 20 69 66 20 28 | 2f 7d 2f 29 20 7b 20 20 | if (|/}/) { |
|000039a0| 20 20 20 20 23 20 65 6e | 64 20 6f 66 20 63 6f 6d | # en|d of com|
|000039b0| 6d 65 6e 74 3f 0d 00 00 | 00 48 00 00 25 38 00 00 |ment?...|.H..%8..|
|000039c0| 40 b0 a7 02 46 96 d6 ff | 56 bd d6 ff 70 1a 00 00 |@...F...|V...p...|
|000039d0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000039e0| 73 7c 5e 7c 24 66 72 6f | 6e 74 7b 7c 3b 0d 00 00 |s|^|$fro|nt{|;...|
|000039f0| 00 38 00 00 25 34 00 00 | 40 60 61 02 66 67 d6 ff |.8..%4..|@`a.fg..|
|00003a00| 76 8e d6 ff 70 1a 00 00 | 20 20 20 20 20 20 20 20 |v...p...| |
|00003a10| 20 20 20 20 20 20 20 20 | 72 65 64 6f 20 4c 49 4e | |redo LIN|
|00003a20| 45 3b 0d 00 00 34 00 00 | 25 28 00 00 40 b0 30 01 |E;...4..|%(..@.0.|
|00003a30| 86 38 d6 ff 96 5f d6 ff | 70 1a 00 00 20 20 20 20 |.8..._..|p... |
|00003a40| 20 20 20 20 20 20 20 20 | 7d 0d 00 00 00 28 00 00 | |}....(..|
|00003a50| 25 24 00 00 40 f0 d2 00 | a6 09 d6 ff b6 30 d6 ff |%$..@...|.....0..|
|00003a60| 70 1a 00 00 20 20 20 20 | 20 20 20 20 7d 0d 00 00 |p... | }...|
|00003a70| 00 24 00 00 25 20 00 00 | 40 30 75 00 c6 da d5 ff |.$..% ..|@0u.....|
|00003a80| d6 01 d6 ff 70 1a 00 00 | 20 20 20 20 7d 0d 00 00 |....p...| }...|
|00003a90| 00 20 00 00 25 24 00 00 | 40 60 ea 00 e6 ab d5 ff |. ..%$..|@`......|
|00003aa0| f6 d2 d5 ff 70 1a 00 00 | 20 20 20 20 70 72 69 6e |....p...| prin|
|00003ab0| 74 3b 0d 00 00 24 00 00 | a5 44 00 00 40 70 17 00 |t;...$..|.D..@p..|
|00003ac0| 06 7d d5 ff 16 a4 d5 ff | 70 1a 00 00 7d 0d 08 79 |.}......|p...}..y|
|00003ad0| 0c 93 13 00 12 91 13 00 | 00 00 00 00 08 62 79 20 |........|.....by |
|00003ae0| 12 00 00 00 00 00 00 00 | 07 69 63 69 18 94 13 00 |........|.ici....|
|00003af0| 18 94 13 00 00 00 00 00 | 00 44 00 00 a5 24 00 00 |........|.D...$..|
|00003b00| 40 00 00 00 76 68 d5 ff | 36 75 d5 ff 00 00 00 00 |@...vh..|6u......|
|00003b10| 0d 08 67 68 18 95 13 00 | 00 00 00 00 00 24 00 00 |..gh....|.....$..|
|00003b20| 85 98 00 00 00 34 8e 07 | a6 0f d5 ff 86 3e d5 ff |.....4..|.....>..|
|00003b30| 20 22 00 00 4e 6f 74 65 | 20 74 68 61 74 20 69 66 | "..Note| that if|
|00003b40| 20 74 68 65 72 65 20 77 | 65 72 65 20 61 20 07 79 | there w|ere a .y|
|00003b50| 0e 96 13 00 0e 96 13 00 | 00 00 00 00 63 6f 6e 74 |........|....cont|
|00003b60| 69 6e 75 65 08 63 65 20 | 0e 97 13 00 00 00 00 00 |inue.ce |........|
|00003b70| 20 62 6c 6f 63 6b 20 6f | 6e 20 74 68 65 20 61 62 | block o|n the ab|
|00003b80| 6f 76 65 20 63 6f 64 65 | 2c 20 69 74 20 77 6f 75 |ove code|, it wou|
|00003b90| 6c 64 20 67 65 74 20 65 | 78 65 63 75 74 65 64 20 |ld get e|xecuted |
|00003ba0| 65 76 65 6e 20 6f 6e 20 | 64 69 73 63 61 72 64 65 |even on |discarde|
|00003bb0| 64 20 00 00 00 98 00 00 | 25 20 00 00 40 44 64 00 |d ......|% ..@Dd.|
|00003bc0| 7f d7 d4 ff 5f 06 d5 ff | 20 22 00 00 6c 69 6e 65 |...._...| "..line|
|00003bd0| 73 2e 0d 00 00 20 00 00 | 85 b8 00 00 00 14 c0 07 |s.... ..|........|
|00003be0| a8 68 d4 ff 88 97 d4 ff | 20 22 00 00 49 66 20 74 |.h......| "..If t|
|00003bf0| 68 65 20 77 6f 72 64 20 | 07 73 20 69 0e 98 13 00 |he word |.s i....|
|00003c00| 0e 98 13 00 00 00 00 00 | 77 68 69 6c 65 08 68 20 |........|while.h |
|00003c10| 0e 99 13 00 00 00 00 00 | 20 69 73 20 72 65 70 6c |........| is repl|
|00003c20| 61 63 65 64 20 62 79 20 | 74 68 65 20 77 6f 72 64 |aced by |the word|
|00003c30| 20 07 20 79 0e 9a 13 00 | 0e 9a 13 00 00 00 00 00 | . y....|........|
|00003c40| 75 6e 74 69 6c 08 20 6c | 0e 9b 13 00 00 00 00 00 |until. l|........|
|00003c50| 2c 20 74 68 65 20 73 65 | 6e 73 65 20 6f 66 20 74 |, the se|nse of t|
|00003c60| 68 65 20 74 65 73 74 20 | 69 73 20 72 65 76 65 72 |he test |is rever|
|00003c70| 73 65 64 2c 20 62 75 74 | 20 74 68 65 20 63 6f 6e |sed, but| the con|
|00003c80| 64 69 74 69 6f 6e 61 6c | 20 69 73 20 00 b8 00 00 |ditional| is ....|
|00003c90| 25 44 00 00 40 c8 92 02 | 81 30 d4 ff 61 5f d4 ff |%D..@...|.0..a_..|
|00003ca0| 20 22 00 00 73 74 69 6c | 6c 20 74 65 73 74 65 64 | "..stil|l tested|
|00003cb0| 20 62 65 66 6f 72 65 20 | 74 68 65 20 66 69 72 73 | before |the firs|
|00003cc0| 74 20 69 74 65 72 61 74 | 69 6f 6e 2e 0d 00 00 00 |t iterat|ion.....|
|00003cd0| 00 44 00 00 85 98 00 00 | 00 7c f1 07 aa c1 d3 ff |.D......|.|......|
|00003ce0| 8a f0 d3 ff 20 22 00 00 | 54 68 65 20 66 6f 72 6d |.... "..|The form|
|00003cf0| 20 07 69 62 0e 9c 13 00 | 0e 9c 13 00 00 00 00 00 | .ib....|........|
|00003d00| 77 68 69 6c 65 2f 69 66 | 20 42 4c 4f 43 4b 20 42 |while/if| BLOCK B|
|00003d10| 4c 4f 43 4b 08 74 68 65 | 0e 9d 13 00 00 00 00 00 |LOCK.the|........|
|00003d20| 2c 20 61 76 61 69 6c 61 | 62 6c 65 20 69 6e 20 50 |, availa|ble in P|
|00003d30| 65 72 6c 20 34 2c 20 69 | 73 20 6e 6f 20 6c 6f 6e |erl 4, i|s no lon|
|00003d40| 67 65 72 20 61 76 61 69 | 6c 61 62 6c 65 2e 20 20 |ger avai|lable. |
|00003d50| 20 52 65 70 6c 61 63 65 | 20 61 6e 79 20 6f 63 63 | Replace| any occ|
|00003d60| 75 72 72 65 6e 63 65 20 | 00 98 00 00 a5 78 00 00 |urrence |.....x..|
|00003d70| 40 6c d3 02 83 89 d3 ff | 63 b8 d3 ff 20 22 00 00 |@l......|c... "..|
|00003d80| 6f 66 20 07 0e 9e 13 00 | 0e 9e 13 00 00 00 00 00 |of .....|........|
|00003d90| 69 66 20 42 4c 4f 43 4b | 08 ff 12 00 0e 9f 13 00 |if BLOCK|........|
|00003da0| 00 00 00 00 20 62 79 20 | 07 00 00 00 0e a0 13 00 |.... by |........|
|00003db0| 0e a0 13 00 00 00 00 00 | 69 66 20 28 64 6f 20 42 |........|if (do B|
|00003dc0| 4c 4f 43 4b 29 08 6b 08 | 0e a1 13 00 00 00 00 00 |LOCK).k.|........|
|00003dd0| 2e 0d 07 07 0a a2 13 00 | 0a a2 13 00 00 00 00 00 |........|........|
|00003de0| 00 78 00 00 a5 3c 00 00 | 40 34 f6 00 dc 12 d3 ff |.x...<..|@4......|
|00003df0| 8c 49 d3 ff 18 2b 00 00 | 46 6f 72 20 4c 6f 6f 70 |.I...+..|For Loop|
|00003e00| 73 0d 08 72 0a a3 13 00 | 00 00 00 00 07 20 70 61 |s..r....|..... pa|
|00003e10| 14 a4 13 00 14 a4 13 00 | 00 00 00 00 00 3c 00 00 |........|.....<..|
|00003e20| a5 e4 00 00 40 40 01 07 | a7 bd d2 ff 87 ec d2 ff |....@@..|........|
|00003e30| 20 22 00 00 50 65 72 6c | 27 73 20 43 2d 73 74 79 | "..Perl|'s C-sty|
|00003e40| 6c 65 20 07 0e a5 13 00 | 14 a4 13 00 0e a5 13 00 |le .....|........|
|00003e50| 00 00 00 00 66 6f 72 08 | 0e a6 13 00 14 a4 13 00 |....for.|........|
|00003e60| 00 00 00 00 20 6c 6f 6f | 70 20 77 6f 72 6b 73 20 |.... loo|p works |
|00003e70| 65 78 61 63 74 6c 79 20 | 6c 69 6b 65 20 74 68 65 |exactly |like the|
|00003e80| 20 63 6f 72 72 65 73 70 | 6f 6e 64 69 6e 67 20 07 | corresp|onding .|
|00003e90| 0e a7 13 00 14 a4 13 00 | 0e a7 13 00 00 00 00 00 |........|........|
|00003ea0| 77 68 69 6c 65 08 65 78 | 0e a8 13 00 14 a4 13 00 |while.ex|........|
|00003eb0| 00 00 00 00 20 6c 6f 6f | 70 3b 20 74 68 61 74 20 |.... loo|p; that |
|00003ec0| 6d 65 61 6e 73 20 74 68 | 61 74 20 74 68 69 73 3a |means th|at this:|
|00003ed0| 0d 08 70 74 14 00 00 00 | 00 00 00 00 07 05 05 05 |..pt....|........|
|00003ee0| 12 a9 13 00 12 a9 13 00 | 00 00 00 00 07 2a 20 2a |........|.....* *|
|00003ef0| 0c aa 13 00 12 a9 13 00 | 0c aa 13 00 00 00 00 00 |........|........|
|00003f00| 00 e4 00 00 25 38 00 00 | 40 b0 a7 02 a0 56 d2 ff |....%8..|@....V..|
|00003f10| b0 7d d2 ff 70 1a 00 00 | 66 6f 72 20 28 24 69 20 |.}..p...|for ($i |
|00003f20| 3d 20 31 3b 20 24 69 20 | 3c 20 31 30 3b 20 24 69 |= 1; $i |< 10; $i|
|00003f30| 2b 2b 29 20 7b 0d 00 00 | 00 38 00 00 25 20 00 00 |++) {...|.8..% ..|
|00003f40| 40 10 a4 00 c0 27 d2 ff | d0 4e d2 ff 70 1a 00 00 |@....'..|.N..p...|
|00003f50| 20 20 20 20 2e 2e 2e 0d | 00 20 00 00 a5 44 00 00 | ....|. ...D..|
|00003f60| 40 70 17 00 e0 f8 d1 ff | f0 1f d2 ff 70 1a 00 00 |@p......|....p...|
|00003f70| 7d 0d 08 05 0c ab 13 00 | 12 a9 13 00 00 00 00 00 |}.......|........|
|00003f80| 08 2f 08 05 12 00 00 00 | 00 00 00 00 07 63 6f 6d |./......|.....com|
|00003f90| 18 ac 13 00 18 ac 13 00 | 00 00 00 00 00 44 00 00 |........|.....D..|
|00003fa0| a5 34 00 00 40 00 00 00 | 50 e4 d1 ff 10 f1 d1 ff |.4..@...|P.......|
|00003fb0| 00 00 00 00 0d 08 70 72 | 18 ad 13 00 00 00 00 00 |......pr|........|
|00003fc0| 07 6f 20 64 14 ae 13 00 | 14 ae 13 00 00 00 00 00 |.o d....|........|
|00003fd0| 00 34 00 00 a5 5c 00 00 | 40 90 5f 01 80 8b d1 ff |.4...\..|@._.....|
|00003fe0| 60 ba d1 ff 20 22 00 00 | 69 73 20 74 68 65 20 73 |`... "..|is the s|
|00003ff0| 61 6d 65 20 61 73 20 74 | 68 69 73 3a 0d 08 74 20 |ame as t|his:..t |
|00004000| 14 00 00 00 00 00 00 00 | 07 68 61 73 12 af 13 00 |........|.has....|
|00004010| 12 af 13 00 00 00 00 00 | 07 20 74 68 0c b0 13 00 |........|. th....|
|00004020| 12 af 13 00 0c b0 13 00 | 00 00 00 00 00 5c 00 00 |........|.....\..|
|00004030| 25 20 00 00 40 10 a4 00 | 79 24 d1 ff 89 4b d1 ff |% ..@...|y$...K..|
|00004040| 70 1a 00 00 24 69 20 3d | 20 31 3b 0d 00 20 00 00 |p...$i =| 1;.. ..|
|00004050| 25 2c 00 00 40 70 8e 01 | 99 f5 d0 ff a9 1c d1 ff |%,..@p..|........|
|00004060| 70 1a 00 00 77 68 69 6c | 65 20 28 24 69 20 3c 20 |p...whil|e ($i < |
|00004070| 31 30 29 20 7b 0d 00 00 | 00 2c 00 00 25 20 00 00 |10) {...|.,..% ..|
|00004080| 40 10 a4 00 b9 c6 d0 ff | c9 ed d0 ff 70 1a 00 00 |@.......|....p...|
|00004090| 20 20 20 20 2e 2e 2e 0d | 00 20 00 00 25 28 00 00 | ....|. ..%(..|
|000040a0| 40 40 19 01 d9 97 d0 ff | e9 be d0 ff 70 1a 00 00 |@@......|....p...|
|000040b0| 7d 20 63 6f 6e 74 69 6e | 75 65 20 7b 0d 00 00 00 |} contin|ue {....|
|000040c0| 00 28 00 00 25 24 00 00 | 40 f0 d2 00 f9 68 d0 ff |.(..%$..|@....h..|
|000040d0| 09 90 d0 ff 70 1a 00 00 | 20 20 20 20 24 69 2b 2b |....p...| $i++|
|000040e0| 3b 0d 00 00 00 24 00 00 | a5 44 00 00 40 70 17 00 |;....$..|.D..@p..|
|000040f0| 19 3a d0 ff 29 61 d0 ff | 70 1a 00 00 7d 0d 08 61 |.:..)a..|p...}..a|
|00004100| 0c b1 13 00 12 af 13 00 | 00 00 00 00 08 63 72 65 |........|.....cre|
|00004110| 12 00 00 00 00 00 00 00 | 07 20 6d 79 18 b2 13 00 |........|. my....|
|00004120| 18 b2 13 00 00 00 00 00 | 00 44 00 00 a5 24 00 00 |........|.D...$..|
|00004130| 40 00 00 00 89 25 d0 ff | 49 32 d0 ff 00 00 00 00 |@....%..|I2......|
|00004140| 0d 08 61 74 18 b3 13 00 | 00 00 00 00 00 24 00 00 |..at....|.....$..|
|00004150| 85 9c 00 00 00 34 ca 07 | b9 cc cf ff 99 fb cf ff |.....4..|........|
|00004160| 20 22 00 00 28 54 68 65 | 72 65 20 69 73 20 6f 6e | "..(The|re is on|
|00004170| 65 20 6d 69 6e 6f 72 20 | 64 69 66 66 65 72 65 6e |e minor |differen|
|00004180| 63 65 3a 20 54 68 65 20 | 66 69 72 73 74 20 66 6f |ce: The |first fo|
|00004190| 72 6d 20 69 6d 70 6c 69 | 65 73 20 61 20 6c 65 78 |rm impli|es a lex|
|000041a0| 69 63 61 6c 20 73 63 6f | 70 65 20 66 6f 72 20 76 |ical sco|pe for v|
|000041b0| 61 72 69 61 62 6c 65 73 | 20 64 65 63 6c 61 72 65 |ariables| declare|
|000041c0| 64 20 77 69 74 68 20 07 | 0e b4 13 00 0e b4 13 00 |d with .|........|
|000041d0| 00 00 00 00 6d 79 08 6e | 0e b5 13 00 00 00 00 00 |....my.n|........|
|000041e0| 20 69 6e 20 74 68 65 20 | 00 9c 00 00 25 34 00 00 | in the |....%4..|
|000041f0| 40 88 dc 01 92 94 cf ff | 72 c3 cf ff 20 22 00 00 |@.......|r... "..|
|00004200| 69 6e 69 74 69 61 6c 69 | 7a 61 74 69 6f 6e 20 65 |initiali|zation e|
|00004210| 78 70 72 65 73 73 69 6f | 6e 2e 29 0d 00 34 00 00 |xpressio|n.)..4..|
|00004220| 85 a0 00 00 00 98 c9 07 | bb 25 cf ff 9b 54 cf ff |........|.%...T..|
|00004230| 20 22 00 00 42 65 73 69 | 64 65 73 20 74 68 65 20 | "..Besi|des the |
|00004240| 6e 6f 72 6d 61 6c 20 61 | 72 72 61 79 20 69 6e 64 |normal a|rray ind|
|00004250| 65 78 20 6c 6f 6f 70 69 | 6e 67 2c 20 07 6c 61 72 |ex loopi|ng, .lar|
|00004260| 0e b6 13 00 0e b6 13 00 | 00 00 00 00 66 6f 72 08 |........|....for.|
|00004270| 0e b7 13 00 00 00 00 00 | 20 63 61 6e 20 6c 65 6e |........| can len|
|00004280| 64 20 69 74 73 65 6c 66 | 20 74 6f 20 6d 61 6e 79 |d itself| to many|
|00004290| 20 6f 74 68 65 72 20 69 | 6e 74 65 72 65 73 74 69 | other i|nteresti|
|000042a0| 6e 67 20 61 70 70 6c 69 | 63 61 74 69 6f 6e 73 2e |ng appli|cations.|
|000042b0| 20 20 48 65 72 65 27 73 | 20 00 00 00 00 a0 00 00 | Here's| .......|
|000042c0| 05 8c 00 00 00 8c e4 07 | 94 ed ce ff 74 1c cf ff |........|....t...|
|000042d0| 20 22 00 00 6f 6e 65 20 | 74 68 61 74 20 61 76 6f | "..one |that avo|
|000042e0| 69 64 73 20 74 68 65 20 | 70 72 6f 62 6c 65 6d 20 |ids the |problem |
|000042f0| 79 6f 75 20 67 65 74 20 | 69 6e 74 6f 20 69 66 20 |you get |into if |
|00004300| 79 6f 75 20 65 78 70 6c | 69 63 69 74 6c 79 20 74 |you expl|icitly t|
|00004310| 65 73 74 20 66 6f 72 20 | 65 6e 64 2d 6f 66 2d 66 |est for |end-of-f|
|00004320| 69 6c 65 20 6f 6e 20 61 | 6e 20 69 6e 74 65 72 61 |ile on a|n intera|
|00004330| 63 74 69 76 65 20 66 69 | 6c 65 20 64 65 73 63 72 |ctive fi|le descr|
|00004340| 69 70 74 6f 72 20 00 00 | 00 8c 00 00 a5 64 00 00 |iptor ..|.....d..|
|00004350| 40 f4 f6 02 6d b5 ce ff | 4d e4 ce ff 20 22 00 00 |@...m...|M... "..|
|00004360| 63 61 75 73 69 6e 67 20 | 79 6f 75 72 20 70 72 6f |causing |your pro|
|00004370| 67 72 61 6d 20 74 6f 20 | 61 70 70 65 61 72 20 74 |gram to |appear t|
|00004380| 6f 20 68 61 6e 67 2e 0d | 07 6f 70 65 12 b8 13 00 |o hang..|.ope....|
|00004390| 12 b8 13 00 00 00 00 00 | 07 20 61 20 0c b9 13 00 |........|. a ....|
|000043a0| 12 b8 13 00 0c b9 13 00 | 00 00 00 00 00 64 00 00 |........|.....d..|
|000043b0| 25 3c 00 00 40 e0 1c 03 | 66 4e ce ff 76 75 ce ff |%<..@...|fN..vu..|
|000043c0| 70 1a 00 00 24 6f 6e 5f | 61 5f 74 74 79 20 3d 20 |p...$on_|a_tty = |
|000043d0| 2d 74 20 53 54 44 49 4e | 20 26 26 20 2d 74 20 53 |-t STDIN| && -t S|
|000043e0| 54 44 4f 55 54 3b 0d 00 | 00 3c 00 00 25 44 00 00 |TDOUT;..|.<..%D..|
|000043f0| 40 f0 c0 03 86 1f ce ff | 96 46 ce ff 70 1a 00 00 |@.......|.F..p...|
|00004400| 73 75 62 20 70 72 6f 6d | 70 74 20 7b 20 70 72 69 |sub prom|pt { pri|
|00004410| 6e 74 20 22 79 65 73 3f | 20 22 20 69 66 20 24 6f |nt "yes?| " if $o|
|00004420| 6e 5f 61 5f 74 74 79 20 | 7d 0d 00 00 00 44 00 00 |n_a_tty |}....D..|
|00004430| 25 40 00 00 40 30 63 03 | a6 f0 cd ff b6 17 ce ff |%@..@0c.|........|
|00004440| 70 1a 00 00 66 6f 72 20 | 28 20 70 72 6f 6d 70 74 |p...for |( prompt|
|00004450| 28 29 3b 20 3c 53 54 44 | 49 4e 3e 3b 20 70 72 6f |(); <STD|IN>; pro|
|00004460| 6d 70 74 28 29 20 29 20 | 7b 0d 00 00 00 40 00 00 |mpt() ) |{....@..|
|00004470| 25 2c 00 00 40 e0 a5 01 | c6 c1 cd ff d6 e8 cd ff |%,..@...|........|
|00004480| 70 1a 00 00 20 20 20 20 | 23 20 64 6f 20 73 6f 6d |p... |# do som|
|00004490| 65 74 68 69 6e 67 0d 00 | 00 2c 00 00 a5 44 00 00 |ething..|.,...D..|
|000044a0| 40 70 17 00 e6 92 cd ff | f6 b9 cd ff 70 1a 00 00 |@p......|....p...|
|000044b0| 7d 0d 08 6f 0c ba 13 00 | 12 b8 13 00 00 00 00 00 |}..o....|........|
|000044c0| 08 07 05 05 12 00 00 00 | 00 00 00 00 07 00 00 00 |........|........|
|000044d0| 18 bb 13 00 18 bb 13 00 | 00 00 00 00 00 44 00 00 |........|.....D..|
|000044e0| a5 34 00 00 40 00 00 00 | 56 7e cd ff 16 8b cd ff |.4..@...|V~......|
|000044f0| 00 00 00 00 0d 08 65 2e | 18 bc 13 00 00 00 00 00 |......e.|........|
|00004500| 07 61 74 20 0a bd 13 00 | 0a bd 13 00 00 00 00 00 |.at ....|........|
|00004510| 00 34 00 00 01 10 00 00 | 41 c4 6c 01 00 00 00 00 |.4......|A.l.....|
|00004520| 00 10 00 00 02 18 00 00 | 38 07 00 00 00 00 00 00 |........|8.......|
|00004530| 0a bd 13 00 00 00 00 00 | 00 18 00 00 a5 3c 00 00 |........|.....<..|
|00004540| 40 c4 6c 01 ec 3d cb ff | 9c 74 cb ff 18 2b 00 00 |@.l..=..|.t...+..|
|00004550| 16 00 00 00 b0 fc 07 00 | 00 00 00 00 46 6f 72 65 |........|....Fore|
|00004560| 61 63 68 20 4c 6f 6f 70 | 73 0d 08 00 0a be 13 00 |ach Loop|s.......|
|00004570| 00 00 00 00 00 3c 00 00 | 85 a0 00 00 00 9c e9 07 |.....<..|........|
|00004580| b7 e8 ca ff 97 17 cb ff | 20 22 00 00 54 68 65 20 |........| "..The |
|00004590| 07 20 6e 6f 0e bf 13 00 | 0e bf 13 00 00 00 00 00 |. no....|........|
|000045a0| 66 6f 72 65 61 63 68 08 | 0e c0 13 00 00 00 00 00 |foreach.|........|
|000045b0| 20 6c 6f 6f 70 20 69 74 | 65 72 61 74 65 73 20 6f | loop it|erates o|
|000045c0| 76 65 72 20 61 20 6e 6f | 72 6d 61 6c 20 6c 69 73 |ver a no|rmal lis|
|000045d0| 74 20 76 61 6c 75 65 20 | 61 6e 64 20 73 65 74 73 |t value |and sets|
|000045e0| 20 74 68 65 20 76 61 72 | 69 61 62 6c 65 20 56 41 | the var|iable VA|
|000045f0| 52 20 74 6f 20 62 65 20 | 65 61 63 68 20 65 6c 65 |R to be |each ele|
|00004600| 6d 65 6e 74 20 6f 66 20 | 74 68 65 20 6c 69 73 74 |ment of |the list|
|00004610| 20 00 00 00 00 a0 00 00 | 85 a0 00 00 00 20 d5 07 | .......|..... ..|
|00004620| 90 b0 ca ff 70 df ca ff | 20 22 00 00 69 6e 20 74 |....p...| "..in t|
|00004630| 75 72 6e 2e 20 20 49 66 | 20 74 68 65 20 76 61 72 |urn. If| the var|
|00004640| 69 61 62 6c 65 20 69 73 | 20 70 72 65 63 65 64 65 |iable is| precede|
|00004650| 64 20 77 69 74 68 20 74 | 68 65 20 6b 65 79 77 6f |d with t|he keywo|
|00004660| 72 64 20 07 0e c1 13 00 | 0e c1 13 00 00 00 00 00 |rd .....|........|
|00004670| 6d 79 08 00 0e c2 13 00 | 00 00 00 00 2c 20 74 68 |my......|...., th|
|00004680| 65 6e 20 69 74 20 69 73 | 20 6c 65 78 69 63 61 6c |en it is| lexical|
|00004690| 6c 79 20 73 63 6f 70 65 | 64 2c 20 61 6e 64 20 69 |ly scope|d, and i|
|000046a0| 73 20 74 68 65 72 65 66 | 6f 72 65 20 76 69 73 69 |s theref|ore visi|
|000046b0| 62 6c 65 20 00 a0 00 00 | 05 84 00 00 00 58 91 07 |ble ....|.....X..|
|000046c0| 69 78 ca ff 49 a7 ca ff | 20 22 00 00 6f 6e 6c 79 |ix..I...| "..only|
|000046d0| 20 77 69 74 68 69 6e 20 | 74 68 65 20 6c 6f 6f 70 | within |the loop|
|000046e0| 2e 20 20 4f 74 68 65 72 | 77 69 73 65 2c 20 74 68 |. Other|wise, th|
|000046f0| 65 20 76 61 72 69 61 62 | 6c 65 20 69 73 20 69 6d |e variab|le is im|
|00004700| 70 6c 69 63 69 74 6c 79 | 20 6c 6f 63 61 6c 20 74 |plicitly| local t|
|00004710| 6f 20 74 68 65 20 6c 6f | 6f 70 20 61 6e 64 20 72 |o the lo|op and r|
|00004720| 65 67 61 69 6e 73 20 69 | 74 73 20 66 6f 72 6d 65 |egains i|ts forme|
|00004730| 72 20 76 61 6c 75 65 20 | 00 84 00 00 85 a0 00 00 |r value |........|
|00004740| 00 88 b8 07 42 40 ca ff | 22 6f ca ff 20 22 00 00 |....B@..|"o.. "..|
|00004750| 75 70 6f 6e 20 65 78 69 | 74 69 6e 67 20 74 68 65 |upon exi|ting the|
|00004760| 20 6c 6f 6f 70 2e 20 20 | 49 66 20 74 68 65 20 76 | loop. |If the v|
|00004770| 61 72 69 61 62 6c 65 20 | 77 61 73 20 70 72 65 76 |ariable |was prev|
|00004780| 69 6f 75 73 6c 79 20 64 | 65 63 6c 61 72 65 64 20 |iously d|eclared |
|00004790| 77 69 74 68 20 07 61 74 | 0e c3 13 00 0e c3 13 00 |with .at|........|
|000047a0| 00 00 00 00 6d 79 08 72 | 0e c4 13 00 00 00 00 00 |....my.r|........|
|000047b0| 2c 20 69 74 20 75 73 65 | 73 20 74 68 61 74 20 76 |, it use|s that v|
|000047c0| 61 72 69 61 62 6c 65 20 | 69 6e 73 74 65 61 64 20 |ariable |instead |
|000047d0| 6f 66 20 74 68 65 20 00 | 00 a0 00 00 05 8c 00 00 |of the .|........|
|000047e0| 00 b8 eb 07 1b 08 ca ff | fb 36 ca ff 20 22 00 00 |........|.6.. "..|
|000047f0| 67 6c 6f 62 61 6c 20 6f | 6e 65 2c 20 62 75 74 20 |global o|ne, but |
|00004800| 69 74 27 73 20 73 74 69 | 6c 6c 20 6c 6f 63 61 6c |it's sti|ll local|
|00004810| 69 7a 65 64 20 74 6f 20 | 74 68 65 20 6c 6f 6f 70 |ized to |the loop|
|00004820| 2e 20 20 28 4e 6f 74 65 | 20 74 68 61 74 20 61 20 |. (Note| that a |
|00004830| 6c 65 78 69 63 61 6c 6c | 79 20 73 63 6f 70 65 64 |lexicall|y scoped|
|00004840| 20 76 61 72 69 61 62 6c | 65 20 63 61 6e 20 63 61 | variabl|e can ca|
|00004850| 75 73 65 20 70 72 6f 62 | 6c 65 6d 73 20 77 69 74 |use prob|lems wit|
|00004860| 68 20 00 00 00 8c 00 00 | 25 48 00 00 40 28 41 03 |h ......|%H..@(A.|
|00004870| f4 cf c9 ff d4 fe c9 ff | 20 22 00 00 79 6f 75 20 |........| "..you |
|00004880| 68 61 76 65 20 73 75 62 | 72 6f 75 74 69 6e 65 20 |have sub|routine |
|00004890| 6f 72 20 66 6f 72 6d 61 | 74 20 64 65 63 6c 61 72 |or forma|t declar|
|000048a0| 61 74 69 6f 6e 73 2e 29 | 0d 00 00 00 00 48 00 00 |ations.)|.....H..|
|000048b0| 85 bc 00 00 00 c4 40 07 | 1d 61 c9 ff fd 8f c9 ff |......@.|.a......|
|000048c0| 20 22 00 00 54 68 65 20 | 07 75 61 6c 0e c5 13 00 | "..The |.ual....|
|000048d0| 0e c5 13 00 00 00 00 00 | 66 6f 72 65 61 63 68 08 |........|foreach.|
|000048e0| 0e c6 13 00 00 00 00 00 | 20 6b 65 79 77 6f 72 64 |........| keyword|
|000048f0| 20 69 73 20 61 63 74 75 | 61 6c 6c 79 20 61 20 73 | is actu|ally a s|
|00004900| 79 6e 6f 6e 79 6d 20 66 | 6f 72 20 74 68 65 20 07 |ynonym f|or the .|
|00004910| 0e c7 13 00 0e c7 13 00 | 00 00 00 00 66 6f 72 08 |........|....for.|
|00004920| 0e c8 13 00 00 00 00 00 | 20 6b 65 79 77 6f 72 64 |........| keyword|
|00004930| 2c 20 73 6f 20 79 6f 75 | 20 63 61 6e 20 75 73 65 |, so you| can use|
|00004940| 20 07 05 05 0e c9 13 00 | 0e c9 13 00 00 00 00 00 | .......|........|
|00004950| 66 6f 72 65 61 63 68 08 | 0e ca 13 00 00 00 00 00 |foreach.|........|
|00004960| 20 66 6f 72 20 00 00 00 | 00 bc 00 00 85 9c 00 00 | for ...|........|
|00004970| 00 9c 8c 07 f6 28 c9 ff | d6 57 c9 ff 20 22 00 00 |.....(..|.W.. "..|
|00004980| 72 65 61 64 61 62 69 6c | 69 74 79 20 6f 72 20 07 |readabil|ity or .|
|00004990| 0e cb 13 00 0e cb 13 00 | 00 00 00 00 66 6f 72 08 |........|....for.|
|000049a0| 0e cc 13 00 00 00 00 00 | 20 66 6f 72 20 62 72 65 |........| for bre|
|000049b0| 76 69 74 79 2e 20 20 49 | 66 20 56 41 52 20 69 73 |vity. I|f VAR is|
|000049c0| 20 6f 6d 69 74 74 65 64 | 2c 20 24 5f 20 69 73 20 | omitted|, $_ is |
|000049d0| 73 65 74 20 74 6f 20 65 | 61 63 68 20 76 61 6c 75 |set to e|ach valu|
|000049e0| 65 2e 20 20 49 66 20 4c | 49 53 54 20 69 73 20 61 |e. If L|IST is a|
|000049f0| 6e 20 61 63 74 75 61 6c | 20 61 72 72 61 79 20 28 |n actual| array (|
|00004a00| 61 73 20 00 00 9c 00 00 | 05 80 00 00 00 64 a3 07 |as .....|.....d..|
|00004a10| cf f0 c8 ff af 1f c9 ff | 20 22 00 00 6f 70 70 6f |........| "..oppo|
|00004a20| 73 65 64 20 74 6f 20 61 | 6e 20 65 78 70 72 65 73 |sed to a|n expres|
|00004a30| 73 69 6f 6e 20 72 65 74 | 75 72 6e 69 6e 67 20 61 |sion ret|urning a|
|00004a40| 20 6c 69 73 74 20 76 61 | 6c 75 65 29 2c 20 79 6f | list va|lue), yo|
|00004a50| 75 20 63 61 6e 20 6d 6f | 64 69 66 79 20 65 61 63 |u can mo|dify eac|
|00004a60| 68 20 65 6c 65 6d 65 6e | 74 20 6f 66 20 74 68 65 |h elemen|t of the|
|00004a70| 20 61 72 72 61 79 20 62 | 79 20 6d 6f 64 69 66 79 | array b|y modify|
|00004a80| 69 6e 67 20 00 80 00 00 | 85 9c 00 00 00 4c d0 07 |ing ....|.....L..|
|00004a90| a8 b8 c8 ff 88 e7 c8 ff | 20 22 00 00 56 41 52 20 |........| "..VAR |
|00004aa0| 69 6e 73 69 64 65 20 74 | 68 65 20 6c 6f 6f 70 2e |inside t|he loop.|
|00004ab0| 20 20 54 68 61 74 27 73 | 20 62 65 63 61 75 73 65 | That's| because|
|00004ac0| 20 74 68 65 20 07 69 6f | 0e cd 13 00 0e cd 13 00 | the .io|........|
|00004ad0| 00 00 00 00 66 6f 72 65 | 61 63 68 08 0e ce 13 00 |....fore|ach.....|
|00004ae0| 00 00 00 00 20 6c 6f 6f | 70 20 69 6e 64 65 78 20 |.... loo|p index |
|00004af0| 76 61 72 69 61 62 6c 65 | 20 69 73 20 61 6e 20 69 |variable| is an i|
|00004b00| 6d 70 6c 69 63 69 74 20 | 61 6c 69 61 73 20 66 6f |mplicit |alias fo|
|00004b10| 72 20 65 61 63 68 20 69 | 74 65 6d 20 69 6e 20 00 |r each i|tem in .|
|00004b20| 00 9c 00 00 a5 48 00 00 | 40 60 52 02 81 80 c8 ff |.....H..|@`R.....|
|00004b30| 61 af c8 ff 20 22 00 00 | 74 68 65 20 6c 69 73 74 |a... "..|the list|
|00004b40| 20 74 68 61 74 20 79 6f | 75 27 72 65 20 6c 6f 6f | that yo|u're loo|
|00004b50| 70 69 6e 67 20 6f 76 65 | 72 2e 0d 07 14 cf 13 00 |ping ove|r.......|
|00004b60| 14 cf 13 00 00 00 00 00 | 00 48 00 00 a5 50 00 00 |........|.H...P..|
|00004b70| 40 e8 c5 00 aa 11 c8 ff | 8a 40 c8 ff 20 22 00 00 |@.......|.@.. "..|
|00004b80| 45 78 61 6d 70 6c 65 73 | 3a 0d 08 05 14 00 00 00 |Examples|:.......|
|00004b90| 00 00 00 00 07 30 13 00 | 12 d0 13 00 12 d0 13 00 |.....0..|........|
|00004ba0| 00 00 00 00 07 31 13 00 | 0c d1 13 00 12 d0 13 00 |.....1..|........|
|00004bb0| 0c d1 13 00 00 00 00 00 | 00 50 00 00 a5 5c 00 00 |........|.P...\..|
|00004bc0| 40 f0 49 02 a3 aa c7 ff | b3 d1 c7 ff 70 1a 00 00 |@.I.....|....p...|
|00004bd0| 66 6f 72 20 28 40 61 72 | 79 29 20 7b 20 73 2f 66 |for (@ar|y) { s/f|
|00004be0| 6f 6f 2f 62 61 72 2f 20 | 7d 0d 08 73 0c d2 13 00 |oo/bar/ |}..s....|
|00004bf0| 12 d0 13 00 00 00 00 00 | 08 6c 69 73 12 00 00 00 |........|.lis....|
|00004c00| 00 00 00 00 07 05 05 05 | 18 d3 13 00 18 d3 13 00 |........|........|
|00004c10| 00 00 00 00 00 5c 00 00 | a5 48 00 00 40 00 00 00 |.....\..|.H..@...|
|00004c20| 13 96 c7 ff d3 a2 c7 ff | 00 00 00 00 0d 08 6e 64 |........|......nd|
|00004c30| 18 d4 13 00 00 00 00 00 | 07 2d 13 00 12 d5 13 00 |........|.-......|
|00004c40| 12 d5 13 00 00 00 00 00 | 07 08 05 05 0c d6 13 00 |........|........|
|00004c50| 12 d5 13 00 0c d6 13 00 | 00 00 00 00 00 48 00 00 |........|.....H..|
|00004c60| 25 38 00 00 40 20 bf 02 | 13 45 c7 ff 23 6c c7 ff |%8..@ ..|.E..#l..|
|00004c70| 70 1a 00 00 66 6f 72 65 | 61 63 68 20 6d 79 20 24 |p...fore|ach my $|
|00004c80| 65 6c 65 6d 20 28 40 65 | 6c 65 6d 65 6e 74 73 29 |elem (@e|lements)|
|00004c90| 20 7b 0d 00 00 38 00 00 | 25 28 00 00 40 90 5f 01 | {...8..|%(..@._.|
|00004ca0| 33 16 c7 ff 43 3d c7 ff | 70 1a 00 00 20 20 20 20 |3...C=..|p... |
|00004cb0| 24 65 6c 65 6d 20 2a 3d | 20 32 3b 0d 00 28 00 00 |$elem *=| 2;..(..|
|00004cc0| a5 44 00 00 40 70 17 00 | 53 e7 c6 ff 63 0e c7 ff |.D..@p..|S...c...|
|00004cd0| 70 1a 00 00 7d 0d 08 68 | 0c d7 13 00 12 d5 13 00 |p...}..h|........|
|00004ce0| 00 00 00 00 08 74 65 64 | 12 00 00 00 00 00 00 00 |.....ted|........|
|00004cf0| 07 55 54 49 18 d8 13 00 | 18 d8 13 00 00 00 00 00 |.UTI....|........|
|00004d00| 00 44 00 00 a5 48 00 00 | 40 00 00 00 c3 d2 c6 ff |.D...H..|@.......|
|00004d10| 83 df c6 ff 00 00 00 00 | 0d 08 20 65 18 d9 13 00 |........|.. e....|
|00004d20| 00 00 00 00 07 6e 63 65 | 12 da 13 00 12 da 13 00 |.....nce|........|
|00004d30| 00 00 00 00 07 6f 6e 64 | 0c db 13 00 12 da 13 00 |.....ond|........|
|00004d40| 0c db 13 00 00 00 00 00 | 00 48 00 00 25 44 00 00 |........|.H..%D..|
|00004d50| 40 60 d8 03 c3 81 c6 ff | d3 a8 c6 ff 70 1a 00 00 |@`......|....p...|
|00004d60| 66 6f 72 20 24 63 6f 75 | 6e 74 20 28 31 30 2c 39 |for $cou|nt (10,9|
|00004d70| 2c 38 2c 37 2c 36 2c 35 | 2c 34 2c 33 2c 32 2c 31 |,8,7,6,5|,4,3,2,1|
|00004d80| 2c 27 42 4f 4f 4d 27 29 | 20 7b 0d 00 00 44 00 00 |,'BOOM')| {...D..|
|00004d90| 25 3c 00 00 40 70 05 03 | e3 52 c6 ff f3 79 c6 ff |%<..@p..|.R...y..|
|00004da0| 70 1a 00 00 20 20 20 20 | 70 72 69 6e 74 20 24 63 |p... |print $c|
|00004db0| 6f 75 6e 74 2c 20 22 5c | 6e 22 3b 20 73 6c 65 65 |ount, "\|n"; slee|
|00004dc0| 70 28 31 29 3b 0d 00 00 | 00 3c 00 00 a5 44 00 00 |p(1);...|.<...D..|
|00004dd0| 40 70 17 00 03 24 c6 ff | 13 4b c6 ff 70 1a 00 00 |@p...$..|.K..p...|
|00004de0| 7d 0d 08 08 0c dc 13 00 | 12 da 13 00 00 00 00 00 |}.......|........|
|00004df0| 08 05 05 05 12 00 00 00 | 00 00 00 00 07 05 05 05 |........|........|
|00004e00| 18 dd 13 00 18 dd 13 00 | 00 00 00 00 00 44 00 00 |........|.....D..|
|00004e10| a5 48 00 00 40 00 00 00 | 73 0f c6 ff 33 1c c6 ff |.H..@...|s...3...|
|00004e20| 00 00 00 00 0d 08 6e 74 | 18 de 13 00 00 00 00 00 |......nt|........|
|00004e30| 07 20 63 68 12 df 13 00 | 12 df 13 00 00 00 00 00 |. ch....|........|
|00004e40| 07 3b 13 00 0c e0 13 00 | 12 df 13 00 0c e0 13 00 |.;......|........|
|00004e50| 00 00 00 00 00 48 00 00 | a5 6c 00 00 40 60 d8 03 |.....H..|.l..@`..|
|00004e60| 73 be c5 ff 83 e5 c5 ff | 70 1a 00 00 66 6f 72 20 |s.......|p...for |
|00004e70| 28 31 2e 2e 31 35 29 20 | 7b 20 70 72 69 6e 74 20 |(1..15) |{ print |
|00004e80| 22 4d 65 72 72 79 20 43 | 68 72 69 73 74 6d 61 73 |"Merry C|hristmas|
|00004e90| 5c 6e 22 3b 20 7d 0d 08 | 0c e1 13 00 12 df 13 00 |\n"; }..|........|
|00004ea0| 00 00 00 00 08 3c 13 00 | 12 00 00 00 00 00 00 00 |.....<..|........|
|00004eb0| 07 00 00 00 18 e2 13 00 | 18 e2 13 00 00 00 00 00 |........|........|
|00004ec0| 00 6c 00 00 a5 48 00 00 | 40 00 00 00 e3 a9 c5 ff |.l...H..|@.......|
|00004ed0| a3 b6 c5 ff 00 00 00 00 | 0d 08 6f 64 18 e3 13 00 |........|..od....|
|00004ee0| 00 00 00 00 07 6e 27 74 | 12 e4 13 00 12 e4 13 00 |.....n't|........|
|00004ef0| 00 00 00 00 07 62 65 6c | 0c e5 13 00 12 e4 13 00 |.....bel|........|
|00004f00| 0c e5 13 00 00 00 00 00 | 00 48 00 00 25 4c 00 00 |........|.H..%L..|
|00004f10| 40 50 ab 04 e3 58 c5 ff | f3 7f c5 ff 70 1a 00 00 |@P...X..|....p...|
|00004f20| 66 6f 72 65 61 63 68 20 | 24 69 74 65 6d 20 28 73 |foreach |$item (s|
|00004f30| 70 6c 69 74 28 2f 3a 5b | 5c 5c 5c 6e 3a 5d 2a 2f |plit(/:[|\\\n:]*/|
|00004f40| 2c 20 24 45 4e 56 7b 54 | 45 52 4d 43 41 50 7d 29 |, $ENV{T|ERMCAP})|
|00004f50| 29 20 7b 0d 00 4c 00 00 | 25 34 00 00 40 60 61 02 |) {..L..|%4..@`a.|
|00004f60| 03 2a c5 ff 13 51 c5 ff | 70 1a 00 00 20 20 20 20 |.*...Q..|p... |
|00004f70| 70 72 69 6e 74 20 22 49 | 74 65 6d 3a 20 24 69 74 |print "I|tem: $it|
|00004f80| 65 6d 5c 6e 22 3b 0d 00 | 00 34 00 00 a5 44 00 00 |em\n";..|.4...D..|
|00004f90| 40 70 17 00 23 fb c4 ff | 33 22 c5 ff 70 1a 00 00 |@p..#...|3"..p...|
|00004fa0| 7d 0d 08 6e 0c e6 13 00 | 12 e4 13 00 00 00 00 00 |}..n....|........|
|00004fb0| 08 20 63 61 12 00 00 00 | 00 00 00 00 07 6f 63 6b |. ca....|.....ock|
|00004fc0| 18 e7 13 00 18 e7 13 00 | 00 00 00 00 00 44 00 00 |........|.....D..|
|00004fd0| a5 34 00 00 40 00 00 00 | 93 e6 c4 ff 53 f3 c4 ff |.4..@...|....S...|
|00004fe0| 00 00 00 00 0d 08 65 20 | 18 e8 13 00 00 00 00 00 |......e |........|
|00004ff0| 07 61 69 6e 14 e9 13 00 | 14 e9 13 00 00 00 00 00 |.ain....|........|
|00005000| 00 34 00 00 a5 90 00 00 | 40 68 5f 05 c3 8d c4 ff |.4......|@h_.....|
|00005010| a3 bc c4 ff 20 22 00 00 | 48 65 72 65 27 73 20 68 |.... "..|Here's h|
|00005020| 6f 77 20 61 20 43 20 70 | 72 6f 67 72 61 6d 6d 65 |ow a C p|rogramme|
|00005030| 72 20 6d 69 67 68 74 20 | 63 6f 64 65 20 75 70 20 |r might |code up |
|00005040| 61 20 70 61 72 74 69 63 | 75 6c 61 72 20 61 6c 67 |a partic|ular alg|
|00005050| 6f 72 69 74 68 6d 20 69 | 6e 20 50 65 72 6c 3a 0d |orithm i|n Perl:.|
|00005060| 08 20 65 78 14 00 00 00 | 00 00 00 00 07 20 73 74 |. ex....|..... st|
|00005070| 12 ea 13 00 12 ea 13 00 | 00 00 00 00 07 63 61 73 |........|.....cas|
|00005080| 0c eb 13 00 12 ea 13 00 | 0c eb 13 00 00 00 00 00 |........|........|
|00005090| 00 90 00 00 25 3c 00 00 | 40 50 34 03 bc 26 c4 ff |....%<..|@P4..&..|
|000050a0| cc 4d c4 ff 70 1a 00 00 | 66 6f 72 20 28 6d 79 20 |.M..p...|for (my |
|000050b0| 24 69 20 3d 20 30 3b 20 | 24 69 20 3c 20 40 61 72 |$i = 0; |$i < @ar|
|000050c0| 79 31 3b 20 24 69 2b 2b | 29 20 7b 0d 00 3c 00 00 |y1; $i++|) {..<..|
|000050d0| 25 40 00 00 40 10 92 03 | dc f7 c3 ff ec 1e c4 ff |%@..@...|........|
|000050e0| 70 1a 00 00 20 20 20 20 | 66 6f 72 20 28 6d 79 20 |p... |for (my |
|000050f0| 24 6a 20 3d 20 30 3b 20 | 24 6a 20 3c 20 40 61 72 |$j = 0; |$j < @ar|
|00005100| 79 32 3b 20 24 6a 2b 2b | 29 20 7b 0d 00 40 00 00 |y2; $j++|) {..@..|
|00005110| 25 40 00 00 40 c0 4b 03 | fc c8 c3 ff 0c f0 c3 ff |%@..@.K.|........|
|00005120| 70 1a 00 00 20 20 20 20 | 20 20 20 20 69 66 20 28 |p... | if (|
|00005130| 24 61 72 79 31 5b 24 69 | 5d 20 3e 20 24 61 72 79 |$ary1[$i|] > $ary|
|00005140| 32 5b 24 6a 5d 29 20 7b | 0d 00 00 00 00 40 00 00 |2[$j]) {|.....@..|
|00005150| 25 44 00 00 40 f0 c0 03 | 1c 9a c3 ff 2c c1 c3 ff |%D..@...|....,...|
|00005160| 70 1a 00 00 20 20 20 20 | 20 20 20 20 20 20 20 20 |p... | |
|00005170| 6c 61 73 74 3b 20 23 20 | 63 61 6e 27 74 20 67 6f |last; # |can't go|
|00005180| 20 74 6f 20 6f 75 74 65 | 72 20 3a 2d 28 0d 00 00 | to oute|r :-(...|
|00005190| 00 44 00 00 25 24 00 00 | 40 f0 d2 00 3c 6b c3 ff |.D..%$..|@...<k..|
|000051a0| 4c 92 c3 ff 70 1a 00 00 | 20 20 20 20 20 20 20 20 |L...p...| |
|000051b0| 7d 0d 00 00 00 24 00 00 | 25 38 00 00 40 90 d6 02 |}....$..|%8..@...|
|000051c0| 5c 3c c3 ff 6c 63 c3 ff | 70 1a 00 00 20 20 20 20 |\<..lc..|p... |
|000051d0| 20 20 20 20 24 61 72 79 | 31 5b 24 69 5d 20 2b 3d | $ary|1[$i] +=|
|000051e0| 20 24 61 72 79 32 5b 24 | 6a 5d 3b 0d 00 38 00 00 | $ary2[$|j];..8..|
|000051f0| 25 20 00 00 40 30 75 00 | 7c 0d c3 ff 8c 34 c3 ff |% ..@0u.||....4..|
|00005200| 70 1a 00 00 20 20 20 20 | 7d 0d 00 00 00 20 00 00 |p... |}.... ..|
|00005210| 25 40 00 00 40 a0 7a 03 | 9c de c2 ff ac 05 c3 ff |%@..@.z.|........|
|00005220| 70 1a 00 00 20 20 20 20 | 23 20 74 68 69 73 20 69 |p... |# this i|
|00005230| 73 20 77 68 65 72 65 20 | 74 68 61 74 20 6c 61 73 |s where |that las|
|00005240| 74 20 74 61 6b 65 73 20 | 6d 65 0d 00 00 40 00 00 |t takes |me...@..|
|00005250| a5 44 00 00 40 70 17 00 | bc af c2 ff cc d6 c2 ff |.D..@p..|........|
|00005260| 70 1a 00 00 7d 0d 08 45 | 0c ec 13 00 12 ea 13 00 |p...}..E|........|
|00005270| 00 00 00 00 08 6e 75 65 | 12 00 00 00 00 00 00 00 |.....nue|........|
|00005280| 07 42 13 00 18 ed 13 00 | 18 ed 13 00 00 00 00 00 |.B......|........|
|00005290| 00 44 00 00 a5 34 00 00 | 40 00 00 00 2c 9b c2 ff |.D...4..|@...,...|
|000052a0| ec a7 c2 ff 00 00 00 00 | 0d 08 05 05 18 ee 13 00 |........|........|
|000052b0| 00 00 00 00 07 05 05 05 | 14 ef 13 00 14 ef 13 00 |........|........|
|000052c0| 00 00 00 00 00 34 00 00 | a5 98 00 00 40 a4 40 06 |.....4..|....@.@.|
|000052d0| 5c 42 c2 ff 3c 71 c2 ff | 20 22 00 00 57 68 65 72 |\B..<q..| "..Wher|
|000052e0| 65 61 73 20 68 65 72 65 | 27 73 20 68 6f 77 20 61 |eas here|'s how a|
|000052f0| 20 50 65 72 6c 20 70 72 | 6f 67 72 61 6d 6d 65 72 | Perl pr|ogrammer|
|00005300| 20 6d 6f 72 65 20 63 6f | 6d 66 6f 72 74 61 62 6c | more co|mfortabl|
|00005310| 65 20 77 69 74 68 20 74 | 68 65 20 69 64 69 6f 6d |e with t|he idiom|
|00005320| 20 6d 69 67 68 74 20 64 | 6f 20 69 74 3a 0d 08 63 | might d|o it:..c|
|00005330| 14 00 00 00 00 00 00 00 | 07 6b 65 74 12 f0 13 00 |........|.ket....|
|00005340| 12 f0 13 00 00 00 00 00 | 07 45 13 00 0c f1 13 00 |........|.E......|
|00005350| 12 f0 13 00 0c f1 13 00 | 00 00 00 00 00 98 00 00 |........|........|
|00005360| 25 3c 00 00 40 00 ee 02 | 55 db c1 ff 65 02 c2 ff |%<..@...|U...e...|
|00005370| 70 1a 00 00 4f 55 54 45 | 52 3a 20 66 6f 72 65 61 |p...OUTE|R: forea|
|00005380| 63 68 20 6d 79 20 24 77 | 69 64 20 28 40 61 72 79 |ch my $w|id (@ary|
|00005390| 31 29 20 7b 0d 00 00 00 | 00 3c 00 00 25 3c 00 00 |1) {....|.<..%<..|
|000053a0| 40 e0 1c 03 75 ac c1 ff | 85 d3 c1 ff 70 1a 00 00 |@...u...|....p...|
|000053b0| 49 4e 4e 45 52 3a 20 20 | 20 66 6f 72 65 61 63 68 |INNER: | foreach|
|000053c0| 20 6d 79 20 24 6a 65 74 | 20 28 40 61 72 79 32 29 | my $jet| (@ary2)|
|000053d0| 20 7b 0d 00 00 3c 00 00 | 25 40 00 00 40 a0 7a 03 | {...<..|%@..@.z.|
|000053e0| 95 7d c1 ff a5 a4 c1 ff | 70 1a 00 00 20 20 20 20 |.}......|p... |
|000053f0| 20 20 20 20 20 20 20 20 | 6e 65 78 74 20 4f 55 54 | |next OUT|
|00005400| 45 52 20 69 66 20 24 77 | 69 64 20 3e 20 24 6a 65 |ER if $w|id > $je|
|00005410| 74 3b 0d 00 00 40 00 00 | 25 34 00 00 40 f0 49 02 |t;...@..|%4..@.I.|
|00005420| b5 4e c1 ff c5 75 c1 ff | 70 1a 00 00 20 20 20 20 |.N...u..|p... |
|00005430| 20 20 20 20 20 20 20 20 | 24 77 69 64 20 2b 3d 20 | |$wid += |
|00005440| 24 6a 65 74 3b 0d 00 00 | 00 34 00 00 25 24 00 00 |$jet;...|.4..%$..|
|00005450| 40 60 ea 00 d5 1f c1 ff | e5 46 c1 ff 70 1a 00 00 |@`......|.F..p...|
|00005460| 20 20 20 20 20 20 20 20 | 20 7d 0d 00 00 24 00 00 | | }...$..|
|00005470| a5 4c 00 00 40 10 a4 00 | f5 f0 c0 ff 05 18 c1 ff |.L..@...|........|
|00005480| 70 1a 00 00 20 20 20 20 | 20 20 7d 0d 08 75 6e 6c |p... | }..unl|
|00005490| 0c f2 13 00 12 f0 13 00 | 00 00 00 00 08 3b 0d 6f |........|.....;.o|
|000054a0| 12 00 00 00 00 00 00 00 | 07 6f 72 20 18 f3 13 00 |........|.or ....|
|000054b0| 18 f3 13 00 00 00 00 00 | 00 4c 00 00 a5 24 00 00 |........|.L...$..|
|000054c0| 40 00 00 00 65 dc c0 ff | 25 e9 c0 ff 00 00 00 00 |@...e...|%.......|
|000054d0| 0d 08 72 20 18 f4 13 00 | 00 00 00 00 00 24 00 00 |..r ....|.....$..|
|000054e0| 05 8c 00 00 00 d0 88 07 | 95 83 c0 ff 75 b2 c0 ff |........|....u...|
|000054f0| 20 22 00 00 53 65 65 20 | 68 6f 77 20 6d 75 63 68 | "..See |how much|
|00005500| 20 65 61 73 69 65 72 20 | 74 68 69 73 20 69 73 3f | easier |this is?|
|00005510| 20 20 49 74 27 73 20 63 | 6c 65 61 6e 65 72 2c 20 | It's c|leaner, |
|00005520| 73 61 66 65 72 2c 20 61 | 6e 64 20 66 61 73 74 65 |safer, a|nd faste|
|00005530| 72 2e 20 20 49 74 27 73 | 20 63 6c 65 61 6e 65 72 |r. It's| cleaner|
|00005540| 20 62 65 63 61 75 73 65 | 20 69 74 27 73 20 6c 65 | because| it's le|
|00005550| 73 73 20 6e 6f 69 73 79 | 2e 20 20 49 74 27 73 20 |ss noisy|. It's |
|00005560| 73 61 66 65 72 20 00 00 | 00 8c 00 00 05 84 00 00 |safer ..|........|
|00005570| 00 fc b9 07 6e 4b c0 ff | 4e 7a c0 ff 20 22 00 00 |....nK..|Nz.. "..|
|00005580| 62 65 63 61 75 73 65 20 | 69 66 20 63 6f 64 65 20 |because |if code |
|00005590| 67 65 74 73 20 61 64 64 | 65 64 20 62 65 74 77 65 |gets add|ed betwe|
|000055a0| 65 6e 20 74 68 65 20 69 | 6e 6e 65 72 20 61 6e 64 |en the i|nner and|
|000055b0| 20 6f 75 74 65 72 20 6c | 6f 6f 70 73 20 6c 61 74 | outer l|oops lat|
|000055c0| 65 72 20 6f 6e 2c 20 74 | 68 65 20 6e 65 77 20 63 |er on, t|he new c|
|000055d0| 6f 64 65 20 77 6f 6e 27 | 74 20 62 65 20 61 63 63 |ode won'|t be acc|
|000055e0| 69 64 65 6e 74 61 6c 6c | 79 20 00 00 00 84 00 00 |identall|y ......|
|000055f0| 85 a0 00 00 00 74 e7 07 | 47 13 c0 ff 27 42 c0 ff |.....t..|G...'B..|
|00005600| 20 22 00 00 65 78 65 63 | 75 74 65 64 2e 20 20 54 | "..exec|uted. T|
|00005610| 68 65 20 07 0e f5 13 00 | 0e f5 13 00 00 00 00 00 |he .....|........|
|00005620| 6e 65 78 74 08 a1 6a fd | 0e f6 13 00 00 00 00 00 |next..j.|........|
|00005630| 20 65 78 70 6c 69 63 69 | 74 6c 79 20 69 74 65 72 | explici|tly iter|
|00005640| 61 74 65 73 20 74 68 65 | 20 6f 74 68 65 72 20 6c |ates the| other l|
|00005650| 6f 6f 70 20 72 61 74 68 | 65 72 20 74 68 61 6e 20 |oop rath|er than |
|00005660| 6d 65 72 65 6c 79 20 74 | 65 72 6d 69 6e 61 74 69 |merely t|erminati|
|00005670| 6e 67 20 74 68 65 20 69 | 6e 6e 65 72 20 6f 6e 65 |ng the i|nner one|
|00005680| 2e 20 20 41 6e 64 20 69 | 74 27 73 20 00 a0 00 00 |. And i|t's ....|
|00005690| 01 10 00 00 40 9c 9b 07 | 00 00 00 00 00 10 00 00 |....@...|........|
|000056a0| 02 14 00 00 d4 08 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000056b0| 00 14 00 00 a5 c4 00 00 | 40 9c 9b 07 0b 46 be ff |........|@....F..|
|000056c0| eb 74 be ff 20 22 00 00 | 16 00 00 00 b0 fc 07 00 |.t.. "..|........|
|000056d0| 00 00 00 00 66 61 73 74 | 65 72 20 62 65 63 61 75 |....fast|er becau|
|000056e0| 73 65 20 50 65 72 6c 20 | 65 78 65 63 75 74 65 73 |se Perl |executes|
|000056f0| 20 61 20 07 0e f7 13 00 | 0e f7 13 00 00 00 00 00 | a .....|........|
|00005700| 66 6f 72 65 61 63 68 08 | 0e f8 13 00 00 00 00 00 |foreach.|........|
|00005710| 20 73 74 61 74 65 6d 65 | 6e 74 20 6d 6f 72 65 20 | stateme|nt more |
|00005720| 72 61 70 69 64 6c 79 20 | 74 68 61 6e 20 69 74 20 |rapidly |than it |
|00005730| 77 6f 75 6c 64 20 74 68 | 65 20 65 71 75 69 76 61 |would th|e equiva|
|00005740| 6c 65 6e 74 20 07 00 00 | 0e f9 13 00 0e f9 13 00 |lent ...|........|
|00005750| 00 00 00 00 66 6f 72 08 | 0e fa 13 00 00 00 00 00 |....for.|........|
|00005760| 20 6c 6f 6f 70 2e 0d 07 | 0a fb 13 00 0a fb 13 00 | loop...|........|
|00005770| 00 00 00 00 00 c4 00 00 | a5 44 00 00 40 24 a8 03 |........|.D..@$..|
|00005780| 64 cf bd ff 14 06 be ff | 18 2b 00 00 42 61 73 69 |d.......|.+..Basi|
|00005790| 63 20 42 4c 4f 43 4b 73 | 20 61 6e 64 20 53 77 69 |c BLOCKs| and Swi|
|000057a0| 74 63 68 20 53 74 61 74 | 65 6d 65 6e 74 73 0d 08 |tch Stat|ements..|
|000057b0| 0a fc 13 00 00 00 00 00 | 00 44 00 00 05 84 00 00 |........|.D......|
|000057c0| 00 48 bf 07 2f 7a bd ff | 0f a9 bd ff 20 22 00 00 |.H../z..|.... "..|
|000057d0| 41 20 42 4c 4f 43 4b 20 | 62 79 20 69 74 73 65 6c |A BLOCK |by itsel|
|000057e0| 66 20 28 6c 61 62 65 6c | 65 64 20 6f 72 20 6e 6f |f (label|ed or no|
|000057f0| 74 29 20 69 73 20 73 65 | 6d 61 6e 74 69 63 61 6c |t) is se|mantical|
|00005800| 6c 79 20 65 71 75 69 76 | 61 6c 65 6e 74 20 74 6f |ly equiv|alent to|
|00005810| 20 61 20 6c 6f 6f 70 20 | 74 68 61 74 20 65 78 65 | a loop |that exe|
|00005820| 63 75 74 65 73 20 6f 6e | 63 65 2e 20 20 54 68 75 |cutes on|ce. Thu|
|00005830| 73 20 79 6f 75 20 63 61 | 6e 20 00 00 00 84 00 00 |s you ca|n ......|
|00005840| 85 ac 00 00 00 30 6e 07 | 08 42 bd ff e8 70 bd ff |.....0n.|.B...p..|
|00005850| 20 22 00 00 75 73 65 20 | 61 6e 79 20 6f 66 20 74 | "..use |any of t|
|00005860| 68 65 20 6c 6f 6f 70 20 | 63 6f 6e 74 72 6f 6c 20 |he loop |control |
|00005870| 73 74 61 74 65 6d 65 6e | 74 73 20 69 6e 20 69 74 |statemen|ts in it|
|00005880| 20 74 6f 20 6c 65 61 76 | 65 20 6f 72 20 72 65 73 | to leav|e or res|
|00005890| 74 61 72 74 20 74 68 65 | 20 62 6c 6f 63 6b 2e 20 |tart the| block. |
|000058a0| 20 28 4e 6f 74 65 20 74 | 68 61 74 20 74 68 69 73 | (Note t|hat this|
|000058b0| 20 69 73 20 07 63 6c 6f | 11 fd 13 00 11 fd 13 00 | is .clo|........|
|000058c0| 00 00 00 00 4e 4f 54 08 | 11 00 00 00 00 00 00 00 |....NOT.|........|
|000058d0| 20 74 72 75 65 20 69 6e | 20 07 69 63 0e fe 13 00 | true in| .ic....|
|000058e0| 0e fe 13 00 00 00 00 00 | 00 ac 00 00 85 d8 00 00 |........|........|
|000058f0| 00 54 35 07 e1 09 bd ff | c1 38 bd ff ba 1f 00 00 |.T5.....|.8......|
|00005900| 65 76 61 6c 7b 7d 08 6d | 0e ff 13 00 00 00 00 00 |eval{}.m|........|
|00005910| 2c 20 07 68 0e 00 14 00 | 0e 00 14 00 00 00 00 00 |, .h....|........|
|00005920| 73 75 62 7b 7d 08 70 65 | 0e 01 14 00 00 00 00 00 |sub{}.pe|........|
|00005930| 2c 20 6f 72 20 63 6f 6e | 74 72 61 72 79 20 74 6f |, or con|trary to|
|00005940| 20 70 6f 70 75 6c 61 72 | 20 62 65 6c 69 65 66 20 | popular| belief |
|00005950| 07 73 65 20 0e 02 14 00 | 0e 02 14 00 00 00 00 00 |.se ....|........|
|00005960| 64 6f 7b 7d 08 00 00 00 | 0e 03 14 00 00 00 00 00 |do{}....|........|
|00005970| 20 62 6c 6f 63 6b 73 2c | 20 77 68 69 63 68 20 64 | blocks,| which d|
|00005980| 6f 20 07 20 11 04 14 00 | 11 04 14 00 00 00 00 00 |o . ....|........|
|00005990| 4e 4f 54 08 11 00 00 00 | 00 00 00 00 20 63 6f 75 |NOT.....|.... cou|
|000059a0| 6e 74 20 61 73 20 6c 6f | 6f 70 73 2e 29 20 20 54 |nt as lo|ops.) T|
|000059b0| 68 65 20 07 0e 05 14 00 | 0e 05 14 00 00 00 00 00 |he .....|........|
|000059c0| 00 d8 00 00 a5 40 00 00 | 40 f4 30 02 ba d1 bc ff |.....@..|@.0.....|
|000059d0| 9a 00 bd ff ba 1f 00 00 | 63 6f 6e 74 69 6e 75 65 |........|continue|
|000059e0| 08 6f 6e 61 0e 06 14 00 | 00 00 00 00 20 62 6c 6f |.ona....|.... blo|
|000059f0| 63 6b 20 69 73 20 6f 70 | 74 69 6f 6e 61 6c 2e 0d |ck is op|tional..|
|00005a00| 00 40 00 00 a5 80 00 00 | 40 98 f6 04 e3 62 bc ff |.@......|@....b..|
|00005a10| c3 91 bc ff 20 22 00 00 | 54 68 65 20 42 4c 4f 43 |.... "..|The BLOC|
|00005a20| 4b 20 63 6f 6e 73 74 72 | 75 63 74 20 69 73 20 70 |K constr|uct is p|
|00005a30| 61 72 74 69 63 75 6c 61 | 72 6c 79 20 6e 69 63 65 |articula|rly nice|
|00005a40| 20 66 6f 72 20 64 6f 69 | 6e 67 20 63 61 73 65 20 | for doi|ng case |
|00005a50| 73 74 72 75 63 74 75 72 | 65 73 2e 0d 07 73 65 64 |structur|es...sed|
|00005a60| 12 07 14 00 12 07 14 00 | 00 00 00 00 07 20 61 20 |........|..... a |
|00005a70| 0c 08 14 00 12 07 14 00 | 0c 08 14 00 00 00 00 00 |........|........|
|00005a80| 00 80 00 00 25 24 00 00 | 40 f0 d2 00 dc fb bb ff |....%$..|@.......|
|00005a90| ec 22 bc ff 70 1a 00 00 | 53 57 49 54 43 48 3a 20 |."..p...|SWITCH: |
|00005aa0| 7b 0d 00 00 00 24 00 00 | 25 44 00 00 40 60 d8 03 |{....$..|%D..@`..|
|00005ab0| fc cc bb ff 0c f4 bb ff | 70 1a 00 00 20 20 20 20 |........|p... |
|00005ac0| 69 66 20 28 2f 5e 61 62 | 63 2f 29 20 7b 20 24 61 |if (/^ab|c/) { $a|
|00005ad0| 62 63 20 3d 20 31 3b 20 | 6c 61 73 74 20 53 57 49 |bc = 1; |last SWI|
|00005ae0| 54 43 48 3b 20 7d 0d 00 | 00 44 00 00 25 44 00 00 |TCH; }..|.D..%D..|
|00005af0| 40 60 d8 03 1c 9e bb ff | 2c c5 bb ff 70 1a 00 00 |@`......|,...p...|
|00005b00| 20 20 20 20 69 66 20 28 | 2f 5e 64 65 66 2f 29 20 | if (|/^def/) |
|00005b10| 7b 20 24 64 65 66 20 3d | 20 31 3b 20 6c 61 73 74 |{ $def =| 1; last|
|00005b20| 20 53 57 49 54 43 48 3b | 20 7d 0d 00 00 44 00 00 | SWITCH;| }...D..|
|00005b30| 25 44 00 00 40 60 d8 03 | 3c 6f bb ff 4c 96 bb ff |%D..@`..|<o..L...|
|00005b40| 70 1a 00 00 20 20 20 20 | 69 66 20 28 2f 5e 78 79 |p... |if (/^xy|
|00005b50| 7a 2f 29 20 7b 20 24 78 | 79 7a 20 3d 20 31 3b 20 |z/) { $x|yz = 1; |
|00005b60| 6c 61 73 74 20 53 57 49 | 54 43 48 3b 20 7d 0d 00 |last SWI|TCH; }..|
|00005b70| 00 44 00 00 25 2c 00 00 | 40 70 8e 01 5c 40 bb ff |.D..%,..|@p..\@..|
|00005b80| 6c 67 bb ff 70 1a 00 00 | 20 20 20 20 24 6e 6f 74 |lg..p...| $not|
|00005b90| 68 69 6e 67 20 3d 20 31 | 3b 0d 00 00 00 2c 00 00 |hing = 1|;....,..|
|00005ba0| a5 44 00 00 40 70 17 00 | 7c 11 bb ff 8c 38 bb ff |.D..@p..||....8..|
|00005bb0| 70 1a 00 00 7d 0d 08 05 | 0c 09 14 00 12 07 14 00 |p...}...|........|
|00005bc0| 00 00 00 00 08 73 74 61 | 12 00 00 00 00 00 00 00 |.....sta|........|
|00005bd0| 07 20 43 3b 18 0a 14 00 | 18 0a 14 00 00 00 00 00 |. C;....|........|
|00005be0| 00 44 00 00 a5 24 00 00 | 40 00 00 00 ec fc ba ff |.D...$..|@.......|
|00005bf0| ac 09 bb ff 00 00 00 00 | 0d 08 6f 6f 18 0b 14 00 |........|..oo....|
|00005c00| 00 00 00 00 00 24 00 00 | 05 88 00 00 00 60 da 07 |.....$..|.....`..|
|00005c10| 1c a4 ba ff fc d2 ba ff | 20 22 00 00 54 68 65 72 |........| "..Ther|
|00005c20| 65 20 69 73 20 6e 6f 20 | 6f 66 66 69 63 69 61 6c |e is no |official|
|00005c30| 20 73 77 69 74 63 68 20 | 73 74 61 74 65 6d 65 6e | switch |statemen|
|00005c40| 74 20 69 6e 20 50 65 72 | 6c 2c 20 62 65 63 61 75 |t in Per|l, becau|
|00005c50| 73 65 20 74 68 65 72 65 | 20 61 72 65 20 61 6c 72 |se there| are alr|
|00005c60| 65 61 64 79 20 73 65 76 | 65 72 61 6c 20 77 61 79 |eady sev|eral way|
|00005c70| 73 20 74 6f 20 77 72 69 | 74 65 20 74 68 65 20 65 |s to wri|te the e|
|00005c80| 71 75 69 76 61 6c 65 6e | 74 2e 20 20 00 88 00 00 |quivalen|t. ....|
|00005c90| a5 64 00 00 40 f0 fa 02 | f5 6b ba ff d5 9a ba ff |.d..@...|.k......|
|00005ca0| 20 22 00 00 49 6e 20 61 | 64 64 69 74 69 6f 6e 20 | "..In a|ddition |
|00005cb0| 74 6f 20 74 68 65 20 61 | 62 6f 76 65 2c 20 79 6f |to the a|bove, yo|
|00005cc0| 75 20 63 6f 75 6c 64 20 | 77 72 69 74 65 0d 07 00 |u could |write...|
|00005cd0| 12 0c 14 00 12 0c 14 00 | 00 00 00 00 07 61 73 74 |........|.....ast|
|00005ce0| 0c 0d 14 00 12 0c 14 00 | 0c 0d 14 00 00 00 00 00 |........|........|
|00005cf0| 00 64 00 00 25 24 00 00 | 40 f0 d2 00 ee 04 ba ff |.d..%$..|@.......|
|00005d00| fe 2b ba ff 70 1a 00 00 | 53 57 49 54 43 48 3a 20 |.+..p...|SWITCH: |
|00005d10| 7b 0d 00 00 00 24 00 00 | 25 40 00 00 40 30 63 03 |{....$..|%@..@0c.|
|00005d20| 0e d6 b9 ff 1e fd b9 ff | 70 1a 00 00 20 20 20 20 |........|p... |
|00005d30| 24 61 62 63 20 3d 20 31 | 2c 20 6c 61 73 74 20 53 |$abc = 1|, last S|
|00005d40| 57 49 54 43 48 20 20 69 | 66 20 2f 5e 61 62 63 2f |WITCH i|f /^abc/|
|00005d50| 3b 0d 00 00 00 40 00 00 | 25 40 00 00 40 30 63 03 |;....@..|%@..@0c.|
|00005d60| 2e a7 b9 ff 3e ce b9 ff | 70 1a 00 00 20 20 20 20 |....>...|p... |
|00005d70| 24 64 65 66 20 3d 20 31 | 2c 20 6c 61 73 74 20 53 |$def = 1|, last S|
|00005d80| 57 49 54 43 48 20 20 69 | 66 20 2f 5e 64 65 66 2f |WITCH i|f /^def/|
|00005d90| 3b 0d 00 00 00 40 00 00 | 25 40 00 00 40 30 63 03 |;....@..|%@..@0c.|
|00005da0| 4e 78 b9 ff 5e 9f b9 ff | 70 1a 00 00 20 20 20 20 |Nx..^...|p... |
|00005db0| 24 78 79 7a 20 3d 20 31 | 2c 20 6c 61 73 74 20 53 |$xyz = 1|, last S|
|00005dc0| 57 49 54 43 48 20 20 69 | 66 20 2f 5e 78 79 7a 2f |WITCH i|f /^xyz/|
|00005dd0| 3b 0d 00 00 00 40 00 00 | 25 2c 00 00 40 70 8e 01 |;....@..|%,..@p..|
|00005de0| 6e 49 b9 ff 7e 70 b9 ff | 70 1a 00 00 20 20 20 20 |nI..~p..|p... |
|00005df0| 24 6e 6f 74 68 69 6e 67 | 20 3d 20 31 3b 0d 00 00 |$nothing| = 1;...|
|00005e00| 00 2c 00 00 a5 44 00 00 | 40 70 17 00 8e 1a b9 ff |.,...D..|@p......|
|00005e10| 9e 41 b9 ff 70 1a 00 00 | 7d 0d 08 74 0c 0e 14 00 |.A..p...|}..t....|
|00005e20| 12 0c 14 00 00 00 00 00 | 08 3b 20 20 12 00 00 00 |........|.; ....|
|00005e30| 00 00 00 00 07 74 20 77 | 18 0f 14 00 18 0f 14 00 |.....t w|........|
|00005e40| 00 00 00 00 00 44 00 00 | a5 24 00 00 40 00 00 00 |.....D..|.$..@...|
|00005e50| fe 05 b9 ff be 12 b9 ff | 00 00 00 00 0d 08 13 00 |........|........|
|00005e60| 18 10 14 00 00 00 00 00 | 00 24 00 00 05 88 00 00 |........|.$......|
|00005e70| 00 18 c5 07 2e ad b8 ff | 0e dc b8 ff 20 22 00 00 |........|.... "..|
|00005e80| 28 54 68 61 74 27 73 20 | 61 63 74 75 61 6c 6c 79 |(That's |actually|
|00005e90| 20 6e 6f 74 20 61 73 20 | 73 74 72 61 6e 67 65 20 | not as |strange |
|00005ea0| 61 73 20 69 74 20 6c 6f | 6f 6b 73 20 6f 6e 63 65 |as it lo|oks once|
|00005eb0| 20 79 6f 75 20 72 65 61 | 6c 69 7a 65 20 74 68 61 | you rea|lize tha|
|00005ec0| 74 20 79 6f 75 20 63 61 | 6e 20 75 73 65 20 6c 6f |t you ca|n use lo|
|00005ed0| 6f 70 20 63 6f 6e 74 72 | 6f 6c 20 22 6f 70 65 72 |op contr|ol "oper|
|00005ee0| 61 74 6f 72 73 22 20 77 | 69 74 68 69 6e 20 00 00 |ators" w|ithin ..|
|00005ef0| 00 88 00 00 25 54 00 00 | 40 b0 39 04 07 75 b8 ff |....%T..|@.9..u..|
|00005f00| e7 a3 b8 ff 20 22 00 00 | 61 6e 20 65 78 70 72 65 |.... "..|an expre|
|00005f10| 73 73 69 6f 6e 2c 20 20 | 54 68 61 74 27 73 20 6a |ssion, |That's j|
|00005f20| 75 73 74 20 74 68 65 20 | 6e 6f 72 6d 61 6c 20 43 |ust the |normal C|
|00005f30| 20 63 6f 6d 6d 61 20 6f | 70 65 72 61 74 6f 72 2e | comma o|perator.|
|00005f40| 29 0d 00 00 00 54 00 00 | a5 3c 00 00 40 0c 27 00 |)....T..|.<..@.'.|
|00005f50| 30 06 b8 ff 10 35 b8 ff | 20 22 00 00 6f 72 0d 07 |0....5..| "..or..|
|00005f60| 12 11 14 00 12 11 14 00 | 00 00 00 00 07 72 6d 61 |........|.....rma|
|00005f70| 0c 12 14 00 12 11 14 00 | 0c 12 14 00 00 00 00 00 |........|........|
|00005f80| 00 3c 00 00 25 24 00 00 | 40 f0 d2 00 29 9f b7 ff |.<..%$..|@...)...|
|00005f90| 39 c6 b7 ff 70 1a 00 00 | 53 57 49 54 43 48 3a 20 |9...p...|SWITCH: |
|00005fa0| 7b 0d 00 00 00 24 00 00 | 25 48 00 00 40 40 07 04 |{....$..|%H..@@..|
|00005fb0| 49 70 b7 ff 59 97 b7 ff | 70 1a 00 00 20 20 20 20 |Ip..Y...|p... |
|00005fc0| 2f 5e 61 62 63 2f 20 26 | 26 20 64 6f 20 7b 20 24 |/^abc/ &|& do { $|
|00005fd0| 61 62 63 20 3d 20 31 3b | 20 6c 61 73 74 20 53 57 |abc = 1;| last SW|
|00005fe0| 49 54 43 48 3b 20 7d 3b | 0d 00 00 00 00 48 00 00 |ITCH; };|.....H..|
|00005ff0| 25 48 00 00 40 40 07 04 | 69 41 b7 ff 79 68 b7 ff |%H..@@..|iA..yh..|
|00006000| 70 1a 00 00 20 20 20 20 | 2f 5e 64 65 66 2f 20 26 |p... |/^def/ &|
|00006010| 26 20 64 6f 20 7b 20 24 | 64 65 66 20 3d 20 31 3b |& do { $|def = 1;|
|00006020| 20 6c 61 73 74 20 53 57 | 49 54 43 48 3b 20 7d 3b | last SW|ITCH; };|
|00006030| 0d 00 00 00 00 48 00 00 | 25 48 00 00 40 40 07 04 |.....H..|%H..@@..|
|00006040| 89 12 b7 ff 99 39 b7 ff | 70 1a 00 00 20 20 20 20 |.....9..|p... |
|00006050| 2f 5e 78 79 7a 2f 20 26 | 26 20 64 6f 20 7b 20 24 |/^xyz/ &|& do { $|
|00006060| 78 79 7a 20 3d 20 31 3b | 20 6c 61 73 74 20 53 57 |xyz = 1;| last SW|
|00006070| 49 54 43 48 3b 20 7d 3b | 0d 00 00 00 00 48 00 00 |ITCH; };|.....H..|
|00006080| 25 2c 00 00 40 70 8e 01 | a9 e3 b6 ff b9 0a b7 ff |%,..@p..|........|
|00006090| 70 1a 00 00 20 20 20 20 | 24 6e 6f 74 68 69 6e 67 |p... |$nothing|
|000060a0| 20 3d 20 31 3b 0d 00 00 | 00 2c 00 00 a5 44 00 00 | = 1;...|.,...D..|
|000060b0| 40 70 17 00 c9 b4 b6 ff | d9 db b6 ff 70 1a 00 00 |@p......|....p...|
|000060c0| 7d 0d 08 0d 0c 13 14 00 | 12 11 14 00 00 00 00 00 |}.......|........|
|000060d0| 08 2f 2f 29 12 00 00 00 | 00 00 00 00 07 20 20 24 |.//)....|..... $|
|000060e0| 18 14 14 00 18 14 14 00 | 00 00 00 00 00 44 00 00 |........|.....D..|
|000060f0| a5 34 00 00 40 00 00 00 | 39 a0 b6 ff f9 ac b6 ff |.4..@...|9.......|
|00006100| 00 00 00 00 0d 08 20 20 | 18 15 14 00 00 00 00 00 |...... |........|
|00006110| 07 6f 77 20 14 16 14 00 | 14 16 14 00 00 00 00 00 |.ow ....|........|
|00006120| 00 34 00 00 a5 88 00 00 | 40 e8 ca 04 69 47 b6 ff |.4......|@...iG..|
|00006130| 49 76 b6 ff 20 22 00 00 | 6f 72 20 66 6f 72 6d 61 |Iv.. "..|or forma|
|00006140| 74 74 65 64 20 73 6f 20 | 69 74 20 73 74 61 6e 64 |tted so |it stand|
|00006150| 73 20 6f 75 74 20 6d 6f | 72 65 20 61 73 20 61 20 |s out mo|re as a |
|00006160| 22 70 72 6f 70 65 72 22 | 20 73 77 69 74 63 68 20 |"proper"| switch |
|00006170| 73 74 61 74 65 6d 65 6e | 74 3a 0d 08 14 00 00 00 |statemen|t:......|
|00006180| 00 00 00 00 07 74 68 65 | 12 17 14 00 12 17 14 00 |.....the|........|
|00006190| 00 00 00 00 07 74 6c 79 | 0c 18 14 00 12 17 14 00 |.....tly|........|
|000061a0| 0c 18 14 00 00 00 00 00 | 00 88 00 00 25 24 00 00 |........|....%$..|
|000061b0| 40 f0 d2 00 62 e0 b5 ff | 72 07 b6 ff 70 1a 00 00 |@...b...|r...p...|
|000061c0| 53 57 49 54 43 48 3a 20 | 7b 0d 00 00 00 24 00 00 |SWITCH: |{....$..|
|000061d0| 25 30 00 00 40 10 1b 02 | 82 b1 b5 ff 92 d8 b5 ff |%0..@...|........|
|000061e0| 70 1a 00 00 20 20 20 20 | 2f 5e 61 62 63 2f 20 20 |p... |/^abc/ |
|000061f0| 20 20 20 20 26 26 20 64 | 6f 20 7b 0d 00 30 00 00 | && d|o {..0..|
|00006200| 25 3c 00 00 40 70 05 03 | a2 82 b5 ff b2 a9 b5 ff |%<..@p..|........|
|00006210| 70 1a 00 00 20 20 20 20 | 20 20 20 20 20 20 20 20 |p... | |
|00006220| 20 20 20 20 20 20 20 20 | 20 20 20 20 24 61 62 63 | | $abc|
|00006230| 20 3d 20 31 3b 0d 00 00 | 00 3c 00 00 25 40 00 00 | = 1;...|.<..%@..|
|00006240| 40 c0 4b 03 c2 53 b5 ff | d2 7a b5 ff 70 1a 00 00 |@.K..S..|.z..p...|
|00006250| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00006260| 20 20 20 20 20 20 20 20 | 6c 61 73 74 20 53 57 49 | |last SWI|
|00006270| 54 43 48 3b 0d 00 00 00 | 00 40 00 00 a5 58 00 00 |TCH;....|.@...X..|
|00006280| 40 30 ec 01 e2 24 b5 ff | f2 4b b5 ff 70 1a 00 00 |@0...$..|.K..p...|
|00006290| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000062a0| 20 20 20 7d 3b 0d 08 00 | 0c 19 14 00 12 17 14 00 | };...|........|
|000062b0| 00 00 00 00 08 05 05 05 | 12 00 00 00 00 00 00 00 |........|........|
|000062c0| 07 00 00 00 18 1a 14 00 | 18 1a 14 00 00 00 00 00 |........|........|
|000062d0| 00 58 00 00 a5 48 00 00 | 40 00 00 00 52 10 b5 ff |.X...H..|@...R...|
|000062e0| 12 1d b5 ff 00 00 00 00 | 0d 08 61 73 18 1b 14 00 |........|..as....|
|000062f0| 00 00 00 00 07 6e 74 20 | 12 1c 14 00 12 1c 14 00 |.....nt |........|
|00006300| 00 00 00 00 07 6e 69 6e | 0c 1d 14 00 12 1c 14 00 |.....nin|........|
|00006310| 0c 1d 14 00 00 00 00 00 | 00 48 00 00 25 2c 00 00 |........|.H..%,..|
|00006320| 40 50 bd 01 52 bf b4 ff | 62 e6 b4 ff 70 1a 00 00 |@P..R...|b...p...|
|00006330| 2f 5e 64 65 66 2f 20 20 | 20 20 20 20 26 26 20 64 |/^def/ | && d|
|00006340| 6f 20 7b 0d 00 2c 00 00 | 25 38 00 00 40 b0 a7 02 |o {..,..|%8..@...|
|00006350| 72 90 b4 ff 82 b7 b4 ff | 70 1a 00 00 20 20 20 20 |r.......|p... |
|00006360| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00006370| 24 64 65 66 20 3d 20 31 | 3b 0d 00 00 00 38 00 00 |$def = 1|;....8..|
|00006380| 25 3c 00 00 40 00 ee 02 | 92 61 b4 ff a2 88 b4 ff |%<..@...|.a......|
|00006390| 70 1a 00 00 20 20 20 20 | 20 20 20 20 20 20 20 20 |p... | |
|000063a0| 20 20 20 20 20 20 20 20 | 6c 61 73 74 20 53 57 49 | |last SWI|
|000063b0| 54 43 48 3b 0d 00 00 00 | 00 3c 00 00 a5 54 00 00 |TCH;....|.<...T..|
|000063c0| 40 70 8e 01 b2 32 b4 ff | c2 59 b4 ff 70 1a 00 00 |@p...2..|.Y..p...|
|000063d0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 7d | | }|
|000063e0| 3b 0d 08 20 0c 1e 14 00 | 12 1c 14 00 00 00 00 00 |;.. ....|........|
|000063f0| 08 20 20 20 12 00 00 00 | 00 00 00 00 07 20 63 6f |. ....|..... co|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.