Re: Text::Template and passing in variables; going bug nuts!

2001-01-26 Thread T.J. Mather
Maybe I'm missing something here, but can't you just use use strict; use vars qw(%config %session); or better yet, fully qualify your variables %MyApp::Framework::config; %MyApp::Framework::session; The mod_perl guide has excellent sections on this:

Re: Text::Template and passing in variables; going bug nuts!

2001-01-26 Thread Perrin Harkins
Where I'm getting hosed is that %config and %session have data I need visible to the Text::Template objects themselves. I've RTFM'ed until my eyes are pink, and I see no options short of copying variables wholesale into another Package, but then I still can't get at them and "use strict"