> Is there someway to get the line number of
> whence a subroutine was called?

Yes, but 9/10 ten people use Carp.pm, the
other 1 respondant was an assembly language
programmer.

perldoc Carp

Carp is implemented using 'caller', which
you can find documentation about at:

perldoc -f caller

If you need to do something when you die,
try using the 'Religion' module from CPAN :)

Jonathan Paton

__________________________________________________
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.com

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to