On Tuesday 15 May 2007 9:28 am, Charlie Katz wrote:
> Would it still be helpful for me to try to put together a simple test case?
>  I think it's going to look more or less like this:
>
>   use Devel::StackTrace;
>
>   my $obj = {};
>   bless $obj, 'This::Class::Does::Not::Exist';
>   sub dumpstack {
>     my $obj = shift;
>     my $tr = Devel::StackTrace->new;
>     print $tr->as_string;
>   }
>   dumpstack($obj);
>
> which, when run, gives
>
> % st.pl
> Trace begun at st.pl line 12
> main::dumpstack('This::Class::Does::Not::Exist=HASH(0x814bc28)') called at
> st.pl line 17

Oops, I just realized this doesn't demonstrate anything.  Ignore that part of 
my last message, and we'll get back to the test case as needed.  :-)  Sorry.

-Charlie

-- 
Charlie Katz
Harvard-Smithsonian Center for Astrophysics
[EMAIL PROTECTED]

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Mason-users mailing list
Mason-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mason-users

Reply via email to