in reply to Making & Recalling Globals

Why not simply return the values, instead of assigning them to some global data structure?

Global data makes programs hard to understand, debug and reuse, and should be avoided when possible.

Perl 6 - links to (nearly) everything that is Perl 6.

Replies are listed 'Best First'.
Re^2: Making & Recalling Globals
by Anonymous Monk on Sep 22, 2010 at 20:37 UTC
    Only because I don't know how I would return the dynamic values 'through' a script into the template.