logo       

Re: $m->callers() dies with argument greater than or equal to stack depth: msg#00217

web.mason.user

Subject: Re: $m->callers() dies with argument greater than or equal to stack depth

On Tue, 26 Aug 2003, Sherrard Burton wrote:

> calling $m->callers() with an argument that is greater than one less
> than the stack depth produces an error. for example, calling
> $m->callers(2) from a component that is only two components deep (called
> from the autohandler) dies with "Can't use an undefined value as a HASH
> reference at /usr/lib/perl5/site_perl/5.6.1/HTML/Mason/Request.pm line
> 767."

The caller_args method also has the same bug. This will be fixed in the
next release.


-dave

/*=======================
House Absolute Consulting
www.houseabsolute.com
=======================*/


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise