Re: [Templates] One more (hopefully the last this week :-)

[prev] [thread] [next] [Date index for 2004/07/22]

From: Roderick A. Anderson
Subject: Re: [Templates] One more (hopefully the last this week :-)
Date: 20:16 on 22 Jul 2004
On Wed, 21 Jul 2004, Mark Fowler wrote:

> What you really want to know in TT is a way of seeing every variable that
> is defined in the stash at all.  I can't think of an easy way to do this
> within TT.  You're not the first person to ask for this either (Tom Insam
> asked about this a few months back iirc.)

Mark and Mark,

Yes this is what I'm looking for.

> >From Perl space, this is fairly simply of course:
> 
>   # dump out what we've about to pass in
>   use Data::Dumper;
>   print STDERR Dumper(\%SUI);  # print to the apache log everything

My data structure is to simplistic for Data::Dumper.  I wrote a simple sub
that prints where it was called from or some passed string then the keys
and contents of the SUI hash.

I found my stupid logic error and am now in the process of fixing it.  
This little project has suffered from creeping feature-isms and I had not
generalized the process enough so I'm re-writing several of the processes.  

I am giving it a near death-march rating.


TIA,
Rod
        -- 
            "Open Source Software - You usually get more than you pay for..."
     "Build A Brighter Lamp :: Linux Apache {middleware} PostgreSQL"



_______________________________________________
templates mailing list
templates@xxxxxxxxxxxxxxxx.xxx
http://lists.template-toolkit.org/mailman/listinfo/templates

[Templates] One more (hopefully the last this week :-)
Roderick A. Anderson 00:50 on 21 Jul 2004

Re: [Templates] One more (hopefully the last this week :-)
Darren Chamberlain 00:56 on 21 Jul 2004

Re: [Templates] One more (hopefully the last this week :-)
Roderick A. Anderson 01:19 on 21 Jul 2004

Re: [Templates] One more (hopefully the last this week :-)
Roderick A. Anderson 20:16 on 22 Jul 2004

RE: [Templates] One more (hopefully the last this week :-)
Thomas, Mark - BLS CTR 12:44 on 21 Jul 2004

Generated at 08:56 on 15 Mar 2005 by mariachi v0.52