home *** CD-ROM | disk | FTP | other *** search
Unknown | 1997-07-17 | 111.2 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| 10 bc 01 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 3d c1 00 00 00 00 00 | 00 18 00 00 a5 80 00 00 |.=......|........|
|00000040| 43 3c eb 05 40 25 ff ff | 60 73 ff ff d8 3b 00 00 |C<..@%..|`s...;..|
|00000050| 16 00 00 00 b0 fc 07 00 | 00 00 00 00 07 3d c1 00 |........|.....=..|
|00000060| 07 3d c1 00 07 3d c1 00 | 00 00 00 00 70 65 72 6c |.=...=..|....perl|
|00000070| 63 61 6c 6c 20 2d 20 50 | 65 72 6c 20 63 61 6c 6c |call - P|erl call|
|00000080| 69 6e 67 20 63 6f 05 05 | 6e 76 65 6e 74 69 6f 6e |ing co..|nvention|
|00000090| 73 20 66 72 6f 6d 20 43 | 0d 08 20 43 07 3d c1 00 |s from C|.. C.=..|
|000000a0| 00 00 00 00 07 00 50 13 | 08 d3 b8 00 08 d3 b8 00 |......P.|........|
|000000b0| 00 00 00 00 05 00 00 00 | 00 80 00 00 a5 30 00 00 |........|.....0..|
|000000c0| 40 a2 5f 01 a0 98 fe ff | f0 de fe ff 68 37 00 00 |@._.....|....h7..|
|000000d0| 44 65 73 63 72 69 70 74 | 69 6f 6e 0d 08 69 70 74 |Descript|ion..ipt|
|000000e0| 08 d4 b8 00 00 00 00 00 | 00 30 00 00 85 94 00 00 |........|.0......|
|000000f0| 00 b0 e4 07 3f 40 fe ff | 1f 6f fe ff 20 22 00 00 |....?@..|.o.. "..|
|00000100| 54 68 65 20 70 75 72 70 | 6f 73 65 20 6f 66 20 74 |The purp|ose of t|
|00000110| 68 69 73 20 64 6f 63 75 | 6d 65 6e 74 20 69 73 20 |his docu|ment is |
|00000120| 74 6f 20 73 68 6f 77 20 | 79 6f 75 20 68 6f 77 20 |to show |you how |
|00000130| 74 6f 20 63 61 6c 6c 20 | 50 65 72 6c 20 73 75 62 |to call |Perl sub|
|00000140| 72 6f 75 74 69 6e 65 73 | 20 64 69 72 65 63 74 6c |routines| directl|
|00000150| 79 20 66 72 6f 6d 20 43 | 2c 20 69 2e 65 2e 2c 20 |y from C|, i.e., |
|00000160| 68 6f 77 20 74 6f 20 77 | 72 69 74 65 20 07 c1 00 |how to w|rite ...|
|00000170| 11 d5 b8 00 11 d5 b8 00 | 00 00 00 00 00 94 00 00 |........|........|
|00000180| a5 30 00 00 40 c4 bc 00 | 18 08 fe ff f8 36 fe ff |.0..@...|.....6..|
|00000190| f8 22 00 00 63 61 6c 6c | 62 61 63 6b 73 08 6f 72 |."..call|backs.or|
|000001a0| 11 00 00 00 00 00 00 00 | 2e 0d 00 00 00 30 00 00 |........|.....0..|
|000001b0| 05 84 00 00 00 ec c3 07 | 41 99 fd ff 21 c8 fd ff |........|A...!...|
|000001c0| 20 22 00 00 41 70 61 72 | 74 20 66 72 6f 6d 20 64 | "..Apar|t from d|
|000001d0| 69 73 63 75 73 73 69 6e | 67 20 74 68 65 20 43 20 |iscussin|g the C |
|000001e0| 69 6e 74 65 72 66 61 63 | 65 20 70 72 6f 76 69 64 |interfac|e provid|
|000001f0| 65 64 20 62 79 20 50 65 | 72 6c 20 66 6f 72 20 77 |ed by Pe|rl for w|
|00000200| 72 69 74 69 6e 67 20 63 | 61 6c 6c 62 61 63 6b 73 |riting c|allbacks|
|00000210| 20 74 68 65 20 64 6f 63 | 75 6d 65 6e 74 20 75 73 | the doc|ument us|
|00000220| 65 73 20 61 20 73 65 72 | 69 65 73 20 6f 66 20 00 |es a ser|ies of .|
|00000230| 00 84 00 00 05 80 00 00 | 00 d8 8f 07 1a 61 fd ff |........|.....a..|
|00000240| fa 8f fd ff 20 22 00 00 | 65 78 61 6d 70 6c 65 73 |.... "..|examples|
|00000250| 20 74 6f 20 73 68 6f 77 | 20 68 6f 77 20 74 68 65 | to show| how the|
|00000260| 20 69 6e 74 65 72 66 61 | 63 65 20 61 63 74 75 61 | interfa|ce actua|
|00000270| 6c 6c 79 20 77 6f 72 6b | 73 20 69 6e 20 70 72 61 |lly work|s in pra|
|00000280| 63 74 69 63 65 2e 20 20 | 49 6e 20 61 64 64 69 74 |ctice. |In addit|
|00000290| 69 6f 6e 20 73 6f 6d 65 | 20 74 65 63 68 6e 69 71 |ion some| techniq|
|000002a0| 75 65 73 20 66 6f 72 20 | 63 6f 64 69 6e 67 20 00 |ues for |coding .|
|000002b0| 00 80 00 00 25 30 00 00 | 40 2c 9f 01 f3 28 fd ff |....%0..|@,...(..|
|000002c0| d3 57 fd ff 20 22 00 00 | 63 61 6c 6c 62 61 63 6b |.W.. "..|callback|
|000002d0| 73 20 61 72 65 20 63 6f | 76 65 72 65 64 2e 0d 00 |s are co|vered...|
|000002e0| 00 30 00 00 a5 68 00 00 | 40 d8 8d 03 1c ba fc ff |.0...h..|@.......|
|000002f0| fc e8 fc ff 20 22 00 00 | 45 78 61 6d 70 6c 65 73 |.... "..|Examples|
|00000300| 20 77 68 65 72 65 20 63 | 61 6c 6c 62 61 63 6b 73 | where c|allbacks|
|00000310| 20 61 72 65 20 6e 65 63 | 65 73 73 61 72 79 20 69 | are nec|essary i|
|00000320| 6e 63 6c 75 64 65 0d 07 | 13 d6 b8 00 13 d6 b8 00 |nclude..|........|
|00000330| 00 00 00 00 07 61 6c 6c | 14 d7 b8 00 13 d6 b8 00 |.....all|........|
|00000340| 14 d7 b8 00 00 00 00 00 | 00 68 00 00 a5 50 00 00 |........|.h...P..|
|00000350| 44 5c a8 01 45 4b fc ff | 25 7a fc ff 20 22 00 00 |D\..EK..|%z.. "..|
|00000360| 12 65 20 63 e8 35 00 00 | 00 00 00 00 8f 12 65 76 |.e c.5..|......ev|
|00000370| 70 17 00 00 00 00 00 00 | 41 6e 20 45 72 72 6f 72 |p.......|An Error|
|00000380| 20 48 61 6e 64 6c 65 72 | 0d 08 20 57 14 00 00 00 | Handler|.. W....|
|00000390| 13 d6 b8 00 00 00 00 00 | 00 50 00 00 25 7c 00 00 |........|.P..%|..|
|000003a0| 44 96 fe 04 6e dc fb ff | 4e 0b fc ff 20 22 00 00 |D...n...|N... "..|
|000003b0| 12 65 63 69 50 46 00 00 | 00 00 00 00 12 20 73 75 |.eciPF..|..... su|
|000003c0| 70 17 00 00 00 00 00 00 | 12 74 68 61 ee 02 00 00 |p.......|.tha....|
|000003d0| 00 00 00 00 59 6f 75 20 | 68 61 76 65 20 63 72 65 |....You |have cre|
|000003e0| 61 74 65 64 20 61 6e 20 | 58 53 55 42 20 69 6e 74 |ated an |XSUB int|
|000003f0| 65 72 66 61 63 65 20 74 | 6f 20 61 6e 20 61 70 70 |erface t|o an app|
|00000400| 6c 69 63 61 74 69 6f 6e | 27 73 20 43 20 41 50 49 |lication|'s C API|
|00000410| 2e 0d 00 00 00 7c 00 00 | 05 94 00 00 04 40 6a 07 |.....|..|.....@j.|
|00000420| 97 6d fb ff 77 9c fb ff | 20 22 00 00 12 63 20 65 |.m..w...| "...c e|
|00000430| 50 46 00 00 00 00 00 00 | 12 20 77 68 70 17 00 00 |PF......|. whp...|
|00000440| 00 00 00 00 41 20 66 61 | 69 72 6c 79 20 63 6f 6d |....A fa|irly com|
|00000450| 6d 6f 6e 20 66 65 61 74 | 75 72 65 20 69 6e 20 61 |mon feat|ure in a|
|00000460| 70 70 6c 69 63 61 74 69 | 6f 6e 73 20 69 73 20 74 |pplicati|ons is t|
|00000470| 6f 20 61 6c 6c 6f 77 20 | 79 6f 75 20 74 6f 20 64 |o allow |you to d|
|00000480| 65 66 05 69 6e 65 20 61 | 20 43 20 66 75 6e 63 74 |ef.ine a| C funct|
|00000490| 69 6f 6e 20 74 68 61 74 | 20 77 69 6c 6c 20 62 65 |ion that| will be|
|000004a0| 20 63 61 6c 6c 65 64 20 | 00 94 00 00 05 7c 00 00 | called |.....|..|
|000004b0| 00 14 57 07 70 35 fb ff | 50 64 fb ff 20 22 00 00 |..W.p5..|Pd.. "..|
|000004c0| 77 68 65 6e 65 76 65 72 | 20 73 6f 6d 65 74 68 69 |whenever| somethi|
|000004d0| 6e 67 20 6e 61 73 74 79 | 20 6f 63 63 75 72 73 2e |ng nasty| occurs.|
|000004e0| 20 57 68 61 74 20 77 65 | 20 77 6f 75 6c 64 20 6c | What we| would l|
|000004f0| 69 6b 65 20 69 73 20 74 | 6f 20 62 65 20 61 62 6c |ike is t|o be abl|
|00000500| 65 20 74 6f 20 73 70 65 | 63 69 66 79 20 61 20 50 |e to spe|cify a P|
|00000510| 65 72 6c 20 73 75 62 72 | 6f 75 74 69 6e 65 20 74 |erl subr|outine t|
|00000520| 68 61 74 20 00 7c 00 00 | a5 44 00 00 40 cc 98 01 |hat .|..|.D..@...|
|00000530| 49 fd fa ff 29 2c fb ff | 20 22 00 00 77 69 6c 6c |I...),..| "..will|
|00000540| 20 62 65 20 63 61 6c 6c | 65 64 20 69 6e 73 74 65 | be call|ed inste|
|00000550| 61 64 2e 0d 07 00 00 00 | 14 d8 b8 00 13 d6 b8 00 |ad......|........|
|00000560| 14 d8 b8 00 00 00 00 00 | 00 44 00 00 a5 58 00 00 |........|.D...X..|
|00000570| 44 28 4b 02 72 8e fa ff | 52 bd fa ff 20 22 00 00 |D(K.r...|R... "..|
|00000580| 12 65 20 61 e8 35 00 00 | 00 00 00 00 8f 12 77 68 |.e a.5..|......wh|
|00000590| 70 17 00 00 00 00 00 00 | 41 6e 20 45 76 65 6e 74 |p.......|An Event|
|000005a0| 20 44 72 69 76 65 6e 20 | 50 72 6f 67 72 61 6d 0d | Driven |Program.|
|000005b0| 08 20 74 68 14 00 00 00 | 13 d6 b8 00 00 00 00 00 |. th....|........|
|000005c0| 00 58 00 00 05 a4 00 00 | 04 12 ef 07 9b 1f fa ff |.X......|........|
|000005d0| 7b 4e fa ff 20 22 00 00 | 12 63 75 6d 50 46 00 00 |{N.. "..|.cumPF..|
|000005e0| 00 00 00 00 12 65 20 61 | 70 17 00 00 00 00 00 00 |.....e a|p.......|
|000005f0| 12 64 65 74 ee 02 00 00 | 00 00 00 00 54 68 65 20 |.det....|....The |
|00000600| 63 6c 61 73 73 69 63 20 | 65 78 61 6d 70 6c 65 20 |classic |example |
|00000610| 6f 66 20 77 68 65 72 65 | 20 63 61 6c 6c 62 61 63 |of where| callbac|
|00000620| 6b 73 20 61 72 65 20 75 | 73 65 64 20 69 73 20 77 |ks are u|sed is w|
|00000630| 68 65 6e 20 77 72 69 74 | 69 6e 67 20 61 6e 20 65 |hen writ|ing an e|
|00000640| 76 65 6e 74 20 64 72 69 | 76 65 6e 20 70 72 6f 67 |vent dri|ven prog|
|00000650| 72 61 6d 20 6c 69 6b 65 | 20 66 6f 72 20 61 6e 20 |ram like| for an |
|00000660| 58 20 00 00 00 a4 00 00 | 05 80 00 00 00 40 64 07 |X ......|.....@d.|
|00000670| 74 e7 f9 ff 54 16 fa ff | 20 22 00 00 77 69 6e 64 |t...T...| "..wind|
|00000680| 6f 77 73 20 61 70 70 6c | 69 63 61 74 69 6f 6e 2e |ows appl|ication.|
|00000690| 20 20 49 6e 20 74 68 69 | 73 20 63 61 73 65 20 79 | In thi|s case y|
|000006a0| 6f 75 20 72 65 67 69 73 | 74 65 72 20 66 75 6e 63 |ou regis|ter func|
|000006b0| 74 69 6f 6e 73 20 74 6f | 20 62 65 20 63 61 6c 6c |tions to| be call|
|000006c0| 65 64 20 77 68 65 6e 65 | 76 65 72 20 73 70 65 63 |ed whene|ver spec|
|000006d0| 69 66 69 63 20 65 76 65 | 6e 74 73 20 6f 63 63 75 |ific eve|nts occu|
|000006e0| 72 2c 20 00 00 80 00 00 | a5 80 00 00 40 20 ac 06 |r, .....|....@ ..|
|000006f0| 4d af f9 ff 2d de f9 ff | 20 22 00 00 65 2e 67 2e |M...-...| "..e.g.|
|00000700| 2c 20 61 20 6d 6f 75 73 | 65 20 62 75 74 74 6f 6e |, a mous|e button|
|00000710| 20 69 73 20 70 72 65 73 | 73 65 64 2c 20 74 68 65 | is pres|sed, the|
|00000720| 20 63 75 72 73 6f 72 20 | 6d 6f 76 65 73 20 69 6e | cursor |moves in|
|00000730| 74 6f 20 61 20 77 69 6e | 64 6f 77 20 6f 72 20 61 |to a win|dow or a|
|00000740| 20 6d 65 6e 75 20 69 74 | 65 6d 20 69 73 20 73 65 | menu it|em is se|
|00000750| 6c 65 63 74 65 64 2e 0d | 08 dc b8 00 13 d9 b8 00 |lected..|........|
|00000760| 00 00 00 00 00 80 00 00 | 05 84 00 00 00 e4 d4 07 |........|........|
|00000770| 76 40 f9 ff 56 6f f9 ff | 20 22 00 00 41 6c 74 68 |v@..Vo..| "..Alth|
|00000780| 6f 75 67 68 20 74 68 65 | 20 74 65 63 68 6e 69 71 |ough the| techniq|
|00000790| 75 65 73 20 64 65 73 63 | 72 69 62 65 64 20 68 65 |ues desc|ribed he|
|000007a0| 72 65 20 61 72 65 20 61 | 70 70 6c 69 63 61 62 6c |re are a|pplicabl|
|000007b0| 65 20 77 68 65 6e 20 65 | 6d 62 65 64 64 69 6e 67 |e when e|mbedding|
|000007c0| 20 50 65 72 6c 20 69 6e | 20 61 20 43 20 70 72 6f | Perl in| a C pro|
|000007d0| 67 72 61 6d 2c 20 74 68 | 69 73 20 69 73 20 6e 6f |gram, th|is is no|
|000007e0| 74 20 74 68 65 20 00 00 | 00 84 00 00 05 7c 00 00 |t the ..|.....|..|
|000007f0| 00 64 1c 07 4f 08 f9 ff | 2f 37 f9 ff 20 22 00 00 |.d..O...|/7.. "..|
|00000800| 70 72 69 6d 61 72 79 20 | 67 6f 61 6c 20 6f 66 20 |primary |goal of |
|00000810| 74 68 69 73 20 64 6f 63 | 75 6d 65 6e 74 2e 20 54 |this doc|ument. T|
|00000820| 68 65 72 65 20 61 72 65 | 20 6f 74 68 65 72 20 64 |here are| other d|
|00000830| 65 74 61 69 6c 73 20 74 | 68 61 74 20 6d 75 73 74 |etails t|hat must|
|00000840| 20 62 65 20 63 6f 6e 73 | 69 64 65 72 65 64 20 61 | be cons|idered a|
|00000850| 6e 64 20 61 72 65 20 73 | 70 65 63 69 66 69 63 20 |nd are s|pecific |
|00000860| 74 6f 20 00 00 7c 00 00 | a5 88 00 00 40 38 2b 06 |to ..|..|....@8+.|
|00000870| 28 d0 f8 ff 08 ff f8 ff | 20 22 00 00 65 6d 62 65 |(.......| "..embe|
|00000880| 64 64 69 6e 67 20 50 65 | 72 6c 2e 20 46 6f 72 20 |dding Pe|rl. For |
|00000890| 64 65 74 61 69 6c 73 20 | 6f 6e 20 65 6d 62 65 64 |details |on embed|
|000008a0| 64 69 6e 67 20 50 65 72 | 6c 20 69 6e 20 43 20 72 |ding Per|l in C r|
|000008b0| 65 66 65 72 20 74 6f 20 | 74 68 65 20 63 68 61 70 |efer to |the chap|
|000008c0| 74 65 72 20 07 6c 6c 5f | 10 da b8 00 10 da b8 00 |ter .ll_|........|
|000008d0| 00 00 00 00 70 65 72 6c | 65 6d 62 65 64 08 66 6c |....perl|embed.fl|
|000008e0| 10 00 00 00 00 00 00 00 | 2e 0d 00 00 00 88 00 00 |........|........|
|000008f0| 05 88 00 00 00 e8 ee 07 | 51 61 f8 ff 31 90 f8 ff |........|Qa..1...|
|00000900| 20 22 00 00 42 65 66 6f | 72 65 20 79 6f 75 20 6c | "..Befo|re you l|
|00000910| 61 75 6e 63 68 20 79 6f | 75 72 73 65 6c 66 20 68 |aunch yo|urself h|
|00000920| 65 61 64 20 66 69 72 73 | 74 20 69 6e 74 6f 20 74 |ead firs|t into t|
|00000930| 68 65 20 72 65 73 74 20 | 6f 66 20 74 68 69 73 20 |he rest |of this |
|00000940| 64 6f 63 75 6d 65 6e 74 | 2c 20 69 74 20 77 6f 75 |document|, it wou|
|00000950| 6c 64 20 62 65 20 61 20 | 67 6f 6f 64 20 69 64 65 |ld be a |good ide|
|00000960| 61 20 74 6f 20 68 61 76 | 65 20 72 65 61 64 20 74 |a to hav|e read t|
|00000970| 68 65 20 00 00 88 00 00 | a5 a0 00 00 40 d8 40 05 |he .....|....@.@.|
|00000980| 2a 29 f8 ff 0a 58 f8 ff | 20 22 00 00 66 6f 6c 6c |*)...X..| "..foll|
|00000990| 6f 77 69 6e 67 20 74 77 | 6f 20 64 6f 63 75 6d 65 |owing tw|o docume|
|000009a0| 6e 74 73 20 2d 20 74 68 | 65 20 63 68 61 70 74 65 |nts - th|e chapte|
|000009b0| 72 20 07 00 10 db b8 00 | 10 db b8 00 00 00 00 00 |r ......|........|
|000009c0| 70 65 72 6c 78 73 08 05 | 10 00 00 00 00 00 00 00 |perlxs..|........|
|000009d0| 20 61 6e 64 20 74 68 65 | 20 63 68 61 70 74 65 72 | and the| chapter|
|000009e0| 20 07 75 6e 10 dc b8 00 | 10 dc b8 00 00 00 00 00 | .un....|........|
|000009f0| 70 65 72 6c 67 75 74 73 | 08 70 6c 65 10 00 00 00 |perlguts|.ple....|
|00000a00| 00 00 00 00 2e 0d 07 68 | 08 dd b8 00 08 dd b8 00 |.......h|........|
|00000a10| 00 00 00 00 00 a0 00 00 | a5 3c 00 00 40 a0 de 02 |........|.<..@...|
|00000a20| e3 a2 f7 ff 33 e9 f7 ff | 68 37 00 00 54 68 65 20 |....3...|h7..The |
|00000a30| 50 65 72 6c 5f 63 61 6c | 6c 20 46 75 6e 63 74 69 |Perl_cal|l Functi|
|00000a40| 6f 6e 73 0d 08 20 41 74 | 08 de b8 00 00 00 00 00 |ons.. At|........|
|00000a50| 00 3c 00 00 05 7c 00 00 | 00 68 2d 07 82 4a f7 ff |.<...|..|.h-..J..|
|00000a60| 62 79 f7 ff 20 22 00 00 | 41 6c 74 68 6f 75 67 68 |by.. "..|Although|
|00000a70| 20 74 68 69 73 20 73 74 | 75 66 66 20 69 73 20 65 | this st|uff is e|
|00000a80| 61 73 69 65 72 20 74 6f | 20 65 78 70 6c 61 69 6e |asier to| explain|
|00000a90| 20 75 73 69 6e 67 20 65 | 78 61 6d 70 6c 65 73 2c | using e|xamples,|
|00000aa0| 20 79 6f 75 20 66 69 72 | 73 74 20 6e 65 65 64 20 | you fir|st need |
|00000ab0| 62 65 20 61 77 61 72 65 | 20 6f 66 20 61 20 66 65 |be aware| of a fe|
|00000ac0| 77 20 69 6d 70 6f 72 74 | 61 6e 74 20 00 7c 00 00 |w import|ant .|..|
|00000ad0| 25 28 00 00 40 40 d4 00 | 5b 12 f7 ff 3b 41 f7 ff |%(..@@..|[...;A..|
|00000ae0| 20 22 00 00 64 65 66 69 | 6e 69 74 69 6f 6e 73 2e | "..defi|nitions.|
|00000af0| 0d 00 00 00 00 28 00 00 | a5 90 00 00 40 54 03 06 |.....(..|....@T..|
|00000b00| 84 a3 f6 ff 64 d2 f6 ff | 20 22 00 00 50 65 72 6c |....d...| "..Perl|
|00000b10| 20 68 61 73 20 61 20 6e | 75 6d 62 65 72 20 6f 66 | has a n|umber of|
|00000b20| 20 43 20 66 75 6e 63 74 | 69 6f 6e 73 20 74 68 61 | C funct|ions tha|
|00000b30| 74 20 61 6c 6c 6f 77 20 | 79 6f 75 20 74 6f 20 63 |t allow |you to c|
|00000b40| 61 6c 6c 20 50 65 72 6c | 20 73 75 62 72 6f 75 74 |all Perl| subrout|
|00000b50| 69 6e 65 73 2e 20 20 54 | 68 65 79 20 61 72 65 0d |ines. T|hey are.|
|00000b60| 07 65 72 61 12 df b8 00 | 12 df b8 00 00 00 00 00 |.era....|........|
|00000b70| 07 6c 79 20 0c e0 b8 00 | 12 df b8 00 0c e0 b8 00 |.ly ....|........|
|00000b80| 00 00 00 00 00 90 00 00 | 25 40 00 00 40 30 63 03 |........|%@..@0c.|
|00000b90| 7d 3c f6 ff 8d 63 f6 ff | 70 1a 00 00 49 33 32 20 |}<...c..|p...I32 |
|00000ba0| 70 65 72 6c 5f 63 61 6c | 6c 5f 73 76 28 53 56 2a |perl_cal|l_sv(SV*|
|00000bb0| 20 73 76 2c 20 49 33 32 | 20 66 6c 61 67 73 29 20 | sv, I32| flags) |
|00000bc0| 3b 0d 00 00 00 40 00 00 | 25 48 00 00 40 40 07 04 |;....@..|%H..@@..|
|00000bd0| 9d 0d f6 ff ad 34 f6 ff | 70 1a 00 00 49 33 32 20 |.....4..|p...I32 |
|00000be0| 70 65 72 6c 5f 63 61 6c | 6c 5f 70 76 28 63 68 61 |perl_cal|l_pv(cha|
|00000bf0| 72 20 2a 73 75 62 6e 61 | 6d 65 2c 20 49 33 32 20 |r *subna|me, I32 |
|00000c00| 66 6c 61 67 73 29 20 3b | 0d 00 00 00 00 48 00 00 |flags) ;|.....H..|
|00000c10| 25 4c 00 00 40 70 7c 04 | bd de f5 ff cd 05 f6 ff |%L..@p|.|........|
|00000c20| 70 1a 00 00 49 33 32 20 | 70 65 72 6c 5f 63 61 6c |p...I32 |perl_cal|
|00000c30| 6c 5f 6d 65 74 68 6f 64 | 28 63 68 61 72 20 2a 6d |l_method|(char *m|
|00000c40| 65 74 68 6e 61 6d 65 2c | 20 49 33 32 20 66 6c 61 |ethname,| I32 fla|
|00000c50| 67 73 29 20 3b 0d 00 00 | 00 4c 00 00 a5 88 00 00 |gs) ;...|.L......|
|00000c60| 40 c0 39 06 dd af f5 ff | ed d6 f5 ff 70 1a 00 00 |@.9.....|....p...|
|00000c70| 49 33 32 20 70 65 72 6c | 5f 63 61 6c 6c 5f 61 72 |I32 perl|_call_ar|
|00000c80| 67 76 28 63 68 61 72 20 | 2a 73 75 62 6e 61 6d 65 |gv(char |*subname|
|00000c90| 2c 20 49 33 32 20 66 6c | 61 67 73 2c 20 72 65 67 |, I32 fl|ags, reg|
|00000ca0| 69 73 74 65 72 20 63 68 | 61 72 20 2a 2a 61 72 67 |ister ch|ar **arg|
|00000cb0| 76 29 20 3b 0d 08 73 76 | 0c e1 b8 00 12 df b8 00 |v) ;..sv|........|
|00000cc0| 00 00 00 00 08 00 00 00 | 12 00 00 00 00 00 00 00 |........|........|
|00000cd0| 07 6f 20 70 18 e2 b8 00 | 18 e2 b8 00 00 00 00 00 |.o p....|........|
|00000ce0| 00 88 00 00 a5 24 00 00 | 40 00 00 00 4d 9b f5 ff |.....$..|@...M...|
|00000cf0| 0d a8 f5 ff 00 00 00 00 | 0d 08 00 00 18 e3 b8 00 |........|........|
|00000d00| 00 00 00 00 00 24 00 00 | 85 a4 00 00 00 68 db 07 |.....$..|.....h..|
|00000d10| 7d 42 f5 ff 5d 71 f5 ff | 20 22 00 00 54 68 65 20 |}B..]q..| "..The |
|00000d20| 6b 65 79 20 66 75 6e 63 | 74 69 6f 6e 20 69 73 20 |key func|tion is |
|00000d30| 07 66 79 20 11 e4 b8 00 | 11 e4 b8 00 00 00 00 00 |.fy ....|........|
|00000d40| 70 65 72 6c 5f 63 61 6c | 6c 5f 73 76 08 20 63 61 |perl_cal|l_sv. ca|
|00000d50| 11 00 00 00 00 00 00 00 | 2e 20 20 41 6c 6c 20 74 |........|. All t|
|00000d60| 68 65 20 6f 74 68 65 72 | 20 66 75 6e 63 74 69 6f |he other| functio|
|00000d70| 6e 73 20 61 72 65 20 66 | 61 69 72 6c 79 20 73 69 |ns are f|airly si|
|00000d80| 6d 70 6c 65 20 77 72 61 | 70 70 65 72 73 20 77 68 |mple wra|ppers wh|
|00000d90| 69 63 68 20 6d 61 6b 65 | 20 69 74 20 65 61 73 69 |ich make| it easi|
|00000da0| 65 72 20 74 6f 20 00 00 | 00 a4 00 00 85 a4 00 00 |er to ..|........|
|00000db0| 00 18 d1 07 56 0a f5 ff | 36 39 f5 ff 20 22 00 00 |....V...|69.. "..|
|00000dc0| 63 61 6c 6c 20 50 65 72 | 6c 20 73 75 62 72 6f 75 |call Per|l subrou|
|00000dd0| 74 69 6e 65 73 20 69 6e | 20 73 70 65 63 69 61 6c |tines in| special|
|00000de0| 20 63 61 73 65 73 2e 20 | 41 74 20 74 68 65 20 65 | cases. |At the e|
|00000df0| 6e 64 20 6f 66 20 74 68 | 65 20 64 61 79 20 74 68 |nd of th|e day th|
|00000e00| 65 79 20 77 69 6c 6c 20 | 61 6c 6c 20 63 61 6c 6c |ey will |all call|
|00000e10| 20 07 66 20 11 e5 b8 00 | 11 e5 b8 00 00 00 00 00 | .f ....|........|
|00000e20| 70 65 72 6c 5f 63 61 6c | 6c 5f 73 76 08 63 61 6c |perl_cal|l_sv.cal|
|00000e30| 11 00 00 00 00 00 00 00 | 20 74 6f 20 69 6e 76 6f |........| to invo|
|00000e40| 6b 65 20 74 68 65 20 50 | 65 72 6c 20 00 a4 00 00 |ke the P|erl ....|
|00000e50| 25 24 00 00 40 a0 d1 00 | 2f d2 f4 ff 0f 01 f5 ff |%$..@...|/.......|
|00000e60| 20 22 00 00 73 75 62 72 | 6f 75 74 69 6e 65 2e 0d | "..subr|outine..|
|00000e70| 00 24 00 00 85 b8 00 00 | 00 cc c2 07 58 63 f4 ff |.$......|....Xc..|
|00000e80| 38 92 f4 ff 20 22 00 00 | 41 6c 6c 20 74 68 65 20 |8... "..|All the |
|00000e90| 07 08 05 05 11 e6 b8 00 | 11 e6 b8 00 00 00 00 00 |........|........|
|00000ea0| 70 65 72 6c 5f 63 61 6c | 6c 5f 2a 08 11 00 00 00 |perl_cal|l_*.....|
|00000eb0| 00 00 00 00 20 66 75 6e | 63 74 69 6f 6e 73 20 68 |.... fun|ctions h|
|00000ec0| 61 76 65 20 61 20 07 6c | 0e e7 b8 00 0e e7 b8 00 |ave a .l|........|
|00000ed0| 00 00 00 00 66 6c 61 67 | 73 08 b8 00 0e e8 b8 00 |....flag|s.......|
|00000ee0| 00 00 00 00 20 70 61 72 | 61 6d 65 74 65 72 20 77 |.... par|ameter w|
|00000ef0| 68 69 63 68 20 69 73 20 | 75 73 65 64 20 74 6f 20 |hich is |used to |
|00000f00| 70 61 73 73 20 61 20 62 | 69 74 20 6d 61 73 6b 20 |pass a b|it mask |
|00000f10| 6f 66 20 6f 70 74 69 6f | 6e 73 20 74 6f 20 50 65 |of optio|ns to Pe|
|00000f20| 72 6c 2e 20 20 00 00 00 | 00 b8 00 00 05 84 00 00 |rl. ...|........|
|00000f30| 00 d4 6f 07 31 2b f4 ff | 11 5a f4 ff 20 22 00 00 |..o.1+..|.Z.. "..|
|00000f40| 54 68 69 73 20 62 69 74 | 20 6d 61 73 6b 20 6f 70 |This bit| mask op|
|00000f50| 65 72 61 74 65 73 20 69 | 64 65 6e 74 69 63 61 6c |erates i|dentical|
|00000f60| 6c 79 20 66 6f 72 20 65 | 61 63 68 20 6f 66 20 74 |ly for e|ach of t|
|00000f70| 68 65 20 66 75 6e 63 74 | 69 6f 6e 73 2e 20 20 54 |he funct|ions. T|
|00000f80| 68 65 20 73 65 74 74 69 | 6e 67 73 20 61 76 61 69 |he setti|ngs avai|
|00000f90| 6c 61 62 6c 65 20 69 6e | 20 74 68 65 20 62 69 74 |lable in| the bit|
|00000fa0| 20 6d 61 73 6b 20 61 72 | 65 20 00 00 00 84 00 00 | mask ar|e ......|
|00000fb0| 01 10 00 00 40 24 1b 03 | 00 00 00 00 00 10 00 00 |....@$..|........|
|00000fc0| 02 14 00 00 64 02 00 00 | 00 00 00 00 00 00 00 00 |....d...|........|
|00000fd0| 00 14 00 00 a5 64 00 00 | 40 24 1b 03 cf 44 f2 ff |.....d..|@$...D..|
|00000fe0| af 73 f2 ff 20 22 00 00 | 16 00 00 00 b0 fc 07 00 |.s.. "..|........|
|00000ff0| 00 00 00 00 64 69 73 63 | 75 73 73 65 64 20 69 6e |....disc|ussed in|
|00001000| 20 74 68 65 20 63 68 61 | 70 74 65 72 20 07 00 00 | the cha|pter ...|
|00001010| 10 e9 b8 00 10 e9 b8 00 | 00 00 00 00 46 4c 41 47 |........|....FLAG|
|00001020| 20 56 41 4c 55 45 53 08 | 10 00 00 00 00 00 00 00 | VALUES.|........|
|00001030| 2e 0d 00 00 00 64 00 00 | a5 88 00 00 40 40 cb 03 |.....d..|....@@..|
|00001040| f8 d5 f1 ff d8 04 f2 ff | 20 22 00 00 45 61 63 68 |........| "..Each|
|00001050| 20 6f 66 20 74 68 65 20 | 66 75 6e 63 74 69 6f 6e | of the |function|
|00001060| 73 20 77 69 6c 6c 20 6e | 6f 77 20 62 65 20 64 69 |s will n|ow be di|
|00001070| 73 63 75 73 73 65 64 20 | 69 6e 20 74 75 72 6e 2e |scussed |in turn.|
|00001080| 0d 07 00 00 13 ea b8 00 | 13 ea b8 00 00 00 00 00 |........|........|
|00001090| 07 8a b7 e6 09 eb b8 00 | 13 ea b8 00 09 eb b8 00 |........|........|
|000010a0| 00 00 00 00 07 20 69 6e | 10 ec b8 00 13 ea b8 00 |..... in|........|
|000010b0| 09 eb b8 00 10 ec b8 00 | 00 00 00 00 00 88 00 00 |........|........|
|000010c0| a5 48 00 00 40 94 ef 00 | 21 67 f1 ff 01 96 f1 ff |.H..@...|!g......|
|000010d0| 28 23 00 00 70 65 72 6c | 5f 63 61 6c 6c 5f 73 76 |(#..perl|_call_sv|
|000010e0| 08 10 00 00 10 00 00 00 | 13 ea b8 00 09 eb b8 00 |........|........|
|000010f0| 00 00 00 00 0d 08 03 00 | 09 ed b8 00 13 ea b8 00 |........|........|
|00001100| 00 00 00 00 00 48 00 00 | 85 d8 00 00 04 e8 43 07 |.....H..|......C.|
|00001110| fa 2e f1 ff da 5d f1 ff | 20 22 00 f0 12 45 53 08 |.....]..| "...ES.|
|00001120| 50 46 00 00 00 00 00 00 | 12 0d 00 00 70 17 00 00 |PF......|....p...|
|00001130| 00 00 00 00 07 40 cb 03 | 11 ee b8 00 13 ea b8 00 |.....@..|........|
|00001140| 11 ee b8 00 00 00 00 00 | 70 65 72 6c 5f 63 61 6c |........|perl_cal|
|00001150| 6c 5f 73 76 08 69 6f 6e | 11 00 00 00 13 ea b8 00 |l_sv.ion|........|
|00001160| 00 00 00 00 20 74 61 6b | 65 73 20 74 77 6f 20 70 |.... tak|es two p|
|00001170| 61 72 61 6d 65 74 65 72 | 73 2c 20 74 68 65 20 66 |arameter|s, the f|
|00001180| 69 72 73 74 2c 20 07 00 | 0e ef b8 00 13 ea b8 00 |irst, ..|........|
|00001190| 0e ef b8 00 00 00 00 00 | 73 76 08 00 0e f0 b8 00 |........|sv......|
|000011a0| 13 ea b8 00 00 00 00 00 | 2c 20 69 73 20 61 6e 20 |........|, is an |
|000011b0| 53 56 2a 2e 20 54 68 69 | 73 20 61 6c 6c 6f 77 73 |SV*. Thi|s allows|
|000011c0| 20 79 6f 75 20 74 6f 20 | 73 70 65 63 69 66 79 20 | you to |specify |
|000011d0| 74 68 65 20 50 65 72 6c | 20 00 00 00 00 d8 00 00 |the Perl| .......|
|000011e0| 05 84 00 00 00 80 8a 07 | d3 f6 f0 ff b3 25 f1 ff |........|.....%..|
|000011f0| 20 22 00 f0 73 75 62 72 | 6f 75 74 69 6e 65 20 74 | "..subr|outine t|
|00001200| 6f 20 62 65 20 63 61 6c | 6c 65 64 20 65 69 74 68 |o be cal|led eith|
|00001210| 65 72 20 61 73 20 61 20 | 43 20 73 74 72 69 6e 67 |er as a |C string|
|00001220| 20 28 77 68 69 63 68 20 | 68 61 73 20 66 69 72 73 | (which |has firs|
|00001230| 74 20 62 65 65 6e 20 63 | 6f 6e 76 65 72 74 65 64 |t been c|onverted|
|00001240| 20 74 6f 20 61 6e 20 53 | 56 29 20 6f 72 20 61 20 | to an S|V) or a |
|00001250| 72 65 66 65 72 65 6e 63 | 65 20 74 6f 20 61 20 00 |referenc|e to a .|
|00001260| 00 84 00 00 a5 e0 00 00 | 40 14 a6 06 ac be f0 ff |........|@.......|
|00001270| 8c ed f0 ff 20 22 00 f0 | 73 75 62 72 6f 75 74 69 |.... "..|subrouti|
|00001280| 6e 65 2e 20 54 68 65 20 | 73 65 63 74 69 6f 6e 2c |ne. The |section,|
|00001290| 20 07 74 68 11 f1 b8 00 | 13 ea b8 00 11 f1 b8 00 | .th....|........|
|000012a0| 00 00 00 00 55 73 69 6e | 67 20 70 65 72 6c 5f 63 |....Usin|g perl_c|
|000012b0| 61 6c 6c 5f 73 76 08 08 | 11 00 00 00 13 ea b8 00 |all_sv..|........|
|000012c0| 00 00 00 00 2c 20 73 68 | 6f 77 73 20 68 6f 77 20 |...., sh|ows how |
|000012d0| 79 6f 75 20 63 61 6e 20 | 6d 61 6b 65 20 75 73 65 |you can |make use|
|000012e0| 20 6f 66 20 07 6e 64 20 | 11 f2 b8 00 13 ea b8 00 | of .nd |........|
|000012f0| 11 f2 b8 00 00 00 00 00 | 70 65 72 6c 5f 63 61 6c |........|perl_cal|
|00001300| 6c 5f 73 76 08 65 72 20 | 11 00 00 00 13 ea b8 00 |l_sv.er |........|
|00001310| 00 00 00 00 2e 0d 07 00 | 09 f3 b8 00 13 ea b8 00 |........|........|
|00001320| 09 f3 b8 00 00 00 00 00 | 07 6c 6c 5f 10 f4 b8 00 |........|.ll_....|
|00001330| 13 ea b8 00 09 f3 b8 00 | 10 f4 b8 00 00 00 00 00 |........|........|
|00001340| 00 e0 00 00 a5 48 00 00 | 40 68 f7 00 d5 4f f0 ff |.....H..|@h...O..|
|00001350| b5 7e f0 ff 28 23 00 f0 | 70 65 72 6c 5f 63 61 6c |.~..(#..|perl_cal|
|00001360| 6c 5f 70 76 08 04 b9 00 | 10 00 00 00 13 ea b8 00 |l_pv....|........|
|00001370| 09 f3 b8 00 00 00 00 00 | 0d 08 6f 64 09 f5 b8 00 |........|..od....|
|00001380| 13 ea b8 00 00 00 00 00 | 00 48 00 00 85 e0 00 00 |........|.H......|
|00001390| 04 78 89 07 ae 17 f0 ff | 8e 46 f0 ff 20 22 00 f0 |.x......|.F.. "..|
|000013a0| 12 05 05 05 50 46 00 00 | 00 00 00 00 12 05 b9 00 |....PF..|........|
|000013b0| 70 17 00 00 00 00 00 00 | 54 68 65 20 66 75 6e 63 |p.......|The func|
|000013c0| 74 69 6f 6e 2c 20 07 05 | 11 f6 b8 00 13 ea b8 00 |tion, ..|........|
|000013d0| 11 f6 b8 00 00 00 00 00 | 70 65 72 6c 5f 63 61 6c |........|perl_cal|
|000013e0| 6c 5f 70 76 08 00 00 00 | 11 00 00 00 13 ea b8 00 |l_pv....|........|
|000013f0| 00 00 00 00 2c 20 69 73 | 20 73 69 6d 69 6c 61 72 |...., is| similar|
|00001400| 20 74 6f 20 07 5f 61 72 | 11 f7 b8 00 13 ea b8 00 | to ._ar|........|
|00001410| 11 f7 b8 00 00 00 00 00 | 70 65 72 6c 5f 63 61 6c |........|perl_cal|
|00001420| 6c 5f 73 76 08 72 6c 20 | 11 00 00 00 13 ea b8 00 |l_sv.rl |........|
|00001430| 00 00 00 00 20 65 78 63 | 65 70 74 20 69 74 20 65 |.... exc|ept it e|
|00001440| 78 70 65 63 74 73 20 69 | 74 73 20 66 69 72 73 74 |xpects i|ts first|
|00001450| 20 70 61 72 61 6d 65 74 | 65 72 20 74 6f 20 62 65 | paramet|er to be|
|00001460| 20 61 20 43 20 00 00 00 | 00 e0 00 00 85 98 00 00 | a C ...|........|
|00001470| 00 b8 82 07 87 df ef ff | 67 0e f0 ff 20 22 00 f0 |........|g... "..|
|00001480| 63 68 61 72 2a 20 77 68 | 69 63 68 20 69 64 65 6e |char* wh|ich iden|
|00001490| 74 69 66 69 65 73 20 74 | 68 65 20 50 65 72 6c 20 |tifies t|he Perl |
|000014a0| 73 75 62 72 6f 75 74 69 | 6e 65 20 79 6f 75 20 77 |subrouti|ne you w|
|000014b0| 61 6e 74 20 74 6f 20 63 | 61 6c 6c 2c 20 65 2e 67 |ant to c|all, e.g|
|000014c0| 2e 2c 20 07 0e f8 b8 00 | 13 ea b8 00 0e f8 b8 00 |., .....|........|
|000014d0| 00 00 00 00 70 65 72 6c | 5f 63 61 6c 6c 5f 70 76 |....perl|_call_pv|
|000014e0| 28 22 66 72 65 64 22 2c | 20 30 29 08 0e f9 b8 00 |("fred",| 0).....|
|000014f0| 13 ea b8 00 00 00 00 00 | 2e 20 20 49 66 20 00 00 |........|. If ..|
|00001500| 00 98 00 00 85 94 00 00 | 00 14 7b 07 60 a7 ef ff |........|..{.`...|
|00001510| 40 d6 ef ff 20 22 00 f0 | 74 68 65 20 73 75 62 72 |@... "..|the subr|
|00001520| 6f 75 74 69 6e 65 20 79 | 6f 75 20 77 61 6e 74 20 |outine y|ou want |
|00001530| 74 6f 20 63 61 6c 6c 20 | 69 73 20 69 6e 20 61 6e |to call |is in an|
|00001540| 6f 74 68 65 72 20 70 61 | 63 6b 61 67 65 2c 20 6a |other pa|ckage, j|
|00001550| 75 73 74 20 69 6e 63 6c | 75 64 65 20 74 68 65 20 |ust incl|ude the |
|00001560| 70 61 63 6b 61 67 65 20 | 6e 61 6d 65 20 69 6e 20 |package |name in |
|00001570| 74 68 65 20 73 74 72 69 | 6e 67 2c 20 65 2e 67 2e |the stri|ng, e.g.|
|00001580| 2c 20 07 00 0e fa b8 00 | 13 ea b8 00 0e fa b8 00 |, ......|........|
|00001590| 00 00 00 00 00 94 00 00 | a5 5c 00 00 40 18 41 01 |........|.\..@.A.|
|000015a0| 39 6f ef ff 19 9e ef ff | ba 1f 00 f0 22 70 6b 67 |9o......|...."pkg|
|000015b0| 3a 3a 66 72 65 64 22 08 | 0e fb b8 00 13 ea b8 00 |::fred".|........|
|000015c0| 00 00 00 00 2e 0d 07 20 | 09 fc b8 00 13 ea b8 00 |....... |........|
|000015d0| 09 fc b8 00 00 00 00 00 | 07 61 6e 20 10 fd b8 00 |........|.an ....|
|000015e0| 13 ea b8 00 09 fc b8 00 | 10 fd b8 00 00 00 00 00 |........|........|
|000015f0| 00 5c 00 00 a5 4c 00 00 | 40 f0 5c 01 62 00 ef ff |.\...L..|@.\.b...|
|00001600| 42 2f ef ff 28 23 00 f0 | 70 65 72 6c 5f 63 61 6c |B/..(#..|perl_cal|
|00001610| 6c 5f 6d 65 74 68 6f 64 | 08 68 65 20 10 00 00 00 |l_method|.he ....|
|00001620| 13 ea b8 00 09 fc b8 00 | 00 00 00 00 0d 08 68 65 |........|......he|
|00001630| 09 fe b8 00 13 ea b8 00 | 00 00 00 00 00 4c 00 00 |........|.....L..|
|00001640| 85 dc 00 00 04 9c ce 07 | 3b c8 ee ff 1b f7 ee ff |........|;.......|
|00001650| 20 22 00 f0 12 69 6e 65 | 50 46 00 00 00 00 00 00 | "...ine|PF......|
|00001660| 12 65 64 20 70 17 00 00 | 00 00 00 00 54 68 65 20 |.ed p...|....The |
|00001670| 66 75 6e 63 74 69 6f 6e | 20 07 61 20 11 ff b8 00 |function| .a ....|
|00001680| 13 ea b8 00 11 ff b8 00 | 00 00 00 00 70 65 72 6c |........|....perl|
|00001690| 5f 63 61 6c 6c 5f 6d 65 | 74 68 6f 64 08 11 b9 00 |_call_me|thod....|
|000016a0| 11 00 00 00 13 ea b8 00 | 00 00 00 00 20 69 73 20 |........|.... is |
|000016b0| 75 73 65 64 20 74 6f 20 | 63 61 6c 6c 20 61 20 6d |used to |call a m|
|000016c0| 65 74 68 6f 64 20 66 72 | 6f 6d 20 61 20 50 65 72 |ethod fr|om a Per|
|000016d0| 6c 20 63 6c 61 73 73 2e | 20 20 54 68 65 20 70 61 |l class.| The pa|
|000016e0| 72 61 6d 65 74 65 72 20 | 07 66 20 79 0e 00 b9 00 |rameter |.f y....|
|000016f0| 13 ea b8 00 0e 00 b9 00 | 00 00 00 00 6d 65 74 68 |........|....meth|
|00001700| 6e 61 6d 65 08 61 72 74 | 0e 01 b9 00 13 ea b8 00 |name.art|........|
|00001710| 00 00 00 00 20 00 00 00 | 00 dc 00 00 05 80 00 00 |.... ...|........|
|00001720| 00 1c 61 07 14 90 ee ff | f4 be ee ff 20 22 00 f0 |..a.....|.... "..|
|00001730| 63 6f 72 72 65 73 70 6f | 6e 64 73 20 74 6f 20 74 |correspo|nds to t|
|00001740| 68 65 20 6e 61 6d 65 20 | 6f 66 20 74 68 65 20 6d |he name |of the m|
|00001750| 65 74 68 6f 64 20 74 6f | 20 62 65 20 63 61 6c 6c |ethod to| be call|
|00001760| 65 64 2e 20 20 4e 6f 74 | 65 20 74 68 61 74 20 74 |ed. Not|e that t|
|00001770| 68 65 20 63 6c 61 73 73 | 20 74 68 61 74 20 74 68 |he class| that th|
|00001780| 65 20 6d 65 74 68 6f 64 | 20 62 65 6c 6f 6e 67 73 |e method| belongs|
|00001790| 20 74 6f 20 69 73 20 00 | 00 80 00 00 05 84 00 00 | to is .|........|
|000017a0| 00 84 77 07 ed 57 ee ff | cd 86 ee ff 20 22 00 f0 |..w..W..|.... "..|
|000017b0| 70 61 73 73 65 64 20 6f | 6e 20 74 68 65 20 50 65 |passed o|n the Pe|
|000017c0| 72 6c 20 73 74 61 63 6b | 20 72 61 74 68 65 72 20 |rl stack| rather |
|000017d0| 74 68 61 6e 20 69 6e 20 | 74 68 65 20 70 61 72 61 |than in |the para|
|000017e0| 6d 65 74 65 72 20 6c 69 | 73 74 2e 20 54 68 69 73 |meter li|st. This|
|000017f0| 20 63 6c 61 73 73 20 63 | 61 6e 20 62 65 20 65 69 | class c|an be ei|
|00001800| 74 68 65 72 20 74 68 65 | 20 6e 61 6d 65 20 6f 66 |ther the| name of|
|00001810| 20 74 68 65 20 63 6c 61 | 73 73 20 00 00 84 00 00 | the cla|ss .....|
|00001820| 85 a0 00 00 00 38 33 07 | c6 1f ee ff a6 4e ee ff |.....83.|.....N..|
|00001830| 20 22 00 f0 28 66 6f 72 | 20 61 20 73 74 61 74 69 | "..(for| a stati|
|00001840| 63 20 6d 65 74 68 6f 64 | 29 20 6f 72 20 61 20 72 |c method|) or a r|
|00001850| 65 66 65 72 65 6e 63 65 | 20 74 6f 20 61 6e 20 6f |eference| to an o|
|00001860| 62 6a 65 63 74 20 28 66 | 6f 72 20 61 20 76 69 72 |bject (f|or a vir|
|00001870| 74 75 61 6c 20 6d 65 74 | 68 6f 64 29 2e 20 20 53 |tual met|hod). S|
|00001880| 65 65 20 74 68 65 20 63 | 68 61 70 74 65 72 20 07 |ee the c|hapter .|
|00001890| 10 02 b9 00 13 ea b8 00 | 10 02 b9 00 00 00 00 00 |........|........|
|000018a0| 70 65 72 6c 6f 62 6a 08 | 10 00 00 00 13 ea b8 00 |perlobj.|........|
|000018b0| 00 00 00 00 20 66 6f 72 | 20 00 00 00 00 a0 00 00 |.... for| .......|
|000018c0| 85 94 00 00 00 28 fe 06 | 9f e7 ed ff 7f 16 ee ff |.....(..|........|
|000018d0| 20 22 00 f0 6d 6f 72 65 | 20 69 6e 66 6f 72 6d 61 | "..more| informa|
|000018e0| 74 69 6f 6e 20 6f 6e 20 | 73 74 61 74 69 63 20 61 |tion on |static a|
|000018f0| 6e 64 20 76 69 72 74 75 | 61 6c 20 6d 65 74 68 6f |nd virtu|al metho|
|00001900| 64 73 20 61 6e 64 20 74 | 68 65 20 63 68 61 70 74 |ds and t|he chapt|
|00001910| 65 72 20 07 10 03 b9 00 | 13 ea b8 00 10 03 b9 00 |er .....|........|
|00001920| 00 00 00 00 55 73 69 6e | 67 20 70 65 72 6c 5f 63 |....Usin|g perl_c|
|00001930| 61 6c 6c 5f 6d 65 74 68 | 6f 64 08 20 10 00 00 00 |all_meth|od. ....|
|00001940| 13 ea b8 00 00 00 00 00 | 20 66 6f 72 20 61 6e 20 |........| for an |
|00001950| 00 94 00 00 a5 88 00 00 | 40 04 a5 02 78 af ed ff |........|@...x...|
|00001960| 58 de ed ff 20 22 00 f0 | 65 78 61 6d 70 6c 65 20 |X... "..|example |
|00001970| 6f 66 20 75 73 69 6e 67 | 20 07 63 6f 11 04 b9 00 |of using| .co....|
|00001980| 13 ea b8 00 11 04 b9 00 | 00 00 00 00 70 65 72 6c |........|....perl|
|00001990| 5f 63 61 6c 6c 5f 6d 65 | 74 68 6f 64 08 1b b9 00 |_call_me|thod....|
|000019a0| 11 00 00 00 13 ea b8 00 | 00 00 00 00 2e 0d 07 05 |........|........|
|000019b0| 09 05 b9 00 13 ea b8 00 | 09 05 b9 00 00 00 00 00 |........|........|
|000019c0| 07 72 65 73 10 06 b9 00 | 13 ea b8 00 09 05 b9 00 |.res....|........|
|000019d0| 10 06 b9 00 00 00 00 00 | 00 88 00 00 a5 48 00 00 |........|.....H..|
|000019e0| 40 08 21 01 a1 40 ed ff | 81 6f ed ff 28 23 00 f0 |@.!..@..|.o..(#..|
|000019f0| 70 65 72 6c 5f 63 61 6c | 6c 5f 61 72 67 76 08 67 |perl_cal|l_argv.g|
|00001a00| 10 00 00 00 13 ea b8 00 | 09 05 b9 00 00 00 00 00 |........|........|
|00001a10| 0d 08 6e 65 09 07 b9 00 | 13 ea b8 00 00 00 00 00 |..ne....|........|
|00001a20| 00 48 00 00 85 d8 00 00 | 04 d8 d4 07 7a 08 ed ff |.H......|....z...|
|00001a30| 5a 37 ed ff f8 22 00 f0 | 12 61 6c 75 50 46 00 00 |Z7..."..|.aluPF..|
|00001a40| 00 00 00 00 12 64 20 62 | 70 17 00 00 00 00 00 00 |.....d b|p.......|
|00001a50| 07 1d b9 00 11 08 b9 00 | 13 ea b8 00 11 08 b9 00 |........|........|
|00001a60| 00 00 00 00 70 65 72 6c | 5f 63 61 6c 6c 5f 61 72 |....perl|_call_ar|
|00001a70| 67 76 08 6e 11 00 00 00 | 13 ea b8 00 00 00 00 00 |gv.n....|........|
|00001a80| 20 63 61 6c 6c 73 20 74 | 68 65 20 50 65 72 6c 20 | calls t|he Perl |
|00001a90| 73 75 62 72 6f 75 74 69 | 6e 65 20 73 70 65 63 69 |subrouti|ne speci|
|00001aa0| 66 69 65 64 20 62 79 20 | 74 68 65 20 43 20 73 74 |fied by |the C st|
|00001ab0| 72 69 6e 67 20 73 74 6f | 72 65 64 20 69 6e 20 74 |ring sto|red in t|
|00001ac0| 68 65 20 07 0e 09 b9 00 | 13 ea b8 00 0e 09 b9 00 |he .....|........|
|00001ad0| 00 00 00 00 73 75 62 6e | 61 6d 65 08 0e 0a b9 00 |....subn|ame.....|
|00001ae0| 13 ea b8 00 00 00 00 00 | 20 70 61 72 61 6d 65 74 |........| paramet|
|00001af0| 65 72 2e 20 49 74 20 00 | 00 d8 00 00 85 c4 00 00 |er. It .|........|
|00001b00| 00 8c 81 07 53 d0 ec ff | 33 ff ec ff 20 22 00 f0 |....S...|3... "..|
|00001b10| 61 6c 73 6f 20 74 61 6b | 65 73 20 74 68 65 20 75 |also tak|es the u|
|00001b20| 73 75 61 6c 20 07 65 78 | 0e 0b b9 00 13 ea b8 00 |sual .ex|........|
|00001b30| 0e 0b b9 00 00 00 00 00 | 66 6c 61 67 73 08 74 20 |........|flags.t |
|00001b40| 0e 0c b9 00 13 ea b8 00 | 00 00 00 00 20 70 61 72 |........|.... par|
|00001b50| 61 6d 65 74 65 72 2e 20 | 20 54 68 65 20 66 69 6e |ameter. | The fin|
|00001b60| 61 6c 20 70 61 72 61 6d | 65 74 65 72 2c 20 07 00 |al param|eter, ..|
|00001b70| 0e 0d b9 00 13 ea b8 00 | 0e 0d b9 00 00 00 00 00 |........|........|
|00001b80| 61 72 67 76 08 66 75 6e | 0e 0e b9 00 13 ea b8 00 |argv.fun|........|
|00001b90| 00 00 00 00 2c 20 63 6f | 6e 73 69 73 74 73 20 6f |...., co|nsists o|
|00001ba0| 66 20 61 20 4e 55 4c 4c | 20 74 65 72 6d 69 6e 61 |f a NULL| termina|
|00001bb0| 74 65 64 20 6c 69 73 74 | 20 00 00 00 00 c4 00 00 |ted list| .......|
|00001bc0| a5 a0 00 00 40 f0 78 06 | 2c 98 ec ff 0c c7 ec ff |....@.x.|,.......|
|00001bd0| 20 22 00 f0 6f 66 20 43 | 20 73 74 72 69 6e 67 73 | "..of C| strings|
|00001be0| 20 74 6f 20 62 65 20 70 | 61 73 73 65 64 20 61 73 | to be p|assed as|
|00001bf0| 20 70 61 72 61 6d 65 74 | 65 72 73 20 74 6f 20 74 | paramet|ers to t|
|00001c00| 68 65 20 50 65 72 6c 20 | 73 75 62 72 6f 75 74 69 |he Perl |subrouti|
|00001c10| 6e 65 2e 20 53 65 65 20 | 07 6e 20 61 11 0f b9 00 |ne. See |.n a....|
|00001c20| 13 ea b8 00 11 0f b9 00 | 00 00 00 00 55 73 69 6e |........|....Usin|
|00001c30| 67 20 70 65 72 6c 5f 63 | 61 6c 6c 5f 61 72 67 76 |g perl_c|all_argv|
|00001c40| 08 23 b9 00 11 00 00 00 | 13 ea b8 00 00 00 00 00 |.#......|........|
|00001c50| 2e 0d 08 74 13 10 b9 00 | 00 00 00 00 00 a0 00 00 |...t....|........|
|00001c60| 05 88 00 00 00 30 b6 07 | 55 29 ec ff 35 58 ec ff |.....0..|U)..5X..|
|00001c70| 20 22 00 f0 41 6c 6c 20 | 74 68 65 20 66 75 6e 63 | "..All |the func|
|00001c80| 74 69 6f 6e 73 20 72 65 | 74 75 72 6e 20 61 6e 20 |tions re|turn an |
|00001c90| 69 6e 74 65 67 65 72 2e | 20 54 68 69 73 20 69 73 |integer.| This is|
|00001ca0| 20 61 20 63 6f 75 6e 74 | 20 6f 66 20 74 68 65 20 | a count| of the |
|00001cb0| 6e 75 6d 62 65 72 20 6f | 66 20 69 74 65 6d 73 20 |number o|f items |
|00001cc0| 72 65 74 75 72 6e 65 64 | 20 62 79 20 74 68 65 20 |returned| by the |
|00001cd0| 50 65 72 6c 20 73 75 62 | 72 6f 75 74 69 6e 65 2e |Perl sub|routine.|
|00001ce0| 20 00 00 00 00 88 00 00 | 25 64 00 00 40 cc 40 05 | .......|%d..@.@.|
|00001cf0| 2e f1 eb ff 0e 20 ec ff | 20 22 00 f0 54 68 65 20 |..... ..| "..The |
|00001d00| 61 63 74 75 61 6c 20 69 | 74 65 6d 73 20 72 65 74 |actual i|tems ret|
|00001d10| 75 72 6e 65 64 20 62 79 | 20 74 68 65 20 73 75 62 |urned by| the sub|
|00001d20| 72 6f 75 74 69 6e 65 20 | 61 72 65 20 73 74 6f 72 |routine |are stor|
|00001d30| 65 64 20 6f 6e 20 74 68 | 65 20 50 65 72 6c 20 73 |ed on th|e Perl s|
|00001d40| 74 61 63 6b 2e 0d 00 00 | 00 64 00 00 85 a0 00 00 |tack....|.d......|
|00001d50| 00 68 e4 07 57 82 eb ff | 37 b1 eb ff 20 22 00 f0 |.h..W...|7... "..|
|00001d60| 41 73 20 61 20 67 65 6e | 65 72 61 6c 20 72 75 6c |As a gen|eral rul|
|00001d70| 65 20 79 6f 75 20 73 68 | 6f 75 6c 64 20 07 0d 08 |e you sh|ould ...|
|00001d80| 11 11 b9 00 11 11 b9 00 | 00 00 00 00 61 6c 77 61 |........|....alwa|
|00001d90| 79 73 08 65 11 00 00 00 | 00 00 00 00 20 63 68 65 |ys.e....|.... che|
|00001da0| 63 6b 20 74 68 65 20 72 | 65 74 75 72 6e 20 76 61 |ck the r|eturn va|
|00001db0| 6c 75 65 20 66 72 6f 6d | 20 74 68 65 73 65 20 66 |lue from| these f|
|00001dc0| 75 6e 63 74 69 6f 6e 73 | 2e 20 20 45 76 65 6e 20 |unctions|. Even |
|00001dd0| 69 66 20 79 6f 75 20 61 | 72 65 20 65 78 70 65 63 |if you a|re expec|
|00001de0| 74 69 6e 67 20 00 00 00 | 00 a0 00 00 05 88 00 00 |ting ...|........|
|00001df0| 00 a8 e0 07 30 4a eb ff | 10 79 eb ff 20 22 00 f0 |....0J..|.y.. "..|
|00001e00| 6f 6e 6c 79 20 61 20 70 | 61 72 74 69 63 75 6c 61 |only a p|articula|
|00001e10| 72 20 6e 75 6d 62 65 72 | 20 6f 66 20 76 61 6c 75 |r number| of valu|
|00001e20| 65 73 20 74 6f 20 62 65 | 20 72 65 74 75 72 6e 65 |es to be| returne|
|00001e30| 64 20 66 72 6f 6d 20 74 | 68 65 20 50 65 72 6c 20 |d from t|he Perl |
|00001e40| 73 75 62 72 6f 75 74 69 | 6e 65 2c 20 74 68 65 72 |subrouti|ne, ther|
|00001e50| 65 20 69 73 20 6e 6f 74 | 68 69 6e 67 20 74 6f 20 |e is not|hing to |
|00001e60| 73 74 6f 70 20 73 6f 6d | 65 6f 6e 65 20 00 00 00 |stop som|eone ...|
|00001e70| 00 88 00 00 a5 6c 00 00 | 40 a8 37 05 09 12 eb ff |.....l..|@.7.....|
|00001e80| e9 40 eb ff 20 22 00 f0 | 66 72 6f 6d 20 64 6f 69 |.@.. "..|from doi|
|00001e90| 6e 67 20 73 6f 6d 65 74 | 68 69 6e 67 20 75 6e 65 |ng somet|hing une|
|00001ea0| 78 70 65 63 74 65 64 20 | 2d 20 64 6f 6e 27 74 20 |xpected |- don't |
|00001eb0| 73 61 79 20 79 6f 75 20 | 68 61 76 65 6e 27 74 20 |say you |haven't |
|00001ec0| 62 65 65 6e 20 77 61 72 | 6e 65 64 2e 0d 07 65 20 |been war|ned...e |
|00001ed0| 08 12 b9 00 08 12 b9 00 | 00 00 00 00 00 6c 00 00 |........|.....l..|
|00001ee0| a5 30 00 00 40 0c 6e 01 | c2 8b ea ff 12 d2 ea ff |.0..@.n.|........|
|00001ef0| 68 37 00 f0 46 6c 61 67 | 20 56 61 6c 75 65 73 0d |h7..Flag| Values.|
|00001f00| 08 00 00 00 08 13 b9 00 | 00 00 00 00 00 30 00 00 |........|.....0..|
|00001f10| 85 b8 00 00 00 a0 f1 07 | 61 33 ea ff 41 62 ea ff |........|a3..Ab..|
|00001f20| 20 22 00 f0 54 68 65 20 | 07 65 20 73 0e 14 b9 00 | "..The |.e s....|
|00001f30| 0e 14 b9 00 00 00 00 00 | 66 6c 61 67 73 08 61 74 |........|flags.at|
|00001f40| 0e 15 b9 00 00 00 00 00 | 20 70 61 72 61 6d 65 74 |........| paramet|
|00001f50| 65 72 20 69 6e 20 61 6c | 6c 20 74 68 65 20 07 68 |er in al|l the .h|
|00001f60| 11 16 b9 00 11 16 b9 00 | 00 00 00 00 70 65 72 6c |........|....perl|
|00001f70| 5f 63 61 6c 6c 5f 2a 08 | 11 00 00 00 00 00 00 00 |_call_*.|........|
|00001f80| 20 66 75 6e 63 74 69 6f | 6e 73 20 69 73 20 61 20 | functio|ns is a |
|00001f90| 62 69 74 20 6d 61 73 6b | 20 77 68 69 63 68 20 63 |bit mask| which c|
|00001fa0| 61 6e 20 63 6f 6e 73 69 | 73 74 20 6f 66 20 61 6e |an consi|st of an|
|00001fb0| 79 20 63 6f 6d 62 69 6e | 61 74 69 6f 6e 20 6f 66 |y combin|ation of|
|00001fc0| 20 00 00 00 00 b8 00 00 | a5 50 00 00 40 84 30 03 | .......|.P..@.0.|
|00001fd0| 3a fb e9 ff 1a 2a ea ff | 20 22 00 f0 74 68 65 20 |:....*..| "..the |
|00001fe0| 73 79 6d 62 6f 6c 73 20 | 64 65 66 69 6e 65 64 20 |symbols |defined |
|00001ff0| 62 65 6c 6f 77 2c 20 4f | 52 27 65 64 20 74 6f 67 |below, O|R'ed tog|
|00002000| 65 74 68 65 72 2e 0d 07 | 0a 17 b9 00 0a 17 b9 00 |ether...|........|
|00002010| 00 00 00 00 00 50 00 00 | a5 28 00 00 40 40 ad 00 |.....P..|.(..@@..|
|00002020| 93 84 e9 ff 43 bb e9 ff | 18 2b 00 f0 47 5f 76 6f |....C...|.+..G_vo|
|00002030| 69 64 0d 08 0a 18 b9 00 | 00 00 00 00 00 28 00 00 |id......|.....(..|
|00002040| a5 54 00 00 40 74 1f 03 | 5e 2f e9 ff 3e 5e e9 ff |.T..@t..|^/..>^..|
|00002050| 20 22 00 f0 43 61 6c 6c | 73 20 74 68 65 20 50 65 | "..Call|s the Pe|
|00002060| 72 6c 20 73 75 62 72 6f | 75 74 69 6e 65 20 69 6e |rl subro|utine in|
|00002070| 20 61 20 76 6f 69 64 20 | 63 6f 6e 74 65 78 74 2e | a void |context.|
|00002080| 0d 07 00 00 14 19 b9 00 | 14 19 b9 00 00 00 00 00 |........|........|
|00002090| 00 54 00 00 a5 4c 00 00 | 40 24 aa 01 87 c0 e8 ff |.T...L..|@$......|
|000020a0| 67 ef e8 ff 20 22 00 f0 | 54 68 69 73 20 66 6c 61 |g... "..|This fla|
|000020b0| 67 20 68 61 73 20 32 20 | 65 66 66 65 63 74 73 3a |g has 2 |effects:|
|000020c0| 0d 08 73 63 14 00 00 00 | 00 00 00 00 07 65 78 74 |..sc....|.....ext|
|000020d0| 13 1a b9 00 13 1a b9 00 | 00 00 00 00 00 4c 00 00 |........|.....L..|
|000020e0| 85 c0 00 00 04 44 e7 07 | b0 51 e8 ff 90 80 e8 ff |.....D..|.Q......|
|000020f0| 20 22 00 f0 12 20 62 65 | e0 2e 00 00 00 00 00 00 | "... be|........|
|00002100| 31 12 05 05 70 17 00 00 | 00 00 00 00 49 74 20 69 |1...p...|....It i|
|00002110| 6e 64 69 63 61 74 65 73 | 20 74 6f 20 74 68 65 20 |ndicates| to the |
|00002120| 73 75 62 72 6f 75 74 69 | 6e 65 20 62 65 69 6e 67 |subrouti|ne being|
|00002130| 20 63 61 6c 6c 65 64 20 | 74 68 61 74 20 69 74 20 | called |that it |
|00002140| 69 73 20 65 78 65 63 75 | 74 69 6e 67 20 69 6e 20 |is execu|ting in |
|00002150| 61 20 76 6f 69 64 20 63 | 6f 6e 74 65 78 74 20 28 |a void c|ontext (|
|00002160| 69 66 20 69 74 20 65 78 | 65 63 75 74 65 73 20 07 |if it ex|ecutes .|
|00002170| 11 1b b9 00 13 1a b9 00 | 11 1b b9 00 00 00 00 00 |........|........|
|00002180| 77 61 6e 74 61 72 72 61 | 79 08 0d 08 11 00 00 00 |wantarra|y.......|
|00002190| 13 1a b9 00 00 00 00 00 | 20 00 00 00 00 c0 00 00 |........| .......|
|000021a0| 25 44 00 00 40 88 d2 02 | 89 19 e8 ff 69 48 e8 ff |%D..@...|....iH..|
|000021b0| 20 22 00 f0 74 68 65 20 | 72 65 73 75 6c 74 20 77 | "..the |result w|
|000021c0| 69 6c 6c 20 62 65 20 74 | 68 65 20 75 6e 64 65 66 |ill be t|he undef|
|000021d0| 69 6e 65 64 20 76 61 6c | 75 65 29 2e 0d 00 00 00 |ined val|ue).....|
|000021e0| 00 44 00 00 a5 7c 00 00 | 44 e4 fb 04 b2 aa e7 ff |.D...|..|D.......|
|000021f0| 92 d9 e7 ff 20 22 00 f0 | 12 78 74 20 e0 2e 00 00 |.... "..|.xt ....|
|00002200| 00 00 00 00 32 12 63 75 | 70 17 00 00 00 00 00 00 |....2.cu|p.......|
|00002210| 49 74 20 65 6e 73 75 72 | 65 73 20 74 68 61 74 20 |It ensur|es that |
|00002220| 6e 6f 74 68 69 6e 67 20 | 69 73 20 61 63 74 75 61 |nothing |is actua|
|00002230| 6c 6c 79 20 72 65 74 75 | 72 6e 65 64 20 66 72 6f |lly retu|rned fro|
|00002240| 6d 20 74 68 65 20 73 75 | 62 72 6f 75 74 69 6e 65 |m the su|broutine|
|00002250| 2e 0d 08 09 13 1c b9 00 | 00 00 00 00 00 7c 00 00 |........|.....|..|
|00002260| 85 98 00 00 00 98 a8 07 | db 3b e7 ff bb 6a e7 ff |........|.;...j..|
|00002270| 20 22 00 f0 54 68 65 20 | 76 61 6c 75 65 20 72 65 | "..The |value re|
|00002280| 74 75 72 6e 65 64 20 62 | 79 20 74 68 65 20 07 00 |turned b|y the ..|
|00002290| 11 1d b9 00 11 1d b9 00 | 00 00 00 00 70 65 72 6c |........|....perl|
|000022a0| 5f 63 61 6c 6c 5f 2a 08 | 11 00 00 00 00 00 00 00 |_call_*.|........|
|000022b0| 20 66 75 6e 63 74 69 6f | 6e 20 69 6e 64 69 63 61 | functio|n indica|
|000022c0| 74 65 73 20 68 6f 77 20 | 6d 61 6e 79 20 69 74 65 |tes how |many ite|
|000022d0| 6d 73 20 68 61 76 65 20 | 62 65 65 6e 20 72 65 74 |ms have |been ret|
|000022e0| 75 72 6e 65 64 20 62 79 | 20 74 68 65 20 50 65 72 |urned by| the Per|
|000022f0| 6c 20 00 00 00 98 00 00 | 01 10 00 00 40 8c 9e 02 |l ......|....@...|
|00002300| 00 00 00 00 00 10 00 00 | 02 14 00 00 00 04 00 00 |........|........|
|00002310| 00 00 00 00 00 00 00 00 | 00 14 00 00 a5 5c 00 00 |........|.....\..|
|00002320| 40 8c 9e 02 1e 45 e5 ff | fe 73 e5 ff 20 22 00 f0 |@....E..|.s.. "..|
|00002330| 16 00 00 00 b0 fc 07 00 | 00 00 00 00 73 75 62 72 |........|....subr|
|00002340| 6f 75 74 69 6e 65 20 2d | 20 69 6e 20 74 68 69 73 |outine -| in this|
|00002350| 20 63 61 73 65 20 69 74 | 20 77 69 6c 6c 20 62 65 | case it| will be|
|00002360| 20 30 2e 0d 07 20 07 00 | 0a 1e b9 00 0a 1e b9 00 | 0... ..|........|
|00002370| 00 00 00 00 00 5c 00 00 | a5 2c 00 00 40 ce da 00 |.....\..|.,..@...|
|00002380| 77 ce e4 ff 27 05 e5 ff | 18 2b 00 f0 47 5f 73 63 |w...'...|.+..G_sc|
|00002390| 61 6c 61 72 0d 08 63 61 | 0a 1f b9 00 00 00 00 00 |alar..ca|........|
|000023a0| 00 2c 00 00 85 a4 00 00 | 00 20 ba 07 42 79 e4 ff |.,......|. ..By..|
|000023b0| 22 a8 e4 ff 20 22 00 f0 | 43 61 6c 6c 73 20 74 68 |"... "..|Calls th|
|000023c0| 65 20 50 65 72 6c 20 73 | 75 62 72 6f 75 74 69 6e |e Perl s|ubroutin|
|000023d0| 65 20 69 6e 20 61 20 73 | 63 61 6c 61 72 20 63 6f |e in a s|calar co|
|000023e0| 6e 74 65 78 74 2e 20 20 | 54 68 69 73 20 69 73 20 |ntext. |This is |
|000023f0| 74 68 65 20 64 65 66 61 | 75 6c 74 20 63 6f 6e 74 |the defa|ult cont|
|00002400| 65 78 74 20 66 6c 61 67 | 20 73 65 74 74 69 6e 67 |ext flag| setting|
|00002410| 20 66 6f 72 20 61 6c 6c | 20 74 68 65 20 07 62 65 | for all| the .be|
|00002420| 11 20 b9 00 11 20 b9 00 | 00 00 00 00 70 65 72 6c |. ... ..|....perl|
|00002430| 5f 63 61 6c 6c 5f 2a 08 | 11 00 00 00 00 00 00 00 |_call_*.|........|
|00002440| 20 00 00 00 00 a4 00 00 | a5 30 00 00 40 30 ba 00 | .......|.0..@0..|
|00002450| 1b 41 e4 ff fb 6f e4 ff | 20 22 00 f0 66 75 6e 63 |.A...o..| "..func|
|00002460| 74 69 6f 6e 73 2e 0d 07 | 14 21 b9 00 14 21 b9 00 |tions...|.!...!..|
|00002470| 00 00 00 00 00 30 00 00 | a5 4c 00 00 40 24 aa 01 |.....0..|.L..@$..|
|00002480| 44 d2 e3 ff 24 01 e4 ff | 20 22 00 f0 54 68 69 73 |D...$...| "..This|
|00002490| 20 66 6c 61 67 20 68 61 | 73 20 32 20 65 66 66 65 | flag ha|s 2 effe|
|000024a0| 63 74 73 3a 0d 08 67 20 | 14 00 00 00 00 00 00 00 |cts:..g |........|
|000024b0| 07 65 63 68 13 22 b9 00 | 13 22 b9 00 00 00 00 00 |.ech."..|."......|
|000024c0| 00 4c 00 00 85 a8 00 00 | 04 30 32 07 6d 63 e3 ff |.L......|.02.mc..|
|000024d0| 4d 92 e3 ff 20 22 00 f0 | 12 20 66 72 e0 2e 00 00 |M... "..|. fr....|
|000024e0| 00 00 00 00 31 12 6c 20 | 70 17 00 00 00 00 00 00 |....1.l |p.......|
|000024f0| 49 74 20 69 6e 64 69 63 | 61 74 65 73 20 74 6f 20 |It indic|ates to |
|00002500| 74 68 65 20 73 75 62 72 | 6f 75 74 69 6e 65 20 62 |the subr|outine b|
|00002510| 65 69 6e 67 20 63 61 6c | 6c 65 64 20 74 68 61 74 |eing cal|led that|
|00002520| 20 69 74 20 69 73 20 65 | 78 65 63 75 74 69 6e 67 | it is e|xecuting|
|00002530| 20 69 6e 20 61 20 73 63 | 61 6c 61 72 20 63 6f 6e | in a sc|alar con|
|00002540| 74 65 78 74 20 28 69 66 | 20 69 74 20 65 78 65 63 |text (if| it exec|
|00002550| 75 74 65 73 20 07 68 65 | 11 23 b9 00 13 22 b9 00 |utes .he|.#..."..|
|00002560| 11 23 b9 00 00 00 00 00 | 00 a8 00 00 a5 4c 00 00 |.#......|.....L..|
|00002570| 40 60 88 02 46 2b e3 ff | 26 5a e3 ff f8 22 00 f0 |@`..F+..|&Z..."..|
|00002580| 77 61 6e 74 61 72 72 61 | 79 08 20 73 11 00 00 00 |wantarra|y. s....|
|00002590| 13 22 b9 00 00 00 00 00 | 20 74 68 65 20 72 65 73 |."......| the res|
|000025a0| 75 6c 74 20 77 69 6c 6c | 20 62 65 20 66 61 6c 73 |ult will| be fals|
|000025b0| 65 29 2e 0d 00 4c 00 00 | 05 98 00 00 04 fc 9b 07 |e)...L..|........|
|000025c0| 6f bc e2 ff 4f eb e2 ff | 20 22 00 f0 12 73 20 66 |o...O...| "...s f|
|000025d0| e0 2e 00 00 00 00 00 00 | 32 12 61 6b 70 17 00 00 |........|2.akp...|
|000025e0| 00 00 00 00 49 74 20 65 | 6e 73 75 72 65 73 20 74 |....It e|nsures t|
|000025f0| 68 61 74 20 6f 6e 6c 79 | 20 61 20 73 63 61 6c 61 |hat only| a scala|
|00002600| 72 20 69 73 20 61 63 74 | 75 61 6c 6c 79 20 72 65 |r is act|ually re|
|00002610| 74 75 72 6e 65 64 20 66 | 72 6f 6d 20 74 68 65 20 |turned f|rom the |
|00002620| 73 75 62 72 6f 75 74 69 | 6e 65 2e 20 54 68 65 20 |subrouti|ne. The |
|00002630| 73 75 62 72 6f 75 74 69 | 6e 65 20 63 61 6e 2c 20 |subrouti|ne can, |
|00002640| 6f 66 20 63 6f 75 72 73 | 65 2c 20 20 00 98 00 00 |of cours|e, ....|
|00002650| 85 a0 00 00 00 90 05 07 | 48 84 e2 ff 28 b3 e2 ff |........|H...(...|
|00002660| 20 22 00 f0 69 67 6e 6f | 72 65 20 74 68 65 20 07 | "..igno|re the .|
|00002670| 11 24 b9 00 13 22 b9 00 | 11 24 b9 00 00 00 00 00 |.$..."..|.$......|
|00002680| 77 61 6e 74 61 72 72 61 | 79 08 73 65 11 00 00 00 |wantarra|y.se....|
|00002690| 13 22 b9 00 00 00 00 00 | 20 61 6e 64 20 72 65 74 |."......| and ret|
|000026a0| 75 72 6e 20 61 20 6c 69 | 73 74 20 61 6e 79 77 61 |urn a li|st anywa|
|000026b0| 79 2e 20 49 66 20 73 6f | 2c 20 74 68 65 6e 20 6f |y. If so|, then o|
|000026c0| 6e 6c 79 20 74 68 65 20 | 6c 61 73 74 20 65 6c 65 |nly the |last ele|
|000026d0| 6d 65 6e 74 20 6f 66 20 | 74 68 65 20 6c 69 73 74 |ment of |the list|
|000026e0| 20 77 69 6c 6c 20 62 65 | 20 00 00 00 00 a0 00 00 | will be| .......|
|000026f0| a5 2c 00 00 40 e8 a7 00 | 21 4c e2 ff 01 7b e2 ff |.,..@...|!L...{..|
|00002700| 20 22 00 f0 72 65 74 75 | 72 6e 65 64 2e 0d 08 74 | "..retu|rned...t|
|00002710| 13 25 b9 00 00 00 00 00 | 00 2c 00 00 85 98 00 00 |.%......|.,......|
|00002720| 00 98 a8 07 4a dd e1 ff | 2a 0c e2 ff 20 22 00 f0 |....J...|*... "..|
|00002730| 54 68 65 20 76 61 6c 75 | 65 20 72 65 74 75 72 6e |The valu|e return|
|00002740| 65 64 20 62 79 20 74 68 | 65 20 07 20 11 26 b9 00 |ed by th|e . .&..|
|00002750| 11 26 b9 00 00 00 00 00 | 70 65 72 6c 5f 63 61 6c |.&......|perl_cal|
|00002760| 6c 5f 2a 08 11 00 00 00 | 00 00 00 00 20 66 75 6e |l_*.....|.... fun|
|00002770| 63 74 69 6f 6e 20 69 6e | 64 69 63 61 74 65 73 20 |ction in|dicates |
|00002780| 68 6f 77 20 6d 61 6e 79 | 20 69 74 65 6d 73 20 68 |how many| items h|
|00002790| 61 76 65 20 62 65 65 6e | 20 72 65 74 75 72 6e 65 |ave been| returne|
|000027a0| 64 20 62 79 20 74 68 65 | 20 50 65 72 6c 20 00 00 |d by the| Perl ..|
|000027b0| 00 98 00 00 25 4c 00 00 | 40 ec 6a 03 23 a5 e1 ff |....%L..|@.j.#...|
|000027c0| 03 d4 e1 ff 20 22 00 f0 | 73 75 62 72 6f 75 74 69 |.... "..|subrouti|
|000027d0| 6e 65 20 2d 20 69 6e 20 | 74 68 69 73 20 63 61 73 |ne - in |this cas|
|000027e0| 65 20 69 74 20 77 69 6c | 6c 20 62 65 20 65 69 74 |e it wil|l be eit|
|000027f0| 68 65 72 20 30 20 6f 72 | 20 31 2e 0d 00 4c 00 00 |her 0 or| 1...L..|
|00002800| 25 4c 00 00 40 c8 cd 03 | 4c 36 e1 ff 2c 65 e1 ff |%L..@...|L6..,e..|
|00002810| 20 22 00 f0 49 66 20 30 | 2c 20 74 68 65 6e 20 79 | "..If 0|, then y|
|00002820| 6f 75 20 68 61 76 65 20 | 73 70 65 63 69 66 69 65 |ou have |specifie|
|00002830| 64 20 74 68 65 20 47 5f | 44 49 53 43 41 52 44 20 |d the G_|DISCARD |
|00002840| 66 6c 61 67 2e 0d 00 00 | 00 4c 00 00 85 94 00 00 |flag....|.L......|
|00002850| 00 b4 7d 07 75 c7 e0 ff | 55 f6 e0 ff 20 22 00 f0 |..}.u...|U... "..|
|00002860| 49 66 20 31 2c 20 74 68 | 65 6e 20 74 68 65 20 69 |If 1, th|en the i|
|00002870| 74 65 6d 20 61 63 74 75 | 61 6c 6c 79 20 72 65 74 |tem actu|ally ret|
|00002880| 75 72 6e 65 64 20 62 79 | 20 74 68 65 20 50 65 72 |urned by| the Per|
|00002890| 6c 20 73 75 62 72 6f 75 | 74 69 6e 65 20 77 69 6c |l subrou|tine wil|
|000028a0| 6c 20 62 65 20 73 74 6f | 72 65 64 20 6f 6e 20 74 |l be sto|red on t|
|000028b0| 68 65 20 50 65 72 6c 20 | 73 74 61 63 6b 20 2d 20 |he Perl |stack - |
|000028c0| 74 68 65 20 73 65 63 74 | 69 6f 6e 20 07 75 74 69 |the sect|ion .uti|
|000028d0| 11 27 b9 00 11 27 b9 00 | 00 00 00 00 00 94 00 00 |.'...'..|........|
|000028e0| 85 88 00 00 00 c8 b1 07 | 4e 8f e0 ff 2e be e0 ff |........|N.......|
|000028f0| f8 22 00 f0 52 65 74 75 | 72 6e 69 6e 67 20 61 20 |."..Retu|rning a |
|00002900| 53 63 61 6c 61 72 08 08 | 11 00 00 00 00 00 00 00 |Scalar..|........|
|00002910| 20 73 68 6f 77 73 20 68 | 6f 77 20 74 6f 20 61 63 | shows h|ow to ac|
|00002920| 63 65 73 73 20 74 68 69 | 73 20 76 61 6c 75 65 20 |cess thi|s value |
|00002930| 6f 6e 20 74 68 65 20 73 | 74 61 63 6b 2e 20 20 52 |on the s|tack. R|
|00002940| 65 6d 65 6d 62 65 72 20 | 74 68 61 74 20 72 65 67 |emember |that reg|
|00002950| 61 72 64 6c 65 73 73 20 | 6f 66 20 68 6f 77 20 6d |ardless |of how m|
|00002960| 61 6e 79 20 00 88 00 00 | 05 8c 00 00 00 6c f5 07 |any ....|.....l..|
|00002970| 27 57 e0 ff 07 86 e0 ff | 20 22 00 f0 69 74 65 6d |'W......| "..item|
|00002980| 73 20 74 68 65 20 50 65 | 72 6c 20 73 75 62 72 6f |s the Pe|rl subro|
|00002990| 75 74 69 6e 65 20 72 65 | 74 75 72 6e 73 2c 20 6f |utine re|turns, o|
|000029a0| 6e 6c 79 20 74 68 65 20 | 6c 61 73 74 20 6f 6e 65 |nly the |last one|
|000029b0| 20 77 69 6c 6c 20 62 65 | 20 61 63 63 65 73 73 69 | will be| accessi|
|000029c0| 62 6c 65 20 66 72 6f 6d | 20 74 68 65 20 73 74 61 |ble from| the sta|
|000029d0| 63 6b 20 2d 20 74 68 69 | 6e 6b 20 6f 66 20 74 68 |ck - thi|nk of th|
|000029e0| 65 20 63 61 73 65 20 77 | 68 65 72 65 20 00 00 00 |e case w|here ...|
|000029f0| 00 8c 00 00 05 88 00 00 | 00 6c ec 07 00 1f e0 ff |........|.l......|
|00002a00| e0 4d e0 ff 20 22 00 f0 | 6f 6e 6c 79 20 6f 6e 65 |.M.. "..|only one|
|00002a10| 20 76 61 6c 75 65 20 69 | 73 20 72 65 74 75 72 6e | value i|s return|
|00002a20| 65 64 20 61 73 20 62 65 | 69 6e 67 20 61 20 6c 69 |ed as be|ing a li|
|00002a30| 73 74 20 77 69 74 68 20 | 6f 6e 6c 79 20 6f 6e 65 |st with |only one|
|00002a40| 20 65 6c 65 6d 65 6e 74 | 2e 20 20 41 6e 79 20 6f | element|. Any o|
|00002a50| 74 68 65 72 20 69 74 65 | 6d 73 20 74 68 61 74 20 |ther ite|ms that |
|00002a60| 77 65 72 65 20 72 65 74 | 75 72 6e 65 64 20 77 69 |were ret|urned wi|
|00002a70| 6c 6c 20 6e 6f 74 20 00 | 00 88 00 00 85 ac 00 00 |ll not .|........|
|00002a80| 00 a8 8c 07 d9 e6 df ff | b9 15 e0 ff 20 22 00 f0 |........|.... "..|
|00002a90| 65 78 69 73 74 20 62 79 | 20 74 68 65 20 74 69 6d |exist by| the tim|
|00002aa0| 65 20 63 6f 6e 74 72 6f | 6c 20 72 65 74 75 72 6e |e contro|l return|
|00002ab0| 73 20 66 72 6f 6d 20 74 | 68 65 20 07 11 28 b9 00 |s from t|he ..(..|
|00002ac0| 11 28 b9 00 00 00 00 00 | 70 65 72 6c 5f 63 61 6c |.(......|perl_cal|
|00002ad0| 6c 5f 2a 08 11 00 00 00 | 00 00 00 00 20 66 75 6e |l_*.....|.... fun|
|00002ae0| 63 74 69 6f 6e 2e 20 20 | 54 68 65 20 73 65 63 74 |ction. |The sect|
|00002af0| 69 6f 6e 20 07 68 61 76 | 11 29 b9 00 11 29 b9 00 |ion .hav|.)...)..|
|00002b00| 00 00 00 00 52 65 74 75 | 72 6e 69 6e 67 20 61 20 |....Retu|rning a |
|00002b10| 6c 69 73 74 20 69 6e 20 | 61 20 73 63 61 6c 61 72 |list in |a scalar|
|00002b20| 20 00 00 00 00 ac 00 00 | a5 5c 00 00 40 e0 25 03 | .......|.\..@.%.|
|00002b30| b2 ae df ff 92 dd df ff | f8 22 00 f0 63 6f 6e 74 |........|."..cont|
|00002b40| 65 78 74 08 11 00 00 00 | 00 00 00 00 20 73 68 6f |ext.....|.... sho|
|00002b50| 77 73 20 61 6e 20 65 78 | 61 6d 70 6c 65 20 6f 66 |ws an ex|ample of|
|00002b60| 20 74 68 69 73 20 62 65 | 68 61 76 69 6f 72 2e 0d | this be|havior..|
|00002b70| 07 61 73 73 0a 2a b9 00 | 0a 2a b9 00 00 00 00 00 |.ass.*..|.*......|
|00002b80| 00 5c 00 00 a5 2c 00 00 | 40 88 c5 00 0b 38 df ff |.\...,..|@....8..|
|00002b90| bb 6e df ff 18 2b 00 f0 | 47 5f 61 72 72 61 79 0d |.n...+..|G_array.|
|00002ba0| 08 20 74 68 0a 2b b9 00 | 00 00 00 00 00 2c 00 00 |. th.+..|.....,..|
|00002bb0| a5 54 00 00 40 70 05 03 | d6 e2 de ff b6 11 df ff |.T..@p..|........|
|00002bc0| 20 22 00 f0 43 61 6c 6c | 73 20 74 68 65 20 50 65 | "..Call|s the Pe|
|00002bd0| 72 6c 20 73 75 62 72 6f | 75 74 69 6e 65 20 69 6e |rl subro|utine in|
|00002be0| 20 61 20 6c 69 73 74 20 | 63 6f 6e 74 65 78 74 2e | a list |context.|
|00002bf0| 0d 07 00 00 14 2c b9 00 | 14 2c b9 00 00 00 00 00 |.....,..|.,......|
|00002c00| 00 54 00 00 a5 5c 00 00 | 40 08 43 03 ff 73 de ff |.T...\..|@.C..s..|
|00002c10| df a2 de ff 20 22 00 f0 | 41 73 20 77 69 74 68 20 |.... "..|As with |
|00002c20| 47 5f 53 43 41 4c 41 52 | 2c 20 74 68 69 73 20 66 |G_SCALAR|, this f|
|00002c30| 6c 61 67 20 68 61 73 20 | 32 20 65 66 66 65 63 74 |lag has |2 effect|
|00002c40| 73 3a 0d 08 14 00 00 00 | 00 00 00 00 07 74 68 65 |s:......|.....the|
|00002c50| 13 2d b9 00 13 2d b9 00 | 00 00 00 00 00 5c 00 00 |.-...-..|.....\..|
|00002c60| 85 a8 00 00 04 98 3c 07 | 28 05 de ff 08 34 de ff |......<.|(....4..|
|00002c70| 20 22 00 f0 12 66 75 6e | e0 2e 00 00 00 00 00 00 | "...fun|........|
|00002c80| 31 12 69 74 70 17 00 00 | 00 00 00 00 49 74 20 69 |1.itp...|....It i|
|00002c90| 6e 64 69 63 61 74 65 73 | 20 74 6f 20 74 68 65 20 |ndicates| to the |
|00002ca0| 73 75 62 72 6f 75 74 69 | 6e 65 20 62 65 69 6e 67 |subrouti|ne being|
|00002cb0| 20 63 61 6c 6c 65 64 20 | 74 68 61 74 20 69 74 20 | called |that it |
|00002cc0| 69 73 20 65 78 65 63 75 | 74 69 6e 67 20 69 6e 20 |is execu|ting in |
|00002cd0| 61 6e 20 61 72 72 61 79 | 20 63 6f 6e 74 65 78 74 |an array| context|
|00002ce0| 20 28 69 66 20 69 74 20 | 65 78 65 63 75 74 65 73 | (if it |executes|
|00002cf0| 20 07 00 00 11 2e b9 00 | 13 2d b9 00 11 2e b9 00 | .......|.-......|
|00002d00| 00 00 00 00 00 a8 00 00 | a5 4c 00 00 40 c4 78 02 |........|.L..@.x.|
|00002d10| 01 cd dd ff e1 fb dd ff | f8 22 00 f0 77 61 6e 74 |........|."..want|
|00002d20| 61 72 72 61 79 08 00 00 | 11 00 00 00 13 2d b9 00 |array...|.....-..|
|00002d30| 00 00 00 00 20 74 68 65 | 20 72 65 73 75 6c 74 20 |.... the| result |
|00002d40| 77 69 6c 6c 20 62 65 20 | 74 72 75 65 29 2e 0d 00 |will be |true)...|
|00002d50| 00 4c 00 00 85 ac 00 00 | 04 dc c7 07 2a 5e dd ff |.L......|....*^..|
|00002d60| 0a 8d dd ff 20 22 00 f0 | 12 00 00 00 e0 2e 00 00 |.... "..|........|
|00002d70| 00 00 00 00 32 12 7b 20 | 70 17 00 00 00 00 00 00 |....2.{ |p.......|
|00002d80| 49 74 20 65 6e 73 75 72 | 65 73 20 74 68 61 74 20 |It ensur|es that |
|00002d90| 61 6c 6c 20 69 74 65 6d | 73 20 72 65 74 75 72 6e |all item|s return|
|00002da0| 65 64 20 66 72 6f 6d 20 | 74 68 65 20 73 75 62 72 |ed from |the subr|
|00002db0| 6f 75 74 69 6e 65 20 77 | 69 6c 6c 20 62 65 20 61 |outine w|ill be a|
|00002dc0| 63 63 65 73 73 69 62 6c | 65 20 77 68 65 6e 20 63 |ccessibl|e when c|
|00002dd0| 6f 6e 74 72 6f 6c 20 72 | 65 74 75 72 6e 73 20 66 |ontrol r|eturns f|
|00002de0| 72 6f 6d 20 74 68 65 20 | 07 0d 08 05 11 2f b9 00 |rom the |...../..|
|00002df0| 13 2d b9 00 11 2f b9 00 | 00 00 00 00 00 ac 00 00 |.-.../..|........|
|00002e00| a5 44 00 00 40 d0 8b 01 | 03 26 dd ff e3 54 dd ff |.D..@...|.&...T..|
|00002e10| f8 22 00 f0 70 65 72 6c | 5f 63 61 6c 6c 5f 2a 08 |."..perl|_call_*.|
|00002e20| 11 00 00 00 13 2d b9 00 | 00 00 00 00 20 66 75 6e |.....-..|.... fun|
|00002e30| 63 74 69 6f 6e 2e 0d 08 | 13 30 b9 00 00 00 00 00 |ction...|.0......|
|00002e40| 00 44 00 00 85 98 00 00 | 00 98 a8 07 2c b7 dc ff |.D......|....,...|
|00002e50| 0c e6 dc ff 20 22 00 f0 | 54 68 65 20 76 61 6c 75 |.... "..|The valu|
|00002e60| 65 20 72 65 74 75 72 6e | 65 64 20 62 79 20 74 68 |e return|ed by th|
|00002e70| 65 20 07 00 11 31 b9 00 | 11 31 b9 00 00 00 00 00 |e ...1..|.1......|
|00002e80| 70 65 72 6c 5f 63 61 6c | 6c 5f 2a 08 11 00 00 00 |perl_cal|l_*.....|
|00002e90| 00 00 00 00 20 66 75 6e | 63 74 69 6f 6e 20 69 6e |.... fun|ction in|
|00002ea0| 64 69 63 61 74 65 73 20 | 68 6f 77 20 6d 61 6e 79 |dicates |how many|
|00002eb0| 20 69 74 65 6d 73 20 68 | 61 76 65 20 62 65 65 6e | items h|ave been|
|00002ec0| 20 72 65 74 75 72 6e 65 | 64 20 62 79 20 74 68 65 | returne|d by the|
|00002ed0| 20 50 65 72 6c 20 00 00 | 00 98 00 00 25 24 00 00 | Perl ..|....%$..|
|00002ee0| 40 a0 d1 00 05 7f dc ff | e5 ad dc ff 20 22 00 f0 |@.......|.... "..|
|00002ef0| 73 75 62 72 6f 75 74 69 | 6e 65 2e 0d 00 24 00 00 |subrouti|ne...$..|
|00002f00| 25 4c 00 00 40 c8 cd 03 | 2e 10 dc ff 0e 3f dc ff |%L..@...|.....?..|
|00002f10| 20 22 00 f0 49 66 20 30 | 2c 20 74 68 65 6e 20 79 | "..If 0|, then y|
|00002f20| 6f 75 20 68 61 76 65 20 | 73 70 65 63 69 66 69 65 |ou have |specifie|
|00002f30| 64 20 74 68 65 20 47 5f | 44 49 53 43 41 52 44 20 |d the G_|DISCARD |
|00002f40| 66 6c 61 67 2e 0d 00 00 | 00 4c 00 00 05 88 00 00 |flag....|.L......|
|00002f50| 00 94 eb 07 57 a1 db ff | 37 d0 db ff 20 22 00 f0 |....W...|7... "..|
|00002f60| 49 66 20 6e 6f 74 20 30 | 2c 20 74 68 65 6e 20 69 |If not 0|, then i|
|00002f70| 74 20 77 69 6c 6c 20 62 | 65 20 61 20 63 6f 75 6e |t will b|e a coun|
|00002f80| 74 20 6f 66 20 74 68 65 | 20 6e 75 6d 62 65 72 20 |t of the| number |
|00002f90| 6f 66 20 69 74 65 6d 73 | 20 72 65 74 75 72 6e 65 |of items| returne|
|00002fa0| 64 20 62 79 20 74 68 65 | 20 73 75 62 72 6f 75 74 |d by the| subrout|
|00002fb0| 69 6e 65 2e 20 54 68 65 | 73 65 20 69 74 65 6d 73 |ine. The|se items|
|00002fc0| 20 77 69 6c 6c 20 62 65 | 20 73 74 6f 72 65 64 20 | will be| stored |
|00002fd0| 00 88 00 00 85 9c 00 00 | 00 3c d7 07 30 69 db ff |........|.<..0i..|
|00002fe0| 10 98 db ff 20 22 00 f0 | 6f 6e 20 74 68 65 20 50 |.... "..|on the P|
|00002ff0| 65 72 6c 20 73 74 61 63 | 6b 2e 20 20 54 68 65 20 |erl stac|k. The |
|00003000| 73 65 63 74 69 6f 6e 20 | 07 65 20 6f 11 32 b9 00 |section |.e o.2..|
|00003010| 11 32 b9 00 00 00 00 00 | 52 65 74 75 72 6e 69 6e |.2......|Returnin|
|00003020| 67 20 61 20 6c 69 73 74 | 20 6f 66 20 76 61 6c 75 |g a list| of valu|
|00003030| 65 73 08 6e 11 00 00 00 | 00 00 00 00 20 67 69 76 |es.n....|.... giv|
|00003040| 65 73 20 61 6e 20 65 78 | 61 6d 70 6c 65 20 6f 66 |es an ex|ample of|
|00003050| 20 75 73 69 6e 67 20 74 | 68 65 20 47 5f 41 52 52 | using t|he G_ARR|
|00003060| 41 59 20 66 6c 61 67 20 | 61 6e 64 20 00 9c 00 00 |AY flag |and ....|
|00003070| a5 68 00 00 40 04 d6 04 | 09 31 db ff e9 5f db ff |.h..@...|.1..._..|
|00003080| 20 22 00 f0 74 68 65 20 | 6d 65 63 68 61 6e 69 63 | "..the |mechanic|
|00003090| 73 20 6f 66 20 61 63 63 | 65 73 73 69 6e 67 20 74 |s of acc|essing t|
|000030a0| 68 65 20 72 65 74 75 72 | 6e 65 64 20 69 74 65 6d |he retur|ned item|
|000030b0| 73 20 66 72 6f 6d 20 74 | 68 65 20 50 65 72 6c 20 |s from t|he Perl |
|000030c0| 73 74 61 63 6b 2e 0d 07 | 0a 33 b9 00 0a 33 b9 00 |stack...|.3...3..|
|000030d0| 00 00 00 00 00 68 00 00 | a5 2c 00 00 40 36 f9 00 |.....h..|.,..@6..|
|000030e0| 62 ba da ff 12 f1 da ff | 18 2b 00 f0 47 5f 64 69 |b.......|.+..G_di|
|000030f0| 73 63 61 72 64 0d 08 72 | 0a 34 b9 00 00 00 00 00 |scard..r|.4......|
|00003100| 00 2c 00 00 85 a0 00 00 | 00 80 bd 07 2d 65 da ff |.,......|....-e..|
|00003110| 0d 94 da ff 20 22 00 f0 | 42 79 20 64 65 66 61 75 |.... "..|By defau|
|00003120| 6c 74 2c 20 74 68 65 20 | 07 20 79 6f 11 35 b9 00 |lt, the |. yo.5..|
|00003130| 11 35 b9 00 00 00 00 00 | 70 65 72 6c 5f 63 61 6c |.5......|perl_cal|
|00003140| 6c 5f 2a 08 11 00 00 00 | 00 00 00 00 20 66 75 6e |l_*.....|.... fun|
|00003150| 63 74 69 6f 6e 73 20 70 | 6c 61 63 65 20 74 68 65 |ctions p|lace the|
|00003160| 20 69 74 65 6d 73 20 72 | 65 74 75 72 6e 65 64 20 | items r|eturned |
|00003170| 66 72 6f 6d 20 62 79 20 | 74 68 65 20 50 65 72 6c |from by |the Perl|
|00003180| 20 73 75 62 72 6f 75 74 | 69 6e 65 20 6f 6e 20 74 | subrout|ine on t|
|00003190| 68 65 20 73 74 61 63 6b | 2e 20 20 49 66 20 00 00 |he stack|. If ..|
|000031a0| 00 a0 00 00 05 88 00 00 | 00 cc c2 07 06 2d da ff |........|.....-..|
|000031b0| e6 5b da ff 20 22 00 f0 | 79 6f 75 20 61 72 65 20 |.[.. "..|you are |
|000031c0| 6e 6f 74 20 69 6e 74 65 | 72 65 73 74 65 64 20 69 |not inte|rested i|
|000031d0| 6e 20 74 68 65 73 65 20 | 69 74 65 6d 73 2c 20 74 |n these |items, t|
|000031e0| 68 65 6e 20 73 65 74 74 | 69 6e 67 20 74 68 69 73 |hen sett|ing this|
|000031f0| 20 66 6c 61 67 20 77 69 | 6c 6c 20 6d 61 6b 65 20 | flag wi|ll make |
|00003200| 50 65 72 6c 20 67 65 74 | 20 72 69 64 20 6f 66 20 |Perl get| rid of |
|00003210| 74 68 65 6d 20 61 75 74 | 6f 6d 61 74 69 63 61 6c |them aut|omatical|
|00003220| 6c 79 20 66 6f 72 20 00 | 00 88 00 00 01 10 00 00 |ly for .|........|
|00003230| 00 7c d6 07 00 00 00 00 | 00 10 00 00 02 14 00 00 |.|......|........|
|00003240| 9c 05 00 00 00 00 00 00 | 00 00 00 00 00 14 00 00 |........|........|
|00003250| 05 94 00 00 00 7c d6 07 | 6d 45 d8 ff 4d 74 d8 ff |.....|..|mE..Mt..|
|00003260| 20 22 00 f0 16 00 00 00 | b0 fc 07 00 00 00 00 00 | "......|........|
|00003270| 79 6f 75 2e 20 20 4e 6f | 74 65 20 74 68 61 74 20 |you. No|te that |
|00003280| 69 74 20 69 73 20 73 74 | 69 6c 6c 20 70 6f 73 73 |it is st|ill poss|
|00003290| 69 62 6c 65 20 74 6f 20 | 69 6e 64 69 63 61 74 65 |ible to |indicate|
|000032a0| 20 61 20 63 6f 6e 74 65 | 78 74 20 74 6f 20 74 68 | a conte|xt to th|
|000032b0| 65 20 50 65 72 6c 20 73 | 75 62 72 6f 75 74 69 6e |e Perl s|ubroutin|
|000032c0| 65 20 62 79 20 75 73 69 | 6e 67 20 65 69 74 68 65 |e by usi|ng eithe|
|000032d0| 72 20 47 5f 53 43 41 4c | 41 52 20 6f 72 20 00 00 |r G_SCAL|AR or ..|
|000032e0| 00 94 00 00 25 24 00 00 | 40 b4 de 00 46 0d d8 ff |....%$..|@...F...|
|000032f0| 26 3c d8 ff 20 22 00 f0 | 47 5f 41 52 52 41 59 2e |&<.. "..|G_ARRAY.|
|00003300| 0d 00 00 00 00 24 00 00 | 85 a4 00 00 00 34 d6 07 |.....$..|.....4..|
|00003310| 6f 9e d7 ff 4f cd d7 ff | 20 22 00 f0 49 66 20 79 |o...O...| "..If y|
|00003320| 6f 75 20 64 6f 20 6e 6f | 74 20 73 65 74 20 74 68 |ou do no|t set th|
|00003330| 69 73 20 66 6c 61 67 20 | 74 68 65 6e 20 69 74 20 |is flag |then it |
|00003340| 69 73 20 07 11 36 b9 00 | 11 36 b9 00 00 00 00 00 |is ..6..|.6......|
|00003350| 76 65 72 79 08 d7 b8 00 | 11 00 00 00 00 00 00 00 |very....|........|
|00003360| 20 69 6d 70 6f 72 74 61 | 6e 74 20 74 68 61 74 20 | importa|nt that |
|00003370| 79 6f 75 20 6d 61 6b 65 | 20 73 75 72 65 20 74 68 |you make| sure th|
|00003380| 61 74 20 61 6e 79 20 74 | 65 6d 70 6f 72 61 72 69 |at any t|emporari|
|00003390| 65 73 20 28 69 2e 65 2e | 2c 20 70 61 72 61 6d 65 |es (i.e.|, parame|
|000033a0| 74 65 72 73 20 00 00 00 | 00 a4 00 00 85 94 00 00 |ters ...|........|
|000033b0| 00 70 eb 07 48 66 d7 ff | 28 95 d7 ff 20 22 00 f0 |.p..Hf..|(... "..|
|000033c0| 70 61 73 73 65 64 20 74 | 6f 20 74 68 65 20 50 65 |passed t|o the Pe|
|000033d0| 72 6c 20 73 75 62 72 6f | 75 74 69 6e 65 20 61 6e |rl subro|utine an|
|000033e0| 64 20 76 61 6c 75 65 73 | 20 72 65 74 75 72 6e 65 |d values| returne|
|000033f0| 64 20 66 72 6f 6d 20 74 | 68 65 20 73 75 62 72 6f |d from t|he subro|
|00003400| 75 74 69 6e 65 29 20 61 | 72 65 20 64 69 73 70 6f |utine) a|re dispo|
|00003410| 73 65 64 20 6f 66 20 79 | 6f 75 72 73 65 6c 66 2e |sed of y|ourself.|
|00003420| 20 20 54 68 65 20 73 65 | 63 74 69 6f 6e 20 07 00 | The se|ction ..|
|00003430| 11 37 b9 00 11 37 b9 00 | 00 00 00 00 00 94 00 00 |.7...7..|........|
|00003440| 85 a0 00 00 00 fc f2 07 | 21 2e d7 ff 01 5d d7 ff |........|!....]..|
|00003450| f8 22 00 f0 52 65 74 75 | 72 6e 69 6e 67 20 61 20 |."..Retu|rning a |
|00003460| 53 63 61 6c 61 72 08 69 | 11 00 00 00 00 00 00 00 |Scalar.i|........|
|00003470| 20 67 69 76 65 73 20 64 | 65 74 61 69 6c 73 20 6f | gives d|etails o|
|00003480| 66 20 68 6f 77 20 74 6f | 20 64 69 73 70 6f 73 65 |f how to| dispose|
|00003490| 20 6f 66 20 74 68 65 73 | 65 20 74 65 6d 70 6f 72 | of thes|e tempor|
|000034a0| 61 72 69 65 73 20 65 78 | 70 6c 69 63 69 74 6c 79 |aries ex|plicitly|
|000034b0| 20 61 6e 64 20 74 68 65 | 20 73 65 63 74 69 6f 6e | and the| section|
|000034c0| 20 07 73 20 11 38 b9 00 | 11 38 b9 00 00 00 00 00 | .s .8..|.8......|
|000034d0| 55 73 69 6e 67 20 50 65 | 72 6c 20 00 00 a0 00 00 |Using Pe|rl .....|
|000034e0| 85 8c 00 00 00 b4 a4 07 | fa f5 d6 ff da 24 d7 ff |........|.....$..|
|000034f0| f8 22 00 f0 74 6f 20 64 | 69 73 70 6f 73 65 20 6f |."..to d|ispose o|
|00003500| 66 20 74 65 6d 70 6f 72 | 61 72 69 65 73 08 74 65 |f tempor|aries.te|
|00003510| 11 00 00 00 00 00 00 00 | 20 64 69 73 63 75 73 73 |........| discuss|
|00003520| 65 73 20 74 68 65 20 73 | 70 65 63 69 66 69 63 20 |es the s|pecific |
|00003530| 63 69 72 63 75 6d 73 74 | 61 6e 63 65 73 20 77 68 |circumst|ances wh|
|00003540| 65 72 65 20 79 6f 75 20 | 63 61 6e 20 69 67 6e 6f |ere you |can igno|
|00003550| 72 65 20 74 68 65 20 70 | 72 6f 62 6c 65 6d 20 61 |re the p|roblem a|
|00003560| 6e 64 20 6c 65 74 20 00 | 00 8c 00 00 a5 40 00 00 |nd let .|.....@..|
|00003570| 40 4c ca 01 d3 bd d6 ff | b3 ec d6 ff 20 22 00 f0 |@L......|.... "..|
|00003580| 50 65 72 6c 20 64 65 61 | 6c 20 77 69 74 68 20 69 |Perl dea|l with i|
|00003590| 74 20 66 6f 72 20 79 6f | 75 2e 0d 07 0a 39 b9 00 |t for yo|u....9..|
|000035a0| 0a 39 b9 00 00 00 00 00 | 00 40 00 00 a5 2c 00 00 |.9......|.@...,..|
|000035b0| 40 22 f0 00 2c 47 d6 ff | dc 7d d6 ff 18 2b 00 f0 |@"..,G..|.}...+..|
|000035c0| 47 5f 6e 6f 61 72 67 73 | 0d 08 6c 79 0a 3a b9 00 |G_noargs|..ly.:..|
|000035d0| 00 00 00 00 00 2c 00 00 | 85 9c 00 00 00 50 ab 07 |.....,..|.....P..|
|000035e0| f7 f1 d5 ff d7 20 d6 ff | 20 22 00 f0 57 68 65 6e |..... ..| "..When|
|000035f0| 65 76 65 72 20 61 20 50 | 65 72 6c 20 73 75 62 72 |ever a P|erl subr|
|00003600| 6f 75 74 69 6e 65 20 69 | 73 20 63 61 6c 6c 65 64 |outine i|s called|
|00003610| 20 75 73 69 6e 67 20 6f | 6e 65 20 6f 66 20 74 68 | using o|ne of th|
|00003620| 65 20 07 70 11 3b b9 00 | 11 3b b9 00 00 00 00 00 |e .p.;..|.;......|
|00003630| 70 65 72 6c 5f 63 61 6c | 6c 5f 2a 08 11 00 00 00 |perl_cal|l_*.....|
|00003640| 00 00 00 00 20 66 75 6e | 63 74 69 6f 6e 73 2c 20 |.... fun|ctions, |
|00003650| 69 74 20 69 73 20 61 73 | 73 75 6d 65 64 20 62 79 |it is as|sumed by|
|00003660| 20 64 65 66 61 75 6c 74 | 20 74 68 61 74 20 00 00 | default| that ..|
|00003670| 00 9c 00 00 05 88 00 00 | 00 1c d6 07 d0 b9 d5 ff |........|........|
|00003680| b0 e8 d5 ff 20 22 00 f0 | 70 61 72 61 6d 65 74 65 |.... "..|paramete|
|00003690| 72 73 20 61 72 65 20 74 | 6f 20 62 65 20 70 61 73 |rs are t|o be pas|
|000036a0| 73 65 64 20 74 6f 20 74 | 68 65 20 73 75 62 72 6f |sed to t|he subro|
|000036b0| 75 74 69 6e 65 2e 20 20 | 49 66 20 79 6f 75 20 61 |utine. |If you a|
|000036c0| 72 65 20 6e 6f 74 20 70 | 61 73 73 69 6e 67 20 61 |re not p|assing a|
|000036d0| 6e 79 20 70 61 72 61 6d | 65 74 65 72 73 20 74 6f |ny param|eters to|
|000036e0| 20 74 68 65 20 50 65 72 | 6c 20 73 75 62 72 6f 75 | the Per|l subrou|
|000036f0| 74 69 6e 65 2c 20 00 00 | 00 88 00 00 85 a0 00 00 |tine, ..|........|
|00003700| 00 50 7e 07 a9 81 d5 ff | 89 b0 d5 ff 20 22 00 f0 |.P~.....|.... "..|
|00003710| 79 6f 75 20 63 61 6e 20 | 73 61 76 65 20 61 20 62 |you can |save a b|
|00003720| 69 74 20 6f 66 20 74 69 | 6d 65 20 62 79 20 73 65 |it of ti|me by se|
|00003730| 74 74 69 6e 67 20 74 68 | 69 73 20 66 6c 61 67 2e |tting th|is flag.|
|00003740| 20 20 49 74 20 68 61 73 | 20 74 68 65 20 65 66 66 | It has| the eff|
|00003750| 65 63 74 20 6f 66 20 6e | 6f 74 20 63 72 65 61 74 |ect of n|ot creat|
|00003760| 69 6e 67 20 74 68 65 20 | 07 6c 69 6b 0e 3c b9 00 |ing the |.lik.<..|
|00003770| 0e 3c b9 00 00 00 00 00 | 40 5f 08 20 0e 3d b9 00 |.<......|@_. .=..|
|00003780| 00 00 00 00 20 61 72 72 | 61 79 20 66 6f 72 20 74 |.... arr|ay for t|
|00003790| 68 65 20 50 65 72 6c 20 | 00 a0 00 00 25 24 00 00 |he Perl |....%$..|
|000037a0| 40 a0 d1 00 82 49 d5 ff | 62 78 d5 ff 20 22 00 f0 |@....I..|bx.. "..|
|000037b0| 73 75 62 72 6f 75 74 69 | 6e 65 2e 0d 00 24 00 00 |subrouti|ne...$..|
|000037c0| 05 88 00 00 00 44 e7 07 | ab da d4 ff 8b 09 d5 ff |.....D..|........|
|000037d0| 20 22 00 f0 41 6c 74 68 | 6f 75 67 68 20 74 68 65 | "..Alth|ough the|
|000037e0| 20 66 75 6e 63 74 69 6f | 6e 61 6c 69 74 79 20 70 | functio|nality p|
|000037f0| 72 6f 76 69 64 65 64 20 | 62 79 20 74 68 69 73 20 |rovided |by this |
|00003800| 66 6c 61 67 20 6d 61 79 | 20 73 65 65 6d 20 73 74 |flag may| seem st|
|00003810| 72 61 69 67 68 74 66 6f | 72 77 61 72 64 2c 20 69 |raightfo|rward, i|
|00003820| 74 20 73 68 6f 75 6c 64 | 20 62 65 20 75 73 65 64 |t should| be used|
|00003830| 20 6f 6e 6c 79 20 69 66 | 20 74 68 65 72 65 20 69 | only if| there i|
|00003840| 73 20 00 00 00 88 00 00 | 05 80 00 00 00 78 b3 07 |s ......|.....x..|
|00003850| 84 a2 d4 ff 64 d1 d4 ff | 20 22 00 f0 61 20 67 6f |....d...| "..a go|
|00003860| 6f 64 20 72 65 61 73 6f | 6e 20 74 6f 20 64 6f 20 |od reaso|n to do |
|00003870| 73 6f 2e 20 20 54 68 65 | 20 72 65 61 73 6f 6e 20 |so. The| reason |
|00003880| 66 6f 72 20 62 65 69 6e | 67 20 63 61 75 74 69 6f |for bein|g cautio|
|00003890| 75 73 20 69 73 20 74 68 | 61 74 20 65 76 65 6e 20 |us is th|at even |
|000038a0| 69 66 20 79 6f 75 20 68 | 61 76 65 20 73 70 65 63 |if you h|ave spec|
|000038b0| 69 66 69 65 64 20 74 68 | 65 20 47 5f 4e 4f 41 52 |ified th|e G_NOAR|
|000038c0| 47 53 20 00 00 80 00 00 | 05 84 00 00 00 34 1c 07 |GS .....|.....4..|
|000038d0| 5d 6a d4 ff 3d 99 d4 ff | 20 22 00 f0 66 6c 61 67 |]j..=...| "..flag|
|000038e0| 2c 20 69 74 20 69 73 20 | 73 74 69 6c 6c 20 70 6f |, it is |still po|
|000038f0| 73 73 69 62 6c 65 20 66 | 6f 72 20 74 68 65 20 50 |ssible f|or the P|
|00003900| 65 72 6c 20 73 75 62 72 | 6f 75 74 69 6e 65 20 74 |erl subr|outine t|
|00003910| 68 61 74 20 68 61 73 20 | 62 65 65 6e 20 63 61 6c |hat has |been cal|
|00003920| 6c 65 64 20 74 6f 20 74 | 68 69 6e 6b 20 74 68 61 |led to t|hink tha|
|00003930| 74 20 79 6f 75 20 68 61 | 76 65 20 70 61 73 73 65 |t you ha|ve passe|
|00003940| 64 20 69 74 20 00 00 00 | 00 84 00 00 25 24 00 00 |d it ...|....%$..|
|00003950| 40 5c d9 00 36 32 d4 ff | 16 61 d4 ff 20 22 00 f0 |@\..62..|.a.. "..|
|00003960| 70 61 72 61 6d 65 74 65 | 72 73 2e 0d 00 24 00 00 |paramete|rs...$..|
|00003970| 85 a0 00 00 00 f8 e1 07 | 5f c3 d3 ff 3f f2 d3 ff |........|_...?...|
|00003980| 20 22 00 f0 49 6e 20 66 | 61 63 74 2c 20 77 68 61 | "..In f|act, wha|
|00003990| 74 20 63 61 6e 20 68 61 | 70 70 65 6e 20 69 73 20 |t can ha|ppen is |
|000039a0| 74 68 61 74 20 74 68 65 | 20 50 65 72 6c 20 73 75 |that the| Perl su|
|000039b0| 62 72 6f 75 74 69 6e 65 | 20 79 6f 75 20 68 61 76 |broutine| you hav|
|000039c0| 65 20 63 61 6c 6c 65 64 | 20 63 61 6e 20 61 63 63 |e called| can acc|
|000039d0| 65 73 73 20 74 68 65 20 | 07 73 69 64 0e 3e b9 00 |ess the |.sid.>..|
|000039e0| 0e 3e b9 00 00 00 00 00 | 40 5f 08 65 0e 3f b9 00 |.>......|@_.e.?..|
|000039f0| 00 00 00 00 20 61 72 72 | 61 79 20 66 72 6f 6d 20 |.... arr|ay from |
|00003a00| 61 20 70 72 65 76 69 6f | 75 73 20 00 00 a0 00 00 |a previo|us .....|
|00003a10| 85 9c 00 00 00 70 9d 07 | 38 8b d3 ff 18 ba d3 ff |.....p..|8.......|
|00003a20| 20 22 00 f0 50 65 72 6c | 20 73 75 62 72 6f 75 74 | "..Perl| subrout|
|00003a30| 69 6e 65 2e 20 20 54 68 | 69 73 20 77 69 6c 6c 20 |ine. Th|is will |
|00003a40| 6f 63 63 75 72 20 77 68 | 65 6e 20 74 68 65 20 63 |occur wh|en the c|
|00003a50| 6f 64 65 20 74 68 61 74 | 20 69 73 20 65 78 65 63 |ode that| is exec|
|00003a60| 75 74 69 6e 67 20 74 68 | 65 20 07 75 11 40 b9 00 |uting th|e .u.@..|
|00003a70| 11 40 b9 00 00 00 00 00 | 70 65 72 6c 5f 63 61 6c |.@......|perl_cal|
|00003a80| 6c 5f 2a 08 11 00 00 00 | 00 00 00 00 20 66 75 6e |l_*.....|.... fun|
|00003a90| 63 74 69 6f 6e 20 68 61 | 73 20 69 74 73 65 6c 66 |ction ha|s itself|
|00003aa0| 20 62 65 65 6e 20 00 00 | 00 9c 00 00 a5 80 00 00 | been ..|........|
|00003ab0| 40 64 eb 04 11 53 d3 ff | f1 81 d3 ff 20 22 00 f0 |@d...S..|.... "..|
|00003ac0| 63 61 6c 6c 65 64 20 66 | 72 6f 6d 20 61 6e 6f 74 |called f|rom anot|
|00003ad0| 68 65 72 20 50 65 72 6c | 20 73 75 62 72 6f 75 74 |her Perl| subrout|
|00003ae0| 69 6e 65 2e 20 54 68 65 | 20 63 6f 64 65 20 62 65 |ine. The| code be|
|00003af0| 6c 6f 77 20 69 6c 6c 75 | 73 74 72 61 74 65 73 20 |low illu|strates |
|00003b00| 74 68 69 73 0d 07 66 65 | 12 41 b9 00 12 41 b9 00 |this..fe|.A...A..|
|00003b10| 00 00 00 00 07 7c 00 00 | 0c 42 b9 00 12 41 b9 00 |.....|..|.B...A..|
|00003b20| 0c 42 b9 00 00 00 00 00 | 00 80 00 00 25 24 00 00 |.B......|....%$..|
|00003b30| 40 80 bb 00 0a ec d2 ff | 1a 13 d3 ff 70 1a 00 f0 |@.......|....p...|
|00003b40| 73 75 62 20 66 72 65 64 | 0d 00 00 00 00 24 00 00 |sub fred|.....$..|
|00003b50| a5 58 00 00 40 50 bd 01 | 2a bd d2 ff 3a e4 d2 ff |.X..@P..|*...:...|
|00003b60| 70 1a 00 f0 20 20 7b 20 | 70 72 69 6e 74 20 22 40 |p... { |print "@|
|00003b70| 5f 5c 6e 22 20 20 7d 0d | 08 00 00 00 0c 43 b9 00 |_\n" }.|.....C..|
|00003b80| 12 41 b9 00 00 00 00 00 | 08 20 73 74 12 00 00 00 |.A......|. st....|
|00003b90| 00 00 00 00 07 73 69 65 | 18 44 b9 00 18 44 b9 00 |.....sie|.D...D..|
|00003ba0| 00 00 00 00 00 58 00 00 | a5 48 00 00 40 00 00 00 |.....X..|.H..@...|
|00003bb0| 9a a8 d2 ff 5a b5 d2 ff | 00 00 00 f0 0d 08 20 6e |....Z...|...... n|
|00003bc0| 18 45 b9 00 00 00 00 00 | 07 61 72 65 12 46 b9 00 |.E......|.are.F..|
|00003bd0| 12 46 b9 00 00 00 00 00 | 07 6f 72 74 0c 47 b9 00 |.F......|.ort.G..|
|00003be0| 12 46 b9 00 0c 47 b9 00 | 00 00 00 00 00 48 00 00 |.F...G..|.....H..|
|00003bf0| 25 20 00 00 40 10 a4 00 | 9a 57 d2 ff aa 7e d2 ff |% ..@...|.W...~..|
|00003c00| 70 1a 00 f0 73 75 62 20 | 6a 6f 65 0d 00 20 00 00 |p...sub |joe.. ..|
|00003c10| a5 50 00 00 40 d0 01 01 | ba 28 d2 ff ca 4f d2 ff |.P..@...|.(...O..|
|00003c20| 70 1a 00 f0 20 20 7b 20 | 26 66 72 65 64 20 7d 0d |p... { |&fred }.|
|00003c30| 08 69 6e 65 0c 48 b9 00 | 12 46 b9 00 00 00 00 00 |.ine.H..|.F......|
|00003c40| 08 07 05 05 12 00 00 00 | 00 00 00 00 07 00 00 00 |........|........|
|00003c50| 18 49 b9 00 18 49 b9 00 | 00 00 00 00 00 50 00 00 |.I...I..|.....P..|
|00003c60| a5 48 00 00 40 00 00 00 | 2a 14 d2 ff ea 20 d2 ff |.H..@...|*.... ..|
|00003c70| 00 00 00 f0 0d 08 56 2a | 18 4a b9 00 00 00 00 00 |......V*|.J......|
|00003c80| 07 66 6c 61 12 4b b9 00 | 12 4b b9 00 00 00 00 00 |.fla.K..|.K......|
|00003c90| 07 6c 5f 63 0c 4c b9 00 | 12 4b b9 00 0c 4c b9 00 |.l_c.L..|.K...L..|
|00003ca0| 00 00 00 00 00 48 00 00 | a5 50 00 00 40 b0 30 01 |.....H..|.P..@.0.|
|00003cb0| 2a c3 d1 ff 3a ea d1 ff | 70 1a 00 f0 26 6a 6f 65 |*...:...|p...&joe|
|00003cc0| 28 31 2c 32 2c 33 29 20 | 3b 0d 08 28 0c 4d b9 00 |(1,2,3) |;..(.M..|
|00003cd0| 12 4b b9 00 00 00 00 00 | 08 65 2c 20 12 00 00 00 |.K......|.e, ....|
|00003ce0| 00 00 00 00 07 29 20 3b | 18 4e b9 00 18 4e b9 00 |.....) ;|.N...N..|
|00003cf0| 00 00 00 00 00 50 00 00 | a5 24 00 00 40 00 00 00 |.....P..|.$..@...|
|00003d00| 9a ae d1 ff 5a bb d1 ff | 00 00 00 f0 0d 08 20 66 |....Z...|...... f|
|00003d10| 18 4f b9 00 00 00 00 00 | 00 24 00 00 a5 4c 00 00 |.O......|.$...L..|
|00003d20| 40 44 0c 01 ca 55 d1 ff | aa 84 d1 ff 20 22 00 f0 |@D...U..|.... "..|
|00003d30| 54 68 69 73 20 77 69 6c | 6c 20 70 72 69 6e 74 0d |This wil|l print.|
|00003d40| 07 00 00 00 12 50 b9 00 | 12 50 b9 00 00 00 00 00 |.....P..|.P......|
|00003d50| 07 e2 b8 00 0c 51 b9 00 | 12 50 b9 00 0c 51 b9 00 |.....Q..|.P...Q..|
|00003d60| 00 00 00 00 00 4c 00 00 | a5 48 00 00 40 30 75 00 |.....L..|.H..@0u.|
|00003d70| c3 ee d0 ff d3 15 d1 ff | 70 1a 00 f0 31 20 32 20 |........|p...1 2 |
|00003d80| 33 0d 08 00 0c 52 b9 00 | 12 50 b9 00 00 00 00 00 |3....R..|.P......|
|00003d90| 08 5f 73 76 12 00 00 00 | 00 00 00 00 07 00 00 00 |._sv....|........|
|00003da0| 18 53 b9 00 18 53 b9 00 | 00 00 00 00 00 48 00 00 |.S...S..|.....H..|
|00003db0| a5 24 00 00 40 00 00 00 | 33 da d0 ff f3 e6 d0 ff |.$..@...|3.......|
|00003dc0| 00 00 00 f0 0d 08 73 69 | 18 54 b9 00 00 00 00 00 |......si|.T......|
|00003dd0| 00 24 00 00 a5 bc 00 00 | 40 98 bf 05 63 81 d0 ff |.$......|@...c...|
|00003de0| 43 b0 d0 ff 20 22 00 f0 | 57 68 61 74 20 68 61 73 |C... "..|What has|
|00003df0| 20 68 61 70 70 65 6e 65 | 64 20 69 73 20 74 68 61 | happene|d is tha|
|00003e00| 74 20 07 20 0e 55 b9 00 | 0e 55 b9 00 00 00 00 00 |t . .U..|.U......|
|00003e10| 66 72 65 64 08 20 41 74 | 0e 56 b9 00 00 00 00 00 |fred. At|.V......|
|00003e20| 20 61 63 63 65 73 73 65 | 73 20 74 68 65 20 07 79 | accesse|s the .y|
|00003e30| 0e 57 b9 00 0e 57 b9 00 | 00 00 00 00 40 5f 08 07 |.W...W..|....@_..|
|00003e40| 0e 58 b9 00 00 00 00 00 | 20 61 72 72 61 79 20 77 |.X......| array w|
|00003e50| 68 69 63 68 20 62 65 6c | 6f 6e 67 73 20 74 6f 20 |hich bel|ongs to |
|00003e60| 07 00 00 00 0e 59 b9 00 | 0e 59 b9 00 00 00 00 00 |.....Y..|.Y......|
|00003e70| 6a 6f 65 08 0e 5a b9 00 | 00 00 00 00 2e 0d 07 69 |joe..Z..|.......i|
|00003e80| 0a 5b b9 00 0a 5b b9 00 | 00 00 00 00 00 bc 00 00 |.[...[..|........|
|00003e90| a5 28 00 00 40 40 ad 00 | bc 0a d0 ff 6c 41 d0 ff |.(..@@..|....lA..|
|00003ea0| 18 2b 00 f0 47 5f 65 76 | 61 6c 0d 08 0a 5c b9 00 |.+..G_ev|al...\..|
|00003eb0| 00 00 00 00 00 28 00 00 | 85 a4 00 00 00 00 ec 07 |.....(..|........|
|00003ec0| 87 b5 cf ff 67 e4 cf ff | 20 22 00 f0 49 74 20 69 |....g...| "..It i|
|00003ed0| 73 20 70 6f 73 73 69 62 | 6c 65 20 66 6f 72 20 74 |s possib|le for t|
|00003ee0| 68 65 20 50 65 72 6c 20 | 73 75 62 72 6f 75 74 69 |he Perl |subrouti|
|00003ef0| 6e 65 20 79 6f 75 20 61 | 72 65 20 63 61 6c 6c 69 |ne you a|re calli|
|00003f00| 6e 67 20 74 6f 20 74 65 | 72 6d 69 6e 61 74 65 20 |ng to te|rminate |
|00003f10| 61 62 6e 6f 72 6d 61 6c | 6c 79 2c 20 65 2e 67 2e |abnormal|ly, e.g.|
|00003f20| 2c 20 62 79 20 63 61 6c | 6c 69 6e 67 20 07 20 6f |, by cal|ling . o|
|00003f30| 11 5d b9 00 11 5d b9 00 | 00 00 00 00 64 69 65 08 |.]...]..|....die.|
|00003f40| 11 00 00 00 00 00 00 00 | 20 65 78 70 6c 69 63 69 |........| explici|
|00003f50| 74 6c 79 20 6f 72 20 00 | 00 a4 00 00 05 84 00 00 |tly or .|........|
|00003f60| 00 88 67 07 60 7d cf ff | 40 ac cf ff 20 22 00 f0 |..g.`}..|@... "..|
|00003f70| 62 79 20 6e 6f 74 20 61 | 63 74 75 61 6c 6c 79 20 |by not a|ctually |
|00003f80| 65 78 69 73 74 69 6e 67 | 2e 20 20 42 79 20 64 65 |existing|. By de|
|00003f90| 66 61 75 6c 74 2c 20 77 | 68 65 6e 20 65 69 74 68 |fault, w|hen eith|
|00003fa0| 65 72 20 6f 66 20 74 68 | 65 73 65 20 6f 66 20 65 |er of th|ese of e|
|00003fb0| 76 65 6e 74 73 20 6f 63 | 63 75 72 73 2c 20 74 68 |vents oc|curs, th|
|00003fc0| 65 20 70 72 6f 63 65 73 | 73 20 77 69 6c 6c 20 74 |e proces|s will t|
|00003fd0| 65 72 6d 69 6e 61 74 65 | 20 00 00 00 00 84 00 00 |erminate| .......|
|00003fe0| 85 a4 00 00 00 58 ee 07 | 39 45 cf ff 19 74 cf ff |.....X..|9E...t..|
|00003ff0| 20 22 00 f0 69 6d 6d 65 | 64 69 61 74 65 6c 79 2e | "..imme|diately.|
|00004000| 20 20 49 66 20 74 68 6f | 75 67 68 2c 20 79 6f 75 | If tho|ugh, you|
|00004010| 20 77 61 6e 74 20 74 6f | 20 74 72 61 70 20 74 68 | want to| trap th|
|00004020| 69 73 20 74 79 70 65 20 | 6f 66 20 65 76 65 6e 74 |is type |of event|
|00004030| 2c 20 73 70 65 63 69 66 | 79 20 74 68 65 20 47 5f |, specif|y the G_|
|00004040| 45 56 41 4c 20 66 6c 61 | 67 2e 20 20 49 74 20 77 |EVAL fla|g. It w|
|00004050| 69 6c 6c 20 70 75 74 20 | 61 6e 20 07 11 5e b9 00 |ill put |an ..^..|
|00004060| 11 5e b9 00 00 00 00 00 | 65 76 61 6c 20 7b 20 7d |.^......|eval { }|
|00004070| 08 ea b8 00 11 00 00 00 | 00 00 00 00 20 00 00 00 |........|.... ...|
|00004080| 00 a4 00 00 25 34 00 00 | 40 ec f3 01 12 0d cf ff |....%4..|@.......|
|00004090| f2 3b cf ff 20 22 00 f0 | 61 72 6f 75 6e 64 20 74 |.;.. "..|around t|
|000040a0| 68 65 20 73 75 62 72 6f | 75 74 69 6e 65 20 63 61 |he subro|utine ca|
|000040b0| 6c 6c 2e 0d 00 34 00 00 | 85 b4 00 00 00 b4 d7 07 |ll...4..|........|
|000040c0| 3b 9e ce ff 1b cd ce ff | 20 22 00 f0 57 68 65 6e |;.......| "..When|
|000040d0| 65 76 65 72 20 63 6f 6e | 74 72 6f 6c 20 72 65 74 |ever con|trol ret|
|000040e0| 75 72 6e 73 20 66 72 6f | 6d 20 74 68 65 20 07 6c |urns fro|m the .l|
|000040f0| 11 5f b9 00 11 5f b9 00 | 00 00 00 00 70 65 72 6c |._..._..|....perl|
|00004100| 5f 63 61 6c 6c 5f 2a 08 | 11 00 00 00 00 00 00 00 |_call_*.|........|
|00004110| 20 66 75 6e 63 74 69 6f | 6e 20 79 6f 75 20 6e 65 | functio|n you ne|
|00004120| 65 64 20 74 6f 20 63 68 | 65 63 6b 20 74 68 65 20 |ed to ch|eck the |
|00004130| 07 43 20 73 0e 60 b9 00 | 0e 60 b9 00 00 00 00 00 |.C s.`..|.`......|
|00004140| 24 40 08 73 0e 61 b9 00 | 00 00 00 00 20 76 61 72 |$@.s.a..|.... var|
|00004150| 69 61 62 6c 65 20 61 73 | 20 79 6f 75 20 77 6f 75 |iable as| you wou|
|00004160| 6c 64 20 69 6e 20 00 00 | 00 b4 00 00 a5 3c 00 00 |ld in ..|.....<..|
|00004170| 40 28 7c 01 14 66 ce ff | f4 94 ce ff 20 22 00 f0 |@(|..f..|.... "..|
|00004180| 61 20 6e 6f 72 6d 61 6c | 20 50 65 72 6c 20 73 63 |a normal| Perl sc|
|00004190| 72 69 70 74 2e 0d 07 00 | 14 62 b9 00 14 62 b9 00 |ript....|.b...b..|
|000041a0| 00 00 00 00 00 3c 00 00 | 85 a4 00 00 00 2c d2 07 |.....<..|.....,..|
|000041b0| 3d f7 cd ff 1d 26 ce ff | 20 22 00 f0 54 68 65 20 |=....&..| "..The |
|000041c0| 76 61 6c 75 65 20 72 65 | 74 75 72 6e 65 64 20 66 |value re|turned f|
|000041d0| 72 6f 6d 20 74 68 65 20 | 07 61 6b 65 11 63 b9 00 |rom the |.ake.c..|
|000041e0| 14 62 b9 00 11 63 b9 00 | 00 00 00 00 70 65 72 6c |.b...c..|....perl|
|000041f0| 5f 63 61 6c 6c 5f 2a 08 | 11 00 00 00 14 62 b9 00 |_call_*.|.....b..|
|00004200| 00 00 00 00 20 66 75 6e | 63 74 69 6f 6e 20 69 73 |.... fun|ction is|
|00004210| 20 64 65 70 65 6e 64 65 | 6e 74 20 6f 6e 20 77 68 | depende|nt on wh|
|00004220| 61 74 20 6f 74 68 65 72 | 20 66 6c 61 67 73 20 68 |at other| flags h|
|00004230| 61 76 65 20 62 65 65 6e | 20 73 70 65 63 69 66 69 |ave been| specifi|
|00004240| 65 64 20 61 6e 64 20 00 | 00 a4 00 00 a5 84 00 00 |ed and .|........|
|00004250| 40 fc ac 05 16 bf cd ff | f6 ed cd ff 20 22 00 f0 |@.......|.... "..|
|00004260| 77 68 65 74 68 65 72 20 | 61 6e 20 65 72 72 6f 72 |whether |an error|
|00004270| 20 68 61 73 20 6f 63 63 | 75 72 72 65 64 2e 20 20 | has occ|urred. |
|00004280| 48 65 72 65 20 61 72 65 | 20 61 6c 6c 20 74 68 65 |Here are| all the|
|00004290| 20 64 69 66 66 65 72 65 | 6e 74 20 63 61 73 65 73 | differe|nt cases|
|000042a0| 20 74 68 61 74 20 63 61 | 6e 20 6f 63 63 75 72 3a | that ca|n occur:|
|000042b0| 0d 08 69 73 14 00 00 00 | 00 00 00 00 07 74 6f 20 |..is....|.....to |
|000042c0| 13 64 b9 00 13 64 b9 00 | 00 00 00 00 00 84 00 00 |.d...d..|........|
|000042d0| 85 b4 00 00 04 f4 88 07 | 3f 50 cd ff 1f 7f cd ff |........|?P......|
|000042e0| 20 22 00 f0 12 00 00 00 | e8 35 00 00 00 00 00 00 | "......|.5......|
|000042f0| 8f 12 78 63 70 17 00 00 | 00 00 00 00 49 66 20 74 |..xcp...|....If t|
|00004300| 68 65 20 07 11 65 b9 00 | 13 64 b9 00 11 65 b9 00 |he ..e..|.d...e..|
|00004310| 00 00 00 00 70 65 72 6c | 5f 63 61 6c 6c 5f 2a 08 |....perl|_call_*.|
|00004320| 11 00 00 00 13 64 b9 00 | 00 00 00 00 20 66 75 6e |.....d..|.... fun|
|00004330| 63 74 69 6f 6e 20 72 65 | 74 75 72 6e 73 20 6e 6f |ction re|turns no|
|00004340| 72 6d 61 6c 6c 79 2c 20 | 74 68 65 6e 20 74 68 65 |rmally, |then the|
|00004350| 20 76 61 6c 75 65 20 72 | 65 74 75 72 6e 65 64 20 | value r|eturned |
|00004360| 69 73 20 61 73 20 73 70 | 65 63 69 66 69 65 64 20 |is as sp|ecified |
|00004370| 69 6e 20 74 68 65 20 70 | 72 65 76 69 6f 75 73 20 |in the p|revious |
|00004380| 00 b4 00 00 25 24 00 00 | 40 c0 a2 00 18 18 cd ff |....%$..|@.......|
|00004390| f8 46 cd ff 20 22 00 f0 | 73 65 63 74 69 6f 6e 73 |.F.. "..|sections|
|000043a0| 2e 0d 00 00 00 24 00 00 | 01 10 00 00 44 a4 f6 04 |.....$..|....D...|
|000043b0| 00 00 00 00 00 10 00 00 | 02 18 00 00 38 07 00 00 |........|....8...|
|000043c0| 00 00 00 00 13 64 b9 00 | 00 00 00 00 00 18 00 00 |.....d..|........|
|000043d0| 25 7c 00 00 44 a4 f6 04 | bc 45 cb ff 9c 74 cb ff |%|..D...|.E...t..|
|000043e0| 20 22 00 f0 16 00 00 00 | b0 fc 07 00 00 00 00 00 | "......|........|
|000043f0| 12 65 20 72 e8 35 00 00 | 00 00 00 00 8f 12 65 20 |.e r.5..|......e |
|00004400| 70 17 00 00 00 00 00 00 | 49 66 20 47 5f 44 49 53 |p.......|If G_DIS|
|00004410| 43 41 52 44 20 69 73 20 | 73 70 65 63 69 66 69 65 |CARD is |specifie|
|00004420| 64 2c 20 74 68 65 20 72 | 65 74 75 72 6e 20 76 61 |d, the r|eturn va|
|00004430| 6c 75 65 20 77 69 6c 6c | 20 61 6c 77 61 79 73 20 |lue will| always |
|00004440| 62 65 20 30 2e 0d 00 00 | 00 7c 00 00 a5 a8 00 00 |be 0....|.|......|
|00004450| 44 9c b1 06 e5 d6 ca ff | c5 05 cb ff 20 22 00 f0 |D.......|.... "..|
|00004460| 12 73 20 69 e8 35 00 00 | 00 00 00 00 8f 12 61 72 |.s i.5..|......ar|
|00004470| 70 17 00 00 00 00 00 00 | 49 66 20 47 5f 41 52 52 |p.......|If G_ARR|
|00004480| 41 59 20 69 73 20 73 70 | 65 63 69 66 69 65 64 20 |AY is sp|ecified |
|00004490| 07 c0 b3 e6 11 66 b9 00 | 13 64 b9 00 11 66 b9 00 |.....f..|.d...f..|
|000044a0| 00 00 00 00 61 6e 64 08 | 11 00 00 00 13 64 b9 00 |....and.|.....d..|
|000044b0| 00 00 00 00 20 61 6e 20 | 65 72 72 6f 72 20 68 61 |.... an |error ha|
|000044c0| 73 20 6f 63 63 75 72 72 | 65 64 2c 20 74 68 65 20 |s occurr|ed, the |
|000044d0| 72 65 74 75 72 6e 20 76 | 61 6c 75 65 20 77 69 6c |return v|alue wil|
|000044e0| 6c 20 61 6c 77 61 79 73 | 20 62 65 20 30 2e 0d 00 |l always| be 0...|
|000044f0| 00 a8 00 00 85 b4 00 00 | 04 28 b8 07 0e 68 ca ff |........|.(...h..|
|00004500| ee 96 ca ff 20 22 00 f0 | 12 20 70 61 e8 35 00 00 |.... "..|. pa.5..|
|00004510| 00 00 00 00 8f 12 05 05 | 70 17 00 00 00 00 00 00 |........|p.......|
|00004520| 49 66 20 47 5f 53 43 41 | 4c 41 52 20 69 73 20 73 |If G_SCA|LAR is s|
|00004530| 70 65 63 69 66 69 65 64 | 20 07 b8 00 11 67 b9 00 |pecified| ....g..|
|00004540| 13 64 b9 00 11 67 b9 00 | 00 00 00 00 61 6e 64 08 |.d...g..|....and.|
|00004550| 11 00 00 00 13 64 b9 00 | 00 00 00 00 20 61 6e 20 |.....d..|.... an |
|00004560| 65 72 72 6f 72 20 68 61 | 73 20 6f 63 63 75 72 72 |error ha|s occurr|
|00004570| 65 64 2c 20 74 68 65 20 | 72 65 74 75 72 6e 20 76 |ed, the |return v|
|00004580| 61 6c 75 65 20 77 69 6c | 6c 20 62 65 20 31 20 61 |alue wil|l be 1 a|
|00004590| 6e 64 20 74 68 65 20 76 | 61 6c 75 65 20 6f 6e 20 |nd the v|alue on |
|000045a0| 74 68 65 20 00 b4 00 00 | 85 c4 00 00 00 28 5b 07 |the ....|.....([.|
|000045b0| e7 2f ca ff c7 5e ca ff | 20 22 00 f0 74 6f 70 20 |./...^..| "..top |
|000045c0| 6f 66 20 74 68 65 20 73 | 74 61 63 6b 20 77 69 6c |of the s|tack wil|
|000045d0| 6c 20 62 65 20 07 72 61 | 11 68 b9 00 13 64 b9 00 |l be .ra|.h...d..|
|000045e0| 11 68 b9 00 00 00 00 00 | 75 6e 64 65 66 08 20 63 |.h......|undef. c|
|000045f0| 11 00 00 00 13 64 b9 00 | 00 00 00 00 2e 20 54 68 |.....d..|..... Th|
|00004600| 69 73 20 6d 65 61 6e 73 | 20 74 68 61 74 20 69 66 |is means| that if|
|00004610| 20 79 6f 75 20 68 61 76 | 65 20 61 6c 72 65 61 64 | you hav|e alread|
|00004620| 79 20 64 65 74 65 63 74 | 65 64 20 74 68 65 20 65 |y detect|ed the e|
|00004630| 72 72 6f 72 20 62 79 20 | 63 68 65 63 6b 69 6e 67 |rror by |checking|
|00004640| 20 07 63 74 0e 69 b9 00 | 13 64 b9 00 0e 69 b9 00 | .ct.i..|.d...i..|
|00004650| 00 00 00 00 24 40 08 68 | 0e 6a b9 00 13 64 b9 00 |....$@.h|.j...d..|
|00004660| 00 00 00 00 20 00 00 00 | 00 c4 00 00 a5 9c 00 00 |.... ...|........|
|00004670| 40 88 b6 06 c0 f7 c9 ff | a0 26 ca ff 20 22 00 f0 |@.......|.&.. "..|
|00004680| 61 6e 64 20 79 6f 75 20 | 77 61 6e 74 20 74 68 65 |and you |want the|
|00004690| 20 70 72 6f 67 72 61 6d | 20 74 6f 20 63 6f 6e 74 | program| to cont|
|000046a0| 69 6e 75 65 2c 20 79 6f | 75 20 6d 75 73 74 20 72 |inue, yo|u must r|
|000046b0| 65 6d 65 6d 62 65 72 20 | 74 6f 20 70 6f 70 20 74 |emember |to pop t|
|000046c0| 68 65 20 07 11 6b b9 00 | 13 64 b9 00 11 6b b9 00 |he ..k..|.d...k..|
|000046d0| 00 00 00 00 75 6e 64 65 | 66 08 05 05 11 00 00 00 |....unde|f.......|
|000046e0| 13 64 b9 00 00 00 00 00 | 20 66 72 6f 6d 20 74 68 |.d......| from th|
|000046f0| 65 20 73 74 61 63 6b 2e | 0d 08 6c 5f 13 6c b9 00 |e stack.|..l_.l..|
|00004700| 00 00 00 00 00 9c 00 00 | a5 70 00 00 40 ec ac 03 |........|.p..@...|
|00004710| e9 88 c9 ff c9 b7 c9 ff | 20 22 00 f0 53 65 65 20 |........| "..See |
|00004720| 07 66 20 75 11 6d b9 00 | 11 6d b9 00 00 00 00 00 |.f u.m..|.m......|
|00004730| 55 73 69 6e 67 20 47 5f | 45 56 41 4c 08 65 72 6c |Using G_|EVAL.erl|
|00004740| 11 00 00 00 00 00 00 00 | 20 66 6f 72 20 64 65 74 |........| for det|
|00004750| 61 69 6c 73 20 6f 6e 20 | 75 73 69 6e 67 20 47 5f |ails on |using G_|
|00004760| 45 56 41 4c 2e 0d 07 00 | 0a 6e b9 00 0a 6e b9 00 |EVAL....|.n...n..|
|00004770| 00 00 00 00 00 70 00 00 | a5 2c 00 00 40 58 02 01 |.....p..|.,..@X..|
|00004780| 42 12 c9 ff f2 48 c9 ff | 18 2b 00 f0 47 5f 6b 65 |B....H..|.+..G_ke|
|00004790| 65 70 65 72 72 0d 08 05 | 0a 6f b9 00 00 00 00 00 |eperr...|.o......|
|000047a0| 00 2c 00 00 85 b0 00 00 | 00 34 be 07 0d bd c8 ff |.,......|.4......|
|000047b0| ed eb c8 ff 20 22 00 f0 | 59 6f 75 20 6d 61 79 20 |.... "..|You may |
|000047c0| 68 61 76 65 20 6e 6f 74 | 69 63 65 64 20 74 68 61 |have not|iced tha|
|000047d0| 74 20 75 73 69 6e 67 20 | 74 68 65 20 47 5f 45 56 |t using |the G_EV|
|000047e0| 41 4c 20 66 6c 61 67 20 | 64 65 73 63 72 69 62 65 |AL flag |describe|
|000047f0| 64 20 61 62 6f 76 65 20 | 77 69 6c 6c 20 07 74 69 |d above |will .ti|
|00004800| 10 70 b9 00 10 70 b9 00 | 00 00 00 00 61 6c 77 61 |.p...p..|....alwa|
|00004810| 79 73 08 20 10 00 00 00 | 00 00 00 00 20 63 6c 65 |ys. ....|.... cle|
|00004820| 61 72 20 74 68 65 20 07 | 0e 71 b9 00 0e 71 b9 00 |ar the .|.q...q..|
|00004830| 00 00 00 00 24 40 08 00 | 0e 72 b9 00 00 00 00 00 |....$@..|.r......|
|00004840| 20 76 61 72 69 61 62 6c | 65 20 61 6e 64 20 00 00 | variabl|e and ..|
|00004850| 00 b0 00 00 85 98 00 00 | 00 ac bb 07 e6 84 c8 ff |........|........|
|00004860| c6 b3 c8 ff 20 22 00 f0 | 73 65 74 20 69 74 20 74 |.... "..|set it t|
|00004870| 6f 20 61 20 73 74 72 69 | 6e 67 20 64 65 73 63 72 |o a stri|ng descr|
|00004880| 69 62 69 6e 67 20 74 68 | 65 20 65 72 72 6f 72 20 |ibing th|e error |
|00004890| 69 66 66 20 74 68 65 72 | 65 20 77 61 73 20 61 6e |iff ther|e was an|
|000048a0| 20 65 72 72 6f 72 20 69 | 6e 20 74 68 65 20 63 61 | error i|n the ca|
|000048b0| 6c 6c 65 64 20 63 6f 64 | 65 2e 20 20 54 68 69 73 |lled cod|e. This|
|000048c0| 20 75 6e 71 75 61 6c 69 | 66 69 65 64 20 72 65 73 | unquali|fied res|
|000048d0| 65 74 74 69 6e 67 20 6f | 66 20 07 00 0e 73 b9 00 |etting o|f ...s..|
|000048e0| 0e 73 b9 00 00 00 00 00 | 00 98 00 00 85 a0 00 00 |.s......|........|
|000048f0| 00 8c c0 07 bf 4c c8 ff | 9f 7b c8 ff ba 1f 00 f0 |.....L..|.{......|
|00004900| 24 40 08 20 0e 74 b9 00 | 00 00 00 00 20 63 61 6e |$@. .t..|.... can|
|00004910| 20 62 65 20 70 72 6f 62 | 6c 65 6d 61 74 69 63 20 | be prob|lematic |
|00004920| 69 6e 20 74 68 65 20 72 | 65 6c 69 61 62 6c 65 20 |in the r|eliable |
|00004930| 69 64 65 6e 74 69 66 69 | 63 61 74 69 6f 6e 20 6f |identifi|cation o|
|00004940| 66 20 65 72 72 6f 72 73 | 20 75 73 69 6e 67 20 74 |f errors| using t|
|00004950| 68 65 20 07 0e 75 b9 00 | 0e 75 b9 00 00 00 00 00 |he ..u..|.u......|
|00004960| 65 76 61 6c 20 7b 7d 08 | 0e 76 b9 00 00 00 00 00 |eval {}.|.v......|
|00004970| 20 6d 65 63 68 61 6e 69 | 73 6d 2c 20 62 65 63 61 | mechani|sm, beca|
|00004980| 75 73 65 20 74 68 65 20 | 00 a0 00 00 05 88 00 00 |use the |........|
|00004990| 00 20 e7 07 98 14 c8 ff | 78 43 c8 ff 20 22 00 f0 |. ......|xC.. "..|
|000049a0| 70 6f 73 73 69 62 69 6c | 69 74 79 20 65 78 69 73 |possibil|ity exis|
|000049b0| 74 73 20 74 68 61 74 20 | 70 65 72 6c 20 77 69 6c |ts that |perl wil|
|000049c0| 6c 20 63 61 6c 6c 20 6f | 74 68 65 72 20 63 6f 64 |l call o|ther cod|
|000049d0| 65 20 28 65 6e 64 20 6f | 66 20 62 6c 6f 63 6b 20 |e (end o|f block |
|000049e0| 70 72 6f 63 65 73 73 69 | 6e 67 20 63 6f 64 65 2c |processi|ng code,|
|000049f0| 20 66 6f 72 20 65 78 61 | 6d 70 6c 65 29 20 62 65 | for exa|mple) be|
|00004a00| 74 77 65 65 6e 20 74 68 | 65 20 74 69 6d 65 20 00 |tween th|e time .|
|00004a10| 00 88 00 00 85 c0 00 00 | 00 ac d6 07 71 dc c7 ff |........|....q...|
|00004a20| 51 0b c8 ff 20 22 00 f0 | 74 68 65 20 65 72 72 6f |Q... "..|the erro|
|00004a30| 72 20 63 61 75 73 65 73 | 20 07 20 50 0e 77 b9 00 |r causes| . P.w..|
|00004a40| 0e 77 b9 00 00 00 00 00 | 24 40 08 20 0e 78 b9 00 |.w......|$@. .x..|
|00004a50| 00 00 00 00 20 74 6f 20 | 62 65 20 73 65 74 20 77 |.... to |be set w|
|00004a60| 69 74 68 69 6e 20 07 05 | 0e 79 b9 00 0e 79 b9 00 |ithin ..|.y...y..|
|00004a70| 00 00 00 00 65 76 61 6c | 20 7b 7d 08 0e 7a b9 00 |....eval| {}..z..|
|00004a80| 00 00 00 00 2c 20 61 6e | 64 20 74 68 65 20 73 75 |...., an|d the su|
|00004a90| 62 73 65 71 75 65 6e 74 | 20 73 74 61 74 65 6d 65 |bsequent| stateme|
|00004aa0| 6e 74 20 77 68 69 63 68 | 20 63 68 65 63 6b 73 20 |nt which| checks |
|00004ab0| 66 6f 72 20 74 68 65 20 | 76 61 6c 75 65 20 6f 66 |for the |value of|
|00004ac0| 20 07 20 65 0e 7b b9 00 | 0e 7b b9 00 00 00 00 00 | . e.{..|.{......|
|00004ad0| 00 c0 00 00 a5 4c 00 00 | 40 10 ab 02 4a a4 c7 ff |.....L..|@...J...|
|00004ae0| 2a d3 c7 ff ba 1f 00 f0 | 24 40 08 6c 0e 7c b9 00 |*.......|$@.l.|..|
|00004af0| 00 00 00 00 20 67 65 74 | 73 20 65 78 65 63 75 74 |.... get|s execut|
|00004b00| 65 64 20 69 6e 20 74 68 | 65 20 75 73 65 72 27 73 |ed in th|e user's|
|00004b10| 20 73 63 72 69 70 74 2e | 0d 00 00 00 00 4c 00 00 | script.|.....L..|
|00004b20| 05 7c 00 00 00 a0 22 07 | 73 35 c7 ff 53 64 c7 ff |.|....".|s5..Sd..|
|00004b30| 20 22 00 f0 54 68 69 73 | 20 73 63 65 6e 61 72 69 | "..This| scenari|
|00004b40| 6f 20 77 69 6c 6c 20 6d | 6f 73 74 6c 79 20 62 65 |o will m|ostly be|
|00004b50| 20 61 70 70 6c 69 63 61 | 62 6c 65 20 74 6f 20 63 | applica|ble to c|
|00004b60| 6f 64 65 20 74 68 61 74 | 20 69 73 20 6d 65 61 6e |ode that| is mean|
|00004b70| 74 20 74 6f 20 62 65 20 | 63 61 6c 6c 65 64 20 66 |t to be |called f|
|00004b80| 72 6f 6d 20 77 69 74 68 | 69 6e 20 64 65 73 74 72 |rom with|in destr|
|00004b90| 75 63 74 6f 72 73 2c 20 | 00 7c 00 00 85 c8 00 00 |uctors, |.|......|
|00004ba0| 00 9c 86 07 4c fd c6 ff | 2c 2c c7 ff 20 22 00 f0 |....L...|,,.. "..|
|00004bb0| 61 73 79 6e 63 68 72 6f | 6e 6f 75 73 20 63 61 6c |asynchro|nous cal|
|00004bc0| 6c 62 61 63 6b 73 2c 20 | 73 69 67 6e 61 6c 20 68 |lbacks, |signal h|
|00004bd0| 61 6e 64 6c 65 72 73 2c | 20 07 74 68 0e 7d b9 00 |andlers,| .th.}..|
|00004be0| 0e 7d b9 00 00 00 00 00 | 5f 5f 44 49 45 5f 5f 08 |.}......|__DIE__.|
|00004bf0| 0e 7e b9 00 00 00 00 00 | 20 6f 72 20 07 00 00 00 |.~......| or ....|
|00004c00| 0e 7f b9 00 0e 7f b9 00 | 00 00 00 00 5f 5f 57 41 |........|....__WA|
|00004c10| 52 4e 5f 5f 08 61 73 6b | 0e 80 b9 00 00 00 00 00 |RN__.ask|........|
|00004c20| 20 68 6f 6f 6b 73 2c 20 | 61 6e 64 20 07 20 61 6e | hooks, |and . an|
|00004c30| 0e 81 b9 00 0e 81 b9 00 | 00 00 00 00 74 69 65 08 |........|....tie.|
|00004c40| 0e 82 b9 00 00 00 00 00 | 20 66 75 6e 63 74 69 6f |........| functio|
|00004c50| 6e 73 2e 20 20 49 6e 20 | 73 75 63 68 20 00 00 00 |ns. In |such ...|
|00004c60| 00 c8 00 00 85 ac 00 00 | 00 b8 df 07 25 c5 c6 ff |........|....%...|
|00004c70| 05 f4 c6 ff 20 22 00 f0 | 73 69 74 75 61 74 69 6f |.... "..|situatio|
|00004c80| 6e 73 2c 20 79 6f 75 20 | 77 69 6c 6c 20 6e 6f 74 |ns, you |will not|
|00004c90| 20 77 61 6e 74 20 74 6f | 20 63 6c 65 61 72 20 07 | want to| clear .|
|00004ca0| 0e 83 b9 00 0e 83 b9 00 | 00 00 00 00 24 40 08 20 |........|....$@. |
|00004cb0| 0e 84 b9 00 00 00 00 00 | 20 61 74 20 61 6c 6c 2c |........| at all,|
|00004cc0| 20 62 75 74 20 73 69 6d | 70 6c 79 20 74 6f 20 61 | but sim|ply to a|
|00004cd0| 70 70 65 6e 64 20 61 6e | 79 20 6e 65 77 20 65 72 |ppend an|y new er|
|00004ce0| 72 6f 72 73 20 74 6f 20 | 61 6e 79 20 65 78 69 73 |rors to |any exis|
|00004cf0| 74 69 6e 67 20 76 61 6c | 75 65 20 6f 66 20 07 49 |ting val|ue of .I|
|00004d00| 0e 85 b9 00 0e 85 b9 00 | 00 00 00 00 00 ac 00 00 |........|........|
|00004d10| a5 28 00 00 40 f8 43 00 | fe 8c c6 ff de bb c6 ff |.(..@.C.|........|
|00004d20| ba 1f 00 f0 24 40 08 6c | 0e 86 b9 00 00 00 00 00 |....$@.l|........|
|00004d30| 2e 0d 00 00 00 28 00 00 | 85 94 00 00 00 a4 bd 07 |.....(..|........|
|00004d40| 27 1e c6 ff 07 4d c6 ff | 20 22 00 f0 54 68 65 20 |'....M..| "..The |
|00004d50| 47 5f 4b 45 45 50 45 52 | 52 20 66 6c 61 67 20 69 |G_KEEPER|R flag i|
|00004d60| 73 20 6d 65 61 6e 74 20 | 74 6f 20 62 65 20 75 73 |s meant |to be us|
|00004d70| 65 64 20 69 6e 20 63 6f | 6e 6a 75 6e 63 74 69 6f |ed in co|njunctio|
|00004d80| 6e 20 77 69 74 68 20 47 | 5f 45 56 41 4c 20 69 6e |n with G|_EVAL in|
|00004d90| 20 07 65 73 11 87 b9 00 | 11 87 b9 00 00 00 00 00 | .es....|........|
|00004da0| 70 65 72 6c 5f 63 61 6c | 6c 5f 2a 08 11 00 00 00 |perl_cal|l_*.....|
|00004db0| 00 00 00 00 20 66 75 6e | 63 74 69 6f 6e 73 20 74 |.... fun|ctions t|
|00004dc0| 68 61 74 20 61 72 65 20 | 00 94 00 00 25 68 00 00 |hat are |....%h..|
|00004dd0| 40 40 f0 05 00 e6 c5 ff | e0 14 c6 ff 20 22 00 f0 |@@......|.... "..|
|00004de0| 75 73 65 64 20 74 6f 20 | 69 6d 70 6c 65 6d 65 6e |used to |implemen|
|00004df0| 74 20 73 75 63 68 20 63 | 6f 64 65 2e 20 20 54 68 |t such c|ode. Th|
|00004e00| 69 73 20 66 6c 61 67 20 | 68 61 73 20 6e 6f 20 65 |is flag |has no e|
|00004e10| 66 66 65 63 74 20 77 68 | 65 6e 20 47 5f 45 56 41 |ffect wh|en G_EVA|
|00004e20| 4c 20 69 73 20 6e 6f 74 | 20 75 73 65 64 2e 0d 00 |L is not| used...|
|00004e30| 00 68 00 00 05 84 00 00 | 00 2c c3 07 29 77 c5 ff |.h......|.,..)w..|
|00004e40| 09 a6 c5 ff 20 22 00 f0 | 57 68 65 6e 20 47 5f 4b |.... "..|When G_K|
|00004e50| 45 45 50 45 52 52 20 69 | 73 20 75 73 65 64 2c 20 |EEPERR i|s used, |
|00004e60| 61 6e 79 20 65 72 72 6f | 72 73 20 69 6e 20 74 68 |any erro|rs in th|
|00004e70| 65 20 63 61 6c 6c 65 64 | 20 63 6f 64 65 20 77 69 |e called| code wi|
|00004e80| 6c 6c 20 62 65 20 70 72 | 65 66 69 78 65 64 20 77 |ll be pr|efixed w|
|00004e90| 69 74 68 20 74 68 65 20 | 73 74 72 69 6e 67 20 22 |ith the |string "|
|00004ea0| 5c 74 28 69 6e 20 63 6c | 65 61 6e 75 70 29 22 2c |\t(in cl|eanup)",|
|00004eb0| 20 00 00 00 00 84 00 00 | a5 5c 00 00 40 64 fc 02 | .......|.\..@d..|
|00004ec0| 02 3f c5 ff e2 6d c5 ff | 20 22 00 f0 61 6e 64 20 |.?...m..| "..and |
|00004ed0| 61 70 70 65 6e 64 65 64 | 20 74 6f 20 74 68 65 20 |appended| to the |
|00004ee0| 63 75 72 72 65 6e 74 20 | 76 61 6c 75 65 20 6f 66 |current |value of|
|00004ef0| 20 07 63 6f 0e 88 b9 00 | 0e 88 b9 00 00 00 00 00 | .co....|........|
|00004f00| 24 40 08 20 0e 89 b9 00 | 00 00 00 00 2e 0d 00 00 |$@. ....|........|
|00004f10| 00 5c 00 00 25 54 00 00 | 40 b8 79 04 2b d0 c4 ff |.\..%T..|@.y.+...|
|00004f20| 0b ff c4 ff 20 22 00 f0 | 54 68 65 20 47 5f 4b 45 |.... "..|The G_KE|
|00004f30| 45 50 45 52 52 20 66 6c | 61 67 20 77 61 73 20 69 |EPERR fl|ag was i|
|00004f40| 6e 74 72 6f 64 75 63 65 | 64 20 69 6e 20 50 65 72 |ntroduce|d in Per|
|00004f50| 6c 20 76 65 72 73 69 6f | 6e 20 35 2e 30 30 32 2e |l versio|n 5.002.|
|00004f60| 0d 00 00 00 00 54 00 00 | a5 94 00 00 40 c4 65 06 |.....T..|....@.e.|
|00004f70| 54 61 c4 ff 34 90 c4 ff | 20 22 00 f0 53 65 65 20 |Ta..4...| "..See |
|00004f80| 07 66 66 65 11 8a b9 00 | 11 8a b9 00 00 00 00 00 |.ffe....|........|
|00004f90| 55 73 69 6e 67 20 47 5f | 4b 45 45 50 45 52 52 08 |Using G_|KEEPERR.|
|00004fa0| 11 00 00 00 00 00 00 00 | 20 66 6f 72 20 61 6e 20 |........| for an |
|00004fb0| 65 78 61 6d 70 6c 65 20 | 6f 66 20 61 20 73 69 74 |example |of a sit|
|00004fc0| 75 61 74 69 6f 6e 20 74 | 68 61 74 20 77 61 72 72 |uation t|hat warr|
|00004fd0| 61 6e 74 73 20 74 68 65 | 20 75 73 65 20 6f 66 20 |ants the| use of |
|00004fe0| 74 68 69 73 20 66 6c 61 | 67 2e 0d 07 0a 8b b9 00 |this fla|g.......|
|00004ff0| 0a 8b b9 00 00 00 00 00 | 00 94 00 00 a5 3c 00 00 |........|.....<..|
|00005000| 40 a4 4d 02 ad ea c3 ff | 5d 21 c4 ff 18 2b 00 f0 |@.M.....|]!...+..|
|00005010| 44 65 74 65 72 6d 69 6e | 69 6e 67 20 74 68 65 20 |Determin|ing the |
|00005020| 43 6f 6e 74 65 78 74 0d | 08 08 05 05 0a 8c b9 00 |Context.|........|
|00005030| 00 00 00 00 00 3c 00 00 | 85 8c 00 00 00 90 74 07 |.....<..|......t.|
|00005040| 78 95 c3 ff 58 c4 c3 ff | 20 22 00 f0 41 73 20 6d |x...X...| "..As m|
|00005050| 65 6e 74 69 6f 6e 65 64 | 20 61 62 6f 76 65 2c 20 |entioned| above, |
|00005060| 79 6f 75 20 63 61 6e 20 | 64 65 74 65 72 6d 69 6e |you can |determin|
|00005070| 65 20 74 68 65 20 63 6f | 6e 74 65 78 74 20 6f 66 |e the co|ntext of|
|00005080| 20 74 68 65 20 63 75 72 | 72 65 6e 74 6c 79 20 65 | the cur|rently e|
|00005090| 78 65 63 75 74 69 6e 67 | 20 73 75 62 72 6f 75 74 |xecuting| subrout|
|000050a0| 69 6e 65 20 69 6e 20 50 | 65 72 6c 20 77 69 74 68 |ine in P|erl with|
|000050b0| 20 07 20 6f 11 8d b9 00 | 11 8d b9 00 00 00 00 00 | . o....|........|
|000050c0| 00 8c 00 00 85 b8 00 00 | 00 b8 ee 07 51 5d c3 ff |........|....Q]..|
|000050d0| 31 8c c3 ff f8 22 00 f0 | 77 61 6e 74 61 72 72 61 |1...."..|wantarra|
|000050e0| 79 08 72 61 11 00 00 00 | 00 00 00 00 2e 20 20 54 |y.ra....|..... T|
|000050f0| 68 65 20 65 71 75 69 76 | 61 6c 65 6e 74 20 74 65 |he equiv|alent te|
|00005100| 73 74 20 63 61 6e 20 62 | 65 20 6d 61 64 65 20 69 |st can b|e made i|
|00005110| 6e 20 43 20 62 79 20 75 | 73 69 6e 67 20 74 68 65 |n C by u|sing the|
|00005120| 20 07 65 20 0e 8e b9 00 | 0e 8e b9 00 00 00 00 00 | .e ....|........|
|00005130| 47 49 4d 4d 45 5f 56 08 | 0e 8f b9 00 00 00 00 00 |GIMME_V.|........|
|00005140| 20 6d 61 63 72 6f 2c 20 | 77 68 69 63 68 20 72 65 | macro, |which re|
|00005150| 74 75 72 6e 73 20 07 00 | 0e 90 b9 00 0e 90 b9 00 |turns ..|........|
|00005160| 00 00 00 00 47 5f 41 52 | 52 41 59 08 0e 91 b9 00 |....G_AR|RAY.....|
|00005170| 00 00 00 00 20 69 66 20 | 00 b8 00 00 85 b8 00 00 |.... if |........|
|00005180| 00 5c d5 07 2a 25 c3 ff | 0a 54 c3 ff 20 22 00 f0 |.\..*%..|.T.. "..|
|00005190| 79 6f 75 20 68 61 76 65 | 20 62 65 65 6e 20 63 61 |you have| been ca|
|000051a0| 6c 6c 65 64 20 69 6e 20 | 61 6e 20 61 72 72 61 79 |lled in |an array|
|000051b0| 20 63 6f 6e 74 65 78 74 | 2c 20 07 20 0e 92 b9 00 | context|, . ....|
|000051c0| 0e 92 b9 00 00 00 00 00 | 47 5f 53 43 41 4c 41 52 |........|G_SCALAR|
|000051d0| 08 50 65 72 0e 93 b9 00 | 00 00 00 00 20 69 66 20 |.Per....|.... if |
|000051e0| 69 6e 20 61 20 73 63 61 | 6c 61 72 20 63 6f 6e 74 |in a sca|lar cont|
|000051f0| 65 78 74 2c 20 6f 72 20 | 07 65 20 65 0e 94 b9 00 |ext, or |.e e....|
|00005200| 0e 94 b9 00 00 00 00 00 | 47 5f 56 4f 49 44 08 20 |........|G_VOID. |
|00005210| 0e 95 b9 00 00 00 00 00 | 20 69 66 20 69 6e 20 61 |........| if in a|
|00005220| 20 76 6f 69 64 20 63 6f | 6e 74 65 78 74 20 00 00 | void co|ntext ..|
|00005230| 00 b8 00 00 85 a4 00 00 | 00 4c d6 07 03 ed c2 ff |........|.L......|
|00005240| e3 1b c3 ff 20 22 00 f0 | 28 69 2e 65 2e 20 74 68 |.... "..|(i.e. th|
|00005250| 65 20 72 65 74 75 72 6e | 20 76 61 6c 75 65 20 77 |e return| value w|
|00005260| 69 6c 6c 20 6e 6f 74 20 | 62 65 20 75 73 65 64 29 |ill not |be used)|
|00005270| 2e 20 20 41 6e 20 6f 6c | 64 65 72 20 76 65 72 73 |. An ol|der vers|
|00005280| 69 6f 6e 20 6f 66 20 74 | 68 69 73 20 6d 61 63 72 |ion of t|his macr|
|00005290| 6f 20 69 73 20 63 61 6c | 6c 65 64 20 07 68 65 20 |o is cal|led .he |
|000052a0| 0e 96 b9 00 0e 96 b9 00 | 00 00 00 00 47 49 4d 4d |........|....GIMM|
|000052b0| 45 08 b9 00 0e 97 b9 00 | 00 00 00 00 3b 20 69 6e |E.......|....; in|
|000052c0| 20 61 20 76 6f 69 64 20 | 63 6f 6e 74 65 78 74 20 | a void |context |
|000052d0| 69 74 20 00 00 a4 00 00 | 85 d0 00 00 00 58 97 07 |it .....|.....X..|
|000052e0| dc b4 c2 ff bc e3 c2 ff | 20 22 00 f0 72 65 74 75 |........| "..retu|
|000052f0| 72 6e 73 20 07 6e 20 74 | 0e 98 b9 00 0e 98 b9 00 |rns .n t|........|
|00005300| 00 00 00 00 47 5f 53 43 | 41 4c 41 52 08 68 61 74 |....G_SC|ALAR.hat|
|00005310| 0e 99 b9 00 00 00 00 00 | 20 69 6e 73 74 65 61 64 |........| instead|
|00005320| 20 6f 66 20 07 6e 79 20 | 0e 9a b9 00 0e 9a b9 00 | of .ny |........|
|00005330| 00 00 00 00 47 5f 56 4f | 49 44 08 6f 0e 9b b9 00 |....G_VO|ID.o....|
|00005340| 00 00 00 00 2e 20 20 41 | 6e 20 65 78 61 6d 70 6c |..... A|n exampl|
|00005350| 65 20 6f 66 20 75 73 69 | 6e 67 20 74 68 65 20 07 |e of usi|ng the .|
|00005360| 0e 9c b9 00 0e 9c b9 00 | 00 00 00 00 47 49 4d 4d |........|....GIMM|
|00005370| 45 5f 56 08 0e 9d b9 00 | 00 00 00 00 20 6d 61 63 |E_V.....|.... mac|
|00005380| 72 6f 20 69 73 20 73 68 | 6f 77 6e 20 69 6e 20 73 |ro is sh|own in s|
|00005390| 65 63 74 69 6f 6e 20 07 | 11 9e b9 00 11 9e b9 00 |ection .|........|
|000053a0| 00 00 00 00 00 d0 00 00 | a5 40 00 00 40 b0 57 01 |........|.@..@.W.|
|000053b0| b5 7c c2 ff 95 ab c2 ff | f8 22 00 f0 55 73 69 6e |.|......|."..Usin|
|000053c0| 67 20 47 49 4d 4d 45 5f | 56 08 6e 6c 11 00 00 00 |g GIMME_|V.nl....|
|000053d0| 00 00 00 00 2e 0d 07 6e | 08 9f b9 00 08 9f b9 00 |.......n|........|
|000053e0| 00 00 00 00 00 40 00 00 | a5 30 00 00 40 6c 13 02 |.....@..|.0..@l..|
|000053f0| 6e f6 c1 ff be 3c c2 ff | 68 37 00 f0 4b 6e 6f 77 |n....<..|h7..Know|
|00005400| 6e 20 50 72 6f 62 6c 65 | 6d 73 0d 08 08 a0 b9 00 |n Proble|ms......|
|00005410| 00 00 00 00 00 30 00 00 | a5 90 00 00 40 60 d9 05 |.....0..|....@`..|
|00005420| 0d 9e c1 ff ed cc c1 ff | 20 22 00 f0 54 68 69 73 |........| "..This|
|00005430| 20 73 65 63 74 69 6f 6e | 20 6f 75 74 6c 69 6e 65 | section| outline|
|00005440| 73 20 61 6c 6c 20 6b 6e | 6f 77 6e 20 70 72 6f 62 |s all kn|own prob|
|00005450| 6c 65 6d 73 20 74 68 61 | 74 20 65 78 69 73 74 20 |lems tha|t exist |
|00005460| 69 6e 20 74 68 65 20 07 | 11 a1 b9 00 11 a1 b9 00 |in the .|........|
|00005470| 00 00 00 00 70 65 72 6c | 5f 63 61 6c 6c 5f 2a 08 |....perl|_call_*.|
|00005480| 11 00 00 00 00 00 00 00 | 20 66 75 6e 63 74 69 6f |........| functio|
|00005490| 6e 73 2e 0d 07 6c 61 72 | 13 a2 b9 00 13 a2 b9 00 |ns...lar|........|
|000054a0| 00 00 00 00 00 90 00 00 | 05 8c 00 00 04 18 6e 07 |........|......n.|
|000054b0| 36 2f c1 ff 16 5e c1 ff | 20 22 00 f0 12 20 6f 66 |6/...^..| "... of|
|000054c0| e0 2e 00 00 00 00 00 00 | 31 12 76 69 70 17 00 00 |........|1.vip...|
|000054d0| 00 00 00 00 49 66 20 79 | 6f 75 20 61 72 65 20 69 |....If y|ou are i|
|000054e0| 6e 74 65 6e 64 69 6e 67 | 20 74 6f 20 6d 61 6b 65 |ntending| to make|
|000054f0| 20 75 73 65 20 6f 66 20 | 62 6f 74 68 20 74 68 65 | use of |both the|
|00005500| 20 47 5f 45 56 41 4c 20 | 61 6e 64 20 47 5f 53 43 | G_EVAL |and G_SC|
|00005510| 41 4c 41 52 20 66 6c 61 | 67 73 20 69 6e 20 79 6f |ALAR fla|gs in yo|
|00005520| 75 72 20 63 6f 64 65 2c | 20 75 73 65 20 61 20 00 |ur code,| use a .|
|00005530| 00 8c 00 00 05 7c 00 00 | 00 88 fe 06 0f f7 c0 ff |.....|..|........|
|00005540| ef 25 c1 ff 20 22 00 f0 | 76 65 72 73 69 6f 6e 20 |.%.. "..|version |
|00005550| 6f 66 20 50 65 72 6c 20 | 67 72 65 61 74 65 72 20 |of Perl |greater |
|00005560| 74 68 61 6e 20 35 2e 30 | 30 30 2e 20 20 54 68 65 |than 5.0|00. The|
|00005570| 72 65 20 69 73 20 61 20 | 62 75 67 20 69 6e 20 76 |re is a |bug in v|
|00005580| 65 72 73 69 6f 6e 20 35 | 2e 30 30 30 20 6f 66 20 |ersion 5|.000 of |
|00005590| 50 65 72 6c 20 77 68 69 | 63 68 20 6d 65 61 6e 73 |Perl whi|ch means|
|000055a0| 20 74 68 61 74 20 74 68 | 65 20 00 00 00 7c 00 00 | that th|e ...|..|
|000055b0| a5 90 00 00 40 58 80 06 | e8 be c0 ff c8 ed c0 ff |....@X..|........|
|000055c0| 20 22 00 f0 63 6f 6d 62 | 69 6e 61 74 69 6f 6e 20 | "..comb|ination |
|000055d0| 6f 66 20 74 68 65 73 65 | 20 74 77 6f 20 66 6c 61 |of these| two fla|
|000055e0| 67 73 20 77 69 6c 6c 20 | 6e 6f 74 20 77 6f 72 6b |gs will |not work|
|000055f0| 20 61 73 20 64 65 73 63 | 72 69 62 65 64 20 69 6e | as desc|ribed in|
|00005600| 20 74 68 65 20 73 65 63 | 74 69 6f 6e 20 07 65 73 | the sec|tion .es|
|00005610| 11 a3 b9 00 13 a2 b9 00 | 11 a3 b9 00 00 00 00 00 |........|........|
|00005620| 46 4c 41 47 20 56 41 4c | 55 45 53 08 11 00 00 00 |FLAG VAL|UES.....|
|00005630| 13 a2 b9 00 00 00 00 00 | 2e 0d 00 00 00 90 00 00 |........|........|
|00005640| 85 bc 00 00 04 58 be 07 | 11 50 c0 ff f1 7e c0 ff |.....X..|.P...~..|
|00005650| 20 22 00 f0 12 72 6f 75 | 50 46 00 00 00 00 00 00 | "...rou|PF......|
|00005660| 12 20 62 65 70 17 00 00 | 00 00 00 00 53 70 65 63 |. bep...|....Spec|
|00005670| 69 66 69 63 61 6c 6c 79 | 2c 20 69 66 20 74 68 65 |ifically|, if the|
|00005680| 20 74 77 6f 20 66 6c 61 | 67 73 20 61 72 65 20 75 | two fla|gs are u|
|00005690| 73 65 64 20 77 68 65 6e | 20 63 61 6c 6c 69 6e 67 |sed when| calling|
|000056a0| 20 61 20 73 75 62 72 6f | 75 74 69 6e 65 20 61 6e | a subro|utine an|
|000056b0| 64 20 74 68 61 74 20 73 | 75 62 72 6f 75 74 69 6e |d that s|ubroutin|
|000056c0| 65 20 64 6f 65 73 20 6e | 6f 74 20 63 61 6c 6c 20 |e does n|ot call |
|000056d0| 07 61 6c 75 11 a4 b9 00 | 13 a2 b9 00 11 a4 b9 00 |.alu....|........|
|000056e0| 00 00 00 00 64 69 65 08 | 11 00 00 00 13 a2 b9 00 |....die.|........|
|000056f0| 00 00 00 00 2c 20 00 00 | 00 bc 00 00 a5 68 00 00 |...., ..|.....h..|
|00005700| 40 b8 8c 03 ea 17 c0 ff | ca 46 c0 ff 20 22 00 f0 |@.......|.F.. "..|
|00005710| 74 68 65 20 76 61 6c 75 | 65 20 72 65 74 75 72 6e |the valu|e return|
|00005720| 65 64 20 62 79 20 07 74 | 11 a5 b9 00 13 a2 b9 00 |ed by .t|........|
|00005730| 11 a5 b9 00 00 00 00 00 | 70 65 72 6c 5f 63 61 6c |........|perl_cal|
|00005740| 6c 5f 2a 08 11 00 00 00 | 13 a2 b9 00 00 00 00 00 |l_*.....|........|
|00005750| 20 77 69 6c 6c 20 62 65 | 20 77 72 6f 6e 67 2e 0d | will be| wrong..|
|00005760| 00 68 00 00 01 10 00 00 | 04 a4 5a 07 00 00 00 00 |.h......|..Z.....|
|00005770| 00 10 00 00 02 18 00 00 | d4 08 00 00 00 00 00 00 |........|........|
|00005780| 13 a2 b9 00 00 00 00 00 | 00 18 00 00 85 c0 00 00 |........|........|
|00005790| 04 a4 5a 07 0b 46 be ff | eb 74 be ff 20 22 00 f0 |..Z..F..|.t.. "..|
|000057a0| 16 00 00 00 b0 fc 07 00 | 00 00 00 00 12 20 69 73 |........|..... is|
|000057b0| e0 2e 00 00 00 00 00 00 | 32 12 20 77 70 17 00 00 |........|2. wp...|
|000057c0| 00 00 00 00 49 6e 20 50 | 65 72 6c 20 35 2e 30 30 |....In P|erl 5.00|
|000057d0| 30 20 61 6e 64 20 35 2e | 30 30 31 20 74 68 65 72 |0 and 5.|001 ther|
|000057e0| 65 20 69 73 20 61 20 70 | 72 6f 62 6c 65 6d 20 77 |e is a p|roblem w|
|000057f0| 69 74 68 20 75 73 69 6e | 67 20 07 6c 11 a6 b9 00 |ith usin|g .l....|
|00005800| 13 a2 b9 00 11 a6 b9 00 | 00 00 00 00 70 65 72 6c |........|....perl|
|00005810| 5f 63 61 6c 6c 5f 2a 08 | 11 00 00 00 13 a2 b9 00 |_call_*.|........|
|00005820| 00 00 00 00 20 69 66 20 | 74 68 65 20 50 65 72 6c |.... if |the Perl|
|00005830| 20 73 75 62 20 79 6f 75 | 20 61 72 65 20 63 61 6c | sub you| are cal|
|00005840| 6c 69 6e 67 20 00 00 00 | 00 c0 00 00 a5 50 00 00 |ling ...|.....P..|
|00005850| 40 e8 94 01 e4 0d be ff | c4 3c be ff 20 22 00 f0 |@.......|.<.. "..|
|00005860| 61 74 74 65 6d 70 74 73 | 20 74 6f 20 74 72 61 70 |attempts| to trap|
|00005870| 20 61 20 07 11 a7 b9 00 | 13 a2 b9 00 11 a7 b9 00 | a .....|........|
|00005880| 00 00 00 00 64 69 65 08 | 11 00 00 00 13 a2 b9 00 |....die.|........|
|00005890| 00 00 00 00 2e 0d 00 00 | 00 50 00 00 05 98 00 00 |........|.P......|
|000058a0| 04 7c b8 07 0d 9f bd ff | ed cd bd ff 20 22 00 f0 |.|......|.... "..|
|000058b0| 12 65 20 50 50 46 00 00 | 00 00 00 00 12 2e 0d 07 |.e PPF..|........|
|000058c0| 70 17 00 00 00 00 00 00 | 54 68 65 20 73 79 6d 70 |p.......|The symp|
|000058d0| 74 6f 6d 20 6f 66 20 74 | 68 69 73 20 70 72 6f 62 |tom of t|his prob|
|000058e0| 6c 65 6d 20 69 73 20 74 | 68 61 74 20 74 68 65 20 |lem is t|hat the |
|000058f0| 63 61 6c 6c 65 64 20 50 | 65 72 6c 20 73 75 62 20 |called P|erl sub |
|00005900| 77 69 6c 6c 20 63 6f 6e | 74 69 6e 75 65 20 74 6f |will con|tinue to|
|00005910| 20 63 6f 6d 70 6c 65 74 | 69 6f 6e 2c 20 62 75 74 | complet|ion, but|
|00005920| 20 77 68 65 6e 65 76 65 | 72 20 69 74 20 00 00 00 | wheneve|r it ...|
|00005930| 00 98 00 00 25 6c 00 00 | 40 a0 2c 06 e6 66 bd ff |....%l..|@.,..f..|
|00005940| c6 95 bd ff 20 22 00 f0 | 61 74 74 65 6d 70 74 73 |.... "..|attempts|
|00005950| 20 74 6f 20 70 61 73 73 | 20 63 6f 6e 74 72 6f 6c | to pass| control|
|00005960| 20 62 61 63 6b 20 74 6f | 20 74 68 65 20 58 53 55 | back to| the XSU|
|00005970| 42 2c 20 74 68 65 20 70 | 72 6f 67 72 61 6d 20 77 |B, the p|rogram w|
|00005980| 69 6c 6c 20 69 6d 6d 65 | 64 69 61 74 65 6c 79 20 |ill imme|diately |
|00005990| 74 65 72 6d 69 6e 61 74 | 65 2e 0d 00 00 6c 00 00 |terminat|e....l..|
|000059a0| a5 8c 00 00 44 4c cb 03 | 0f f8 bc ff ef 26 bd ff |....DL..|.....&..|
|000059b0| 20 22 00 f0 12 74 20 72 | 50 46 00 00 00 00 00 00 | "...t r|PF......|
|000059c0| 12 6d 20 61 70 17 00 00 | 00 00 00 00 46 6f 72 20 |.m ap...|....For |
|000059d0| 65 78 61 6d 70 6c 65 2c | 20 73 61 79 20 79 6f 75 |example,| say you|
|000059e0| 20 77 61 6e 74 20 74 6f | 20 63 61 6c 6c 20 74 68 | want to| call th|
|000059f0| 69 73 20 50 65 72 6c 20 | 73 75 62 0d 07 69 6e 64 |is Perl |sub..ind|
|00005a00| 12 a8 b9 00 13 a2 b9 00 | 12 a8 b9 00 00 00 00 00 |........|........|
|00005a10| 07 6f 20 74 0c a9 b9 00 | 13 a2 b9 00 12 a8 b9 00 |.o t....|........|
|00005a20| 0c a9 b9 00 00 00 00 00 | 00 8c 00 00 25 24 00 00 |........|....%$..|
|00005a30| 40 80 bb 00 08 91 bc ff | 18 b8 bc ff 70 1a 00 f0 |@.......|....p...|
|00005a40| 73 75 62 20 66 72 65 64 | 0d 00 00 00 00 24 00 00 |sub fred|.....$..|
|00005a50| 25 1c 00 00 40 70 17 00 | 28 62 bc ff 38 89 bc ff |%...@p..|(b..8...|
|00005a60| 70 1a 00 f0 7b 0d 00 00 | 00 1c 00 00 25 3c 00 00 |p...{...|....%<..|
|00005a70| 40 00 ee 02 48 33 bc ff | 58 5a bc ff 70 1a 00 f0 |@...H3..|XZ..p...|
|00005a80| 20 20 20 20 65 76 61 6c | 20 7b 20 64 69 65 20 22 | eval| { die "|
|00005a90| 46 61 74 61 6c 20 45 72 | 72 6f 72 22 20 3b 20 7d |Fatal Er|ror" ; }|
|00005aa0| 0d 00 00 00 00 3c 00 00 | 25 38 00 00 40 90 d6 02 |.....<..|%8..@...|
|00005ab0| 68 04 bc ff 78 2b bc ff | 70 1a 00 f0 20 20 20 20 |h...x+..|p... |
|00005ac0| 70 72 69 6e 74 20 22 54 | 72 61 70 70 65 64 20 65 |print "T|rapped e|
|00005ad0| 72 72 6f 72 3a 20 24 40 | 5c 6e 22 0d 00 38 00 00 |rror: $@|\n"..8..|
|00005ae0| 25 28 00 00 40 90 5f 01 | 88 d5 bb ff 98 fc bb ff |%(..@._.|........|
|00005af0| 70 1a 00 f0 20 20 20 20 | 20 20 20 20 69 66 20 24 |p... | if $|
|00005b00| 40 20 3b 0d 00 28 00 00 | a5 50 00 00 40 70 17 00 |@ ;..(..|.P..@p..|
|00005b10| a8 a6 bb ff b8 cd bb ff | 70 1a 00 f0 7d 0d 08 20 |........|p...}.. |
|00005b20| 0c aa b9 00 13 a2 b9 00 | 12 a8 b9 00 00 00 00 00 |........|........|
|00005b30| 08 65 6c 66 12 00 00 00 | 13 a2 b9 00 00 00 00 00 |.elf....|........|
|00005b40| 07 6e 20 07 18 ab b9 00 | 13 a2 b9 00 18 ab b9 00 |.n .....|........|
|00005b50| 00 00 00 00 00 50 00 00 | a5 28 00 00 40 00 00 00 |.....P..|.(..@...|
|00005b60| 18 92 bb ff d8 9e bb ff | 00 00 00 f0 0d 08 69 76 |........|......iv|
|00005b70| 18 ac b9 00 13 a2 b9 00 | 00 00 00 00 00 28 00 00 |........|.....(..|
|00005b80| a5 68 00 00 44 38 6f 01 | 48 39 bb ff 28 68 bb ff |.h..D8o.|H9..(h..|
|00005b90| 20 22 00 f0 12 20 74 65 | 50 46 00 00 00 00 00 00 | "... te|PF......|
|00005ba0| 12 20 65 78 70 17 00 00 | 00 00 00 00 76 69 61 20 |. exp...|....via |
|00005bb0| 74 68 69 73 20 58 53 55 | 42 0d 07 6e 12 ad b9 00 |this XSU|B..n....|
|00005bc0| 13 a2 b9 00 12 ad b9 00 | 00 00 00 00 07 73 69 6e |........|.....sin|
|00005bd0| 0c ae b9 00 13 a2 b9 00 | 12 ad b9 00 0c ae b9 00 |........|........|
|00005be0| 00 00 00 00 00 68 00 00 | 25 20 00 00 40 c0 5d 00 |.....h..|% ..@.].|
|00005bf0| 41 d2 ba ff 51 f9 ba ff | 70 1a 00 f0 76 6f 69 64 |A...Q...|p...void|
|00005c00| 0d 00 00 00 00 20 00 00 | 25 24 00 00 40 d0 01 01 |..... ..|%$..@...|
|00005c10| 61 a3 ba ff 71 ca ba ff | 70 1a 00 f0 43 61 6c 6c |a...q...|p...Call|
|00005c20| 5f 66 72 65 64 28 29 0d | 00 24 00 00 25 24 00 00 |_fred().|.$..%$..|
|00005c30| 40 f0 d2 00 81 74 ba ff | 91 9b ba ff 70 1a 00 f0 |@....t..|....p...|
|00005c40| 20 20 20 20 43 4f 44 45 | 3a 0d 00 00 00 24 00 00 | CODE|:....$..|
|00005c50| 25 2c 00 00 40 e0 a5 01 | a1 45 ba ff b1 6c ba ff |%,..@...|.E...l..|
|00005c60| 70 1a 00 f0 20 20 20 20 | 50 55 53 48 4d 41 52 4b |p... |PUSHMARK|
|00005c70| 28 73 70 29 20 3b 0d 00 | 00 2c 00 00 25 48 00 00 |(sp) ;..|.,..%H..|
|00005c80| 40 20 36 04 c1 16 ba ff | d1 3d ba ff 70 1a 00 f0 |@ 6.....|.=..p...|
|00005c90| 20 20 20 20 70 65 72 6c | 5f 63 61 6c 6c 5f 70 76 | perl|_call_pv|
|00005ca0| 28 22 66 72 65 64 22 2c | 20 47 5f 44 49 53 43 41 |("fred",| G_DISCA|
|00005cb0| 52 44 7c 47 5f 4e 4f 41 | 52 47 53 29 20 3b 0d 00 |RD|G_NOA|RGS) ;..|
|00005cc0| 00 48 00 00 a5 7c 00 00 | 40 40 07 04 e1 e7 b9 ff |.H...|..|@@......|
|00005cd0| f1 0e ba ff 70 1a 00 f0 | 20 20 20 20 66 70 72 69 |....p...| fpri|
|00005ce0| 6e 74 66 28 73 74 64 65 | 72 72 2c 20 22 62 61 63 |ntf(stde|rr, "bac|
|00005cf0| 6b 20 69 6e 20 43 61 6c | 6c 5f 66 72 65 64 5c 6e |k in Cal|l_fred\n|
|00005d00| 22 29 20 3b 0d 08 68 61 | 0c af b9 00 13 a2 b9 00 |") ;..ha|........|
|00005d10| 12 ad b9 00 00 00 00 00 | 08 74 6f 20 12 00 00 00 |........|.to ....|
|00005d20| 13 a2 b9 00 00 00 00 00 | 07 74 68 65 18 b0 b9 00 |........|.the....|
|00005d30| 13 a2 b9 00 18 b0 b9 00 | 00 00 00 00 00 7c 00 00 |........|.....|..|
|00005d40| a5 28 00 00 40 00 00 00 | 51 d3 b9 ff 11 e0 b9 ff |.(..@...|Q.......|
|00005d50| 00 00 00 f0 0d 08 61 72 | 18 b1 b9 00 13 a2 b9 00 |......ar|........|
|00005d60| 00 00 00 00 00 28 00 00 | a5 a4 00 00 44 88 92 03 |.....(..|....D...|
|00005d70| 81 7a b9 ff 61 a9 b9 ff | 20 22 00 f0 12 61 6e 20 |.z..a...| "...an |
|00005d80| 50 46 00 00 00 00 00 00 | 12 74 20 6f 70 17 00 00 |PF......|.t op...|
|00005d90| 00 00 00 00 57 68 65 6e | 20 07 69 6e 0e b2 b9 00 |....When| .in....|
|00005da0| 13 a2 b9 00 0e b2 b9 00 | 00 00 00 00 43 61 6c 6c |........|....Call|
|00005db0| 5f 66 72 65 64 08 66 66 | 0e b3 b9 00 13 a2 b9 00 |_fred.ff|........|
|00005dc0| 00 00 00 00 20 69 73 20 | 65 78 65 63 75 74 65 64 |.... is |executed|
|00005dd0| 20 69 74 20 77 69 6c 6c | 20 70 72 69 6e 74 0d 07 | it will| print..|
|00005de0| 12 b4 b9 00 13 a2 b9 00 | 12 b4 b9 00 00 00 00 00 |........|........|
|00005df0| 07 79 20 66 0c b5 b9 00 | 13 a2 b9 00 12 b4 b9 00 |.y f....|........|
|00005e00| 0c b5 b9 00 00 00 00 00 | 00 a4 00 00 a5 68 00 00 |........|.....h..|
|00005e10| 40 60 61 02 7a 13 b9 ff | 8a 3a b9 ff 70 1a 00 f0 |@`a.z...|.:..p...|
|00005e20| 54 72 61 70 70 65 64 20 | 65 72 72 6f 72 3a 20 46 |Trapped |error: F|
|00005e30| 61 74 61 6c 20 45 72 72 | 6f 72 0d 08 0c b6 b9 00 |atal Err|or......|
|00005e40| 13 a2 b9 00 12 b4 b9 00 | 00 00 00 00 08 74 66 6f |........|.....tfo|
|00005e50| 12 00 00 00 13 a2 b9 00 | 00 00 00 00 07 75 6c 64 |........|.....uld|
|00005e60| 18 b7 b9 00 13 a2 b9 00 | 18 b7 b9 00 00 00 00 00 |........|........|
|00005e70| 00 68 00 00 a5 28 00 00 | 40 00 00 00 ea fe b8 ff |.h...(..|@.......|
|00005e80| aa 0b b9 ff 00 00 00 f0 | 0d 08 20 64 18 b8 b9 00 |........|.. d....|
|00005e90| 13 a2 b9 00 00 00 00 00 | 00 28 00 00 a5 d0 00 00 |........|.(......|
|00005ea0| 44 ec c3 07 1a a6 b8 ff | fa d4 b8 ff 20 22 00 f0 |D.......|.... "..|
|00005eb0| 12 69 73 20 50 46 00 00 | 00 00 00 00 12 20 69 66 |.is PF..|..... if|
|00005ec0| 70 17 00 00 00 00 00 00 | 41 73 20 63 6f 6e 74 72 |p.......|As contr|
|00005ed0| 6f 6c 20 6e 65 76 65 72 | 20 72 65 74 75 72 6e 73 |ol never| returns|
|00005ee0| 20 74 6f 20 07 2c 20 69 | 0e b9 b9 00 13 a2 b9 00 | to ., i|........|
|00005ef0| 0e b9 b9 00 00 00 00 00 | 43 61 6c 6c 5f 66 72 65 |........|Call_fre|
|00005f00| 64 08 65 20 0e ba b9 00 | 13 a2 b9 00 00 00 00 00 |d.e ....|........|
|00005f10| 2c 20 74 68 65 20 07 74 | 0e bb b9 00 13 a2 b9 00 |, the .t|........|
|00005f20| 0e bb b9 00 00 00 00 00 | 22 62 61 63 6b 20 69 6e |........|"back in|
|00005f30| 20 43 61 6c 6c 5f 66 72 | 65 64 22 08 0e bc b9 00 | Call_fr|ed".....|
|00005f40| 13 a2 b9 00 00 00 00 00 | 20 73 74 72 69 6e 67 20 |........| string |
|00005f50| 77 69 6c 6c 20 6e 6f 74 | 20 67 65 74 20 70 72 69 |will not| get pri|
|00005f60| 6e 74 65 64 2e 0d 00 00 | 00 d0 00 00 05 94 00 00 |nted....|........|
|00005f70| 04 0c d1 07 43 37 b8 ff | 23 66 b8 ff 20 22 00 f0 |....C7..|#f.. "..|
|00005f80| 12 75 62 72 50 46 00 00 | 00 00 00 00 12 75 20 68 |.ubrPF..|.....u h|
|00005f90| 70 17 00 00 00 00 00 00 | 54 6f 20 77 6f 72 6b 20 |p.......|To work |
|00005fa0| 61 72 6f 75 6e 64 20 74 | 68 69 73 20 70 72 6f 62 |around t|his prob|
|00005fb0| 6c 65 6d 2c 20 79 6f 75 | 20 63 61 6e 20 65 69 74 |lem, you| can eit|
|00005fc0| 68 65 72 20 75 70 67 72 | 61 64 65 20 74 6f 20 50 |her upgr|ade to P|
|00005fd0| 65 72 6c 20 35 2e 30 30 | 32 20 6f 72 20 68 69 67 |erl 5.00|2 or hig|
|00005fe0| 68 65 72 2c 20 6f 72 20 | 75 73 65 20 74 68 65 20 |her, or |use the |
|00005ff0| 47 5f 45 56 41 4c 20 66 | 6c 61 67 20 00 94 00 00 |G_EVAL f|lag ....|
|00006000| a5 84 00 00 40 5c 6e 02 | 1c ff b7 ff fc 2d b8 ff |....@\n.|.....-..|
|00006010| 20 22 00 f0 77 69 74 68 | 20 07 6e 67 11 bd b9 00 | "..with| .ng....|
|00006020| 13 a2 b9 00 11 bd b9 00 | 00 00 00 00 70 65 72 6c |........|....perl|
|00006030| 5f 63 61 6c 6c 5f 2a 08 | 11 00 00 00 13 a2 b9 00 |_call_*.|........|
|00006040| 00 00 00 00 20 61 73 20 | 73 68 6f 77 6e 20 62 65 |.... as |shown be|
|00006050| 6c 6f 77 0d 07 65 6c 66 | 12 be b9 00 13 a2 b9 00 |low..elf|........|
|00006060| 12 be b9 00 00 00 00 00 | 07 20 61 6e 0c bf b9 00 |........|. an....|
|00006070| 13 a2 b9 00 12 be b9 00 | 0c bf b9 00 00 00 00 00 |........|........|
|00006080| 00 84 00 00 25 20 00 00 | 40 c0 5d 00 15 98 b7 ff |....% ..|@.].....|
|00006090| 25 bf b7 ff 70 1a 00 f0 | 76 6f 69 64 0d 00 00 00 |%...p...|void....|
|000060a0| 00 20 00 00 25 24 00 00 | 40 d0 01 01 35 69 b7 ff |. ..%$..|@...5i..|
|000060b0| 45 90 b7 ff 70 1a 00 f0 | 43 61 6c 6c 5f 66 72 65 |E...p...|Call_fre|
|000060c0| 64 28 29 0d 00 24 00 00 | 25 24 00 00 40 f0 d2 00 |d()..$..|%$..@...|
|000060d0| 55 3a b7 ff 65 61 b7 ff | 70 1a 00 f0 20 20 20 20 |U:..ea..|p... |
|000060e0| 43 4f 44 45 3a 0d 00 00 | 00 24 00 00 25 2c 00 00 |CODE:...|.$..%,..|
|000060f0| 40 e0 a5 01 75 0b b7 ff | 85 32 b7 ff 70 1a 00 f0 |@...u...|.2..p...|
|00006100| 20 20 20 20 50 55 53 48 | 4d 41 52 4b 28 73 70 29 | PUSH|MARK(sp)|
|00006110| 20 3b 0d 00 00 2c 00 00 | 25 50 00 00 40 30 da 04 | ;...,..|%P..@0..|
|00006120| 95 dc b6 ff a5 03 b7 ff | 70 1a 00 f0 20 20 20 20 |........|p... |
|00006130| 70 65 72 6c 5f 63 61 6c | 6c 5f 70 76 28 22 66 72 |perl_cal|l_pv("fr|
|00006140| 65 64 22 2c 20 47 5f 45 | 56 41 4c 7c 47 5f 44 49 |ed", G_E|VAL|G_DI|
|00006150| 53 43 41 52 44 7c 47 5f | 4e 4f 41 52 47 53 29 20 |SCARD|G_|NOARGS) |
|00006160| 3b 0d 00 00 00 50 00 00 | a5 7c 00 00 40 40 07 04 |;....P..|.|..@@..|
|00006170| b5 ad b6 ff c5 d4 b6 ff | 70 1a 00 f0 20 20 20 20 |........|p... |
|00006180| 66 70 72 69 6e 74 66 28 | 73 74 64 65 72 72 2c 20 |fprintf(|stderr, |
|00006190| 22 62 61 63 6b 20 69 6e | 20 43 61 6c 6c 5f 66 72 |"back in| Call_fr|
|000061a0| 65 64 5c 6e 22 29 20 3b | 0d 08 00 00 0c c0 b9 00 |ed\n") ;|........|
|000061b0| 13 a2 b9 00 12 be b9 00 | 00 00 00 00 08 4d b9 00 |........|.....M..|
|000061c0| 12 00 00 00 13 a2 b9 00 | 00 00 00 00 07 00 00 00 |........|........|
|000061d0| 18 c1 b9 00 13 a2 b9 00 | 18 c1 b9 00 00 00 00 00 |........|........|
|000061e0| 00 7c 00 00 a5 44 00 00 | 40 00 00 00 25 99 b6 ff |.|...D..|@...%...|
|000061f0| e5 a5 b6 ff 00 00 00 f0 | 0d 08 70 72 18 c2 b9 00 |........|..pr....|
|00006200| 13 a2 b9 00 00 00 00 00 | 08 50 b9 00 13 c3 b9 00 |........|.P......|
|00006210| 00 00 00 00 07 51 b9 00 | 08 c4 b9 00 08 c4 b9 00 |.....Q..|........|
|00006220| 00 00 00 00 00 44 00 00 | a5 2c 00 00 40 ac 34 01 |.....D..|.,..@.4.|
|00006230| e5 28 b6 ff 35 6f b6 ff | 68 37 00 f0 45 78 61 6d |.(..5o..|h7..Exam|
|00006240| 70 6c 65 73 0d 08 05 05 | 08 c5 b9 00 00 00 00 00 |ples....|........|
|00006250| 00 2c 00 00 25 54 00 00 | 40 d8 1d 04 84 d0 b5 ff |.,..%T..|@.......|
|00006260| 64 ff b5 ff 20 22 00 f0 | 45 6e 6f 75 67 68 20 6f |d... "..|Enough o|
|00006270| 66 20 74 68 65 20 64 65 | 66 69 6e 69 74 69 6f 6e |f the de|finition|
|00006280| 20 74 61 6c 6b 2c 20 6c | 65 74 27 73 20 68 61 76 | talk, l|et's hav|
|00006290| 65 20 61 20 66 65 77 20 | 65 78 61 6d 70 6c 65 73 |e a few |examples|
|000062a0| 2e 0d 00 00 00 54 00 00 | 05 80 00 00 00 48 a1 07 |.....T..|.....H..|
|000062b0| ad 61 b5 ff 8d 90 b5 ff | 20 22 00 f0 50 65 72 6c |.a......| "..Perl|
|000062c0| 20 70 72 6f 76 69 64 65 | 73 20 6d 61 6e 79 20 6d | provide|s many m|
|000062d0| 61 63 72 6f 73 20 74 6f | 20 61 73 73 69 73 74 20 |acros to| assist |
|000062e0| 69 6e 20 61 63 63 65 73 | 73 69 6e 67 20 74 68 65 |in acces|sing the|
|000062f0| 20 50 65 72 6c 20 73 74 | 61 63 6b 2e 20 57 68 65 | Perl st|ack. Whe|
|00006300| 72 65 76 65 72 20 70 6f | 73 73 69 62 6c 65 2c 20 |rever po|ssible, |
|00006310| 74 68 65 73 65 20 6d 61 | 63 72 6f 73 20 73 68 6f |these ma|cros sho|
|00006320| 75 6c 64 20 00 80 00 00 | 05 88 00 00 00 b8 f4 07 |uld ....|........|
|00006330| 86 29 b5 ff 66 58 b5 ff | 20 22 00 f0 61 6c 77 61 |.)..fX..| "..alwa|
|00006340| 79 73 20 62 65 20 75 73 | 65 64 20 77 68 65 6e 20 |ys be us|ed when |
|00006350| 69 6e 74 65 72 66 61 63 | 69 6e 67 20 74 6f 20 50 |interfac|ing to P|
|00006360| 65 72 6c 20 69 6e 74 65 | 72 6e 61 6c 73 2e 20 20 |erl inte|rnals. |
|00006370| 57 65 20 68 6f 70 65 20 | 74 68 69 73 20 73 68 6f |We hope |this sho|
|00006380| 75 6c 64 20 6d 61 6b 65 | 20 74 68 65 20 63 6f 64 |uld make| the cod|
|00006390| 65 20 6c 65 73 73 20 76 | 75 6c 6e 65 72 61 62 6c |e less v|ulnerabl|
|000063a0| 65 20 74 6f 20 61 6e 79 | 20 00 00 00 00 88 00 00 |e to any| .......|
|000063b0| 25 3c 00 00 40 38 8c 02 | 5f f1 b4 ff 3f 20 b5 ff |%<..@8..|_...? ..|
|000063c0| 20 22 00 f0 63 68 61 6e | 67 65 73 20 6d 61 64 65 | "..chan|ges made|
|000063d0| 20 74 6f 20 50 65 72 6c | 20 69 6e 20 74 68 65 20 | to Perl| in the |
|000063e0| 66 75 74 75 72 65 2e 0d | 00 3c 00 00 85 a0 00 00 |future..|.<......|
|000063f0| 00 3c bc 07 88 82 b4 ff | 68 b1 b4 ff 20 22 00 f0 |.<......|h... "..|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.