david nicol bkjvldjdbmgmailcom nov 9 2007 1149 nicholas clark wrote wed sep 19 2007 023153pm 0200 rafael garciasuarez wrote 19092007 dintelmann peter state fh open fh file die global symbol fh requires explicit package name ah yes course larry state propagate semantics outward explicit equals one possible thing change visibility semantics state unlike local possibly mask something available unmasked rhs state would open state fh filespecifier die open filespecifier currently unworkable state propagate semantics meant onetime initialization trick outward state fh open fh filespecifier die open filespecifier could made work adjusting operating semantics visibility semantics state variable becomes visible immediately rather end expression except _is_ visibility semantics c except case explicit equals isnt 2 testing visibility implicit lvalue situation cygwin 587 perl le sub inc2_0_11r5inc2my r r print r 6 uh isnt see visibility variables lvalue contexts deferred matter lvalue explicit equals explicit equals situation appears matter usual usage rather language semantics nothing different r r sub assign_0_1 assign rr besides course creation destruction additional stack frame therefore explicit equals thing would new thing departure assignment operator operators function calls infix parsing visibility semantics state changed visibility semantcs perl le sub inc2_0_11r5inc2state r r print r would give 1 rather 6 second argument inc2 would state r rather package r state fh open fh filespecifier die open filespecifier would work intended although might better make shortcircuit correctly awkward open state fh filespecifier die open filespecifier clearly comfortable could made work defining granularity gets put start block entire expression containing state declaration term ive imagining state declarations things become variable declarations followed initializations state r 5 turns r 0 init r 5 making happen level expression rather something magical equals sign assignment operator defines edge corner cases open state fh filespecifier die open filespecifier becomes fh 0 init open fh filespecifier die open filespecifier ideally init replaced sub oncemy x 0xcaller _0 one per line code thu 07 aug 2008 200608 0600 state vars init handle