perl-embperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel <embp...@7thfire.com>
Subject Re: $escmode in libraries
Date Fri, 18 Mar 2005 17:23:47 GMT
On Fri, Mar 18, 2005 at 09:00:16AM +1100, Angus Lees wrote:
> At Wed, 16 Mar 2005 20:58:37 -0800, Daniel  wrote:
> > Is this what you use? I'm a little curious what others do to easily see
> > what variables contain. Maybe there's a good way I'm missing.
> 
> I usually have an Embperl sub like this declared somewhere (eg in _base.epl):
> 
> [$ sub dump $]
> [# may want to shift first arg here if invoking as $epreq->dump(...) #]
> [- require Data::Dumper -]
> <pre>[+ Data::Dumper::Dumper(@_) +]</pre>
> [$ endsub $]
> 
> and I just call that from my embperl pages.  Debugging from within
> perl libraries I tend to do offline, or just by dumping to stderr
> (using warn()) - which turns up in the apache logs.


Hi Gus,

And you're calling this with an Execute?

d

> 
> -- 
>  - Gus
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
> For additional commands, e-mail: embperl-help@perl.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org


Mime
View raw message