I'm looking for a way to get the line number of the most recent caller
similar to perl's caller() sub:
my ($package, $filename, $line) = caller;
I tried to hackishly get the line number via
$m->caller->interp->compiler->lexer->line_number() but that (of
course) does not seem to work. Do any of you know of any other ways
to get the line number the current_comp was called from its caller
without resulting to creating a perl module to call instead? Thanks
in advance.
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Mason-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mason-users