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
I am atheist so I don't believe in the Religion Module.
8^P
PS you're right... should have used Carp.
-Original Message-
From: Jonathan E. Paton [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 23, 2002 1:24 PM
To: [EMAIL PROTECTED]
Subject: Re: Line number of whence called
, April 23, 2002 10:29 AM
To: 'Jonathan E. Paton'
Cc: Beginners (E-mail)
Subject: RE: Line number of whence called
I am atheist so I don't believe in the Religion Module.
8^P
PS you're right... should have used Carp.
-Original Message-
From: Jonathan E. Paton [mailto:[EMAIL PROTECTED