Re: $escmode in libraries

2005-03-21 Thread Angus Lees
At Fri, 18 Mar 2005 09:23:47 -0800, Daniel wrote: > On Fri, Mar 18, 2005 at 09:00:16AM +1100, Angus Lees wrote: > > [$ sub dump $] > > [# may want to shift first arg here if invoking as $epreq->dump(...) #] > > [- require Data::Dumper -] > > [+ Data::Dumper::Dumper(@_) +] > > [$ endsub $] > > > >

Re: $escmode in libraries

2005-03-18 Thread Daniel
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

Re: $escmode in libraries

2005-03-18 Thread Angus Lees
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

RE: $escmode in libraries

2005-03-17 Thread Andrew O'Brien
> From: Luiz Fernando B. Ribeiro [mailto:[EMAIL PROTECTED] > > On Wed, 16 Mar 2005 20:58:37 -0800, Daniel > <[EMAIL PROTECTED]> 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. > > > In fa

Re: $escmode in libraries

2005-03-17 Thread Luiz Fernando B. Ribeiro
On Wed, 16 Mar 2005 20:58:37 -0800, Daniel <[EMAIL PROTECTED]> 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. In fact I wrote a module using Data::Dumper that writes variables and traceback information

Re: $escmode in libraries

2005-03-16 Thread Daniel
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. db On Thu, Mar 17, 2005 at 01:08:23AM -0300, Luiz Fernando B. Ribeiro wrote: > On Wed, 16 Mar 2005 17:45:59 -0800, Daniel <[EMAIL PROTECTED]> wrote: > > >Did anyo

Re: $escmode in libraries

2005-03-16 Thread Luiz Fernando B. Ribeiro
On Wed, 16 Mar 2005 17:45:59 -0800, Daniel <[EMAIL PROTECTED]> wrote: Did anyone have a suggestion for this? On Tue, Mar 15, 2005 at 09:14:08AM -0800, Daniel wrote: Hi, I tried using $escmode in a library today, which didn't seem to work. I wrote this for debugging purposes: sub p { use Data::Dumpe

Re: $escmode in libraries

2005-03-16 Thread Daniel
Did anyone have a suggestion for this? On Tue, Mar 15, 2005 at 09:14:08AM -0800, Daniel wrote: > Hi, > > I tried using $escmode in a library today, which didn't seem to work. > > > I wrote this for debugging purposes: > > sub p { use Data::Dumper; > local $escmode=0; > print OUT "\"; >